Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 215 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8402/0.8402, allocations: 134 MB / 447.2 MB, free: 10.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 59.16 kB / 0.6193 GB, free: 7.156 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1817, allocations: 85.91 MB / 0.7032 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6578/0.8395, allocations: 225.4 MB / 0.9234 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.8499, allocations: 5.747 MB / 0.929 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.8515, allocations: 55.5 kB / 0.929 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.8532, allocations: 0.6059 MB / 0.9296 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005414/0.8586, allocations: 1.941 MB / 0.9315 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.8621, allocations: 1.243 MB / 0.9327 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004487/0.8666, allocations: 3.022 MB / 0.9357 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.8679, allocations: 0.7775 MB / 0.9365 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.8702, allocations: 1.133 MB / 0.9376 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.8727, allocations: 1.004 MB / 0.9385 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.8729, allocations: 112 kB / 0.9387 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/0.8761, allocations: 1.547 MB / 0.9402 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005354/0.8767, allocations: 478.5 kB / 0.9406 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0008763/0.8775, allocations: 0.6417 MB / 0.9412 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.8811, allocations: 2.145 MB / 0.9433 GB, free: 464 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.8811, allocations: 4 kB / 0.9433 GB, free: 460 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8811, allocations: 3.938 kB / 0.9433 GB, free: 456 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.8812, allocations: 0 / 0.9433 GB, free: 456 kB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.00278/0.8839, allocations: 1.469 MB / 0.9448 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.884, allocations: 12.03 kB / 0.9448 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.617e-05/0.884, allocations: 22 kB / 0.9448 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.8842, allocations: 143.2 kB / 0.945 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.8862, allocations: 315 kB / 0.9453 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.8878, allocations: 0.7877 MB / 0.946 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.471e-05/0.8879, allocations: 66 kB / 0.9461 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.888, allocations: 84 kB / 0.9462 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.8897, allocations: 0.9092 MB / 0.9471 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.8897, allocations: 11.92 kB / 0.9471 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-05/0.8898, allocations: 40 kB / 0.9471 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-05/0.8898, allocations: 30 kB / 0.9471 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.8913, allocations: 0.8276 MB / 0.9479 GB, free: 11.66 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005819/0.8971, allocations: 3.461 MB / 0.9513 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008262/0.898, allocations: 484.4 kB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.8984, allocations: 274 kB / 0.952 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.8986, allocations: 32.39 kB / 0.9521 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.8986, allocations: 43 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=47): time 6.512e-06/0.8986, allocations: 3.984 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49): time 0.003695/0.9023, allocations: 1.659 MB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.9024, allocations: 55.84 kB / 0.9538 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.9034, allocations: 0.8098 MB / 0.9546 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.9035, allocations: 41.64 kB / 0.9546 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/0.9039, allocations: 480.2 kB / 0.9551 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.904, allocations: 186.4 kB / 0.9553 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.9042, allocations: 114.3 kB / 0.9554 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.9044, allocations: 337.9 kB / 0.9557 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.9048, allocations: 241.2 kB / 0.9559 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.9054, allocations: 389.7 kB / 0.9563 GB, free: 2.742 MB / 0.7169 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/0.909, allocations: 1.452 MB / 0.9577 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.909, allocations: 0 / 0.9577 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001388/0.9104, allocations: 0.7878 MB / 0.9585 GB, free: 456 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.9104, allocations: 10.03 kB / 0.9585 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.9104, allocations: 4 kB / 0.9585 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/0.9106, allocations: 69.61 kB / 0.9586 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/0.9113, allocations: 143.8 kB / 0.9587 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.9139, allocations: 2.923 MB / 0.9615 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008298/0.9147, allocations: 31.75 kB / 0.9616 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.9148, allocations: 28.11 kB / 0.9616 GB, free: 13.01 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005021/0.9153, allocations: 309.5 kB / 0.9619 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.9154, allocations: 91.44 kB / 0.962 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.9156, allocations: 100.7 kB / 0.9621 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.9156, allocations: 8 kB / 0.9621 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9156, allocations: 0 / 0.9621 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/0.9167, allocations: 0.8349 MB / 0.9629 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.9197, allocations: 1.766 MB / 0.9646 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.9197, allocations: 4 kB / 0.9646 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.9203, allocations: 140.2 kB / 0.9648 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.411e-05/0.9204, allocations: 36.83 kB / 0.9648 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.9204, allocations: 12 kB / 0.9648 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.9218, allocations: 1.498 MB / 0.9663 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.9218, allocations: 4 kB / 0.9663 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.9234, allocations: 1.101 MB / 0.9674 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.9238, allocations: 163.2 kB / 0.9675 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.924, allocations: 23.88 kB / 0.9675 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/0.9246, allocations: 31.97 kB / 0.9676 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.9247, allocations: 47.94 kB / 0.9676 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.839e-05/0.9248, allocations: 31.92 kB / 0.9676 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007467/0.9255, allocations: 0.5576 MB / 0.9682 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9255, allocations: 0 / 0.9682 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008848/0.9264, allocations: 276 kB / 0.9685 GB, free: 5.633 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002181/0.9286, allocations: 1.714 MB / 0.9701 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.93, allocations: 0.7877 MB / 0.9709 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.9301, allocations: 8 kB / 0.9709 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005951/0.9306, allocations: 396.1 kB / 0.9713 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.9333, allocations: 0.6016 MB / 0.9719 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.9435, allocations: 7.022 MB / 0.9787 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007809/0.9443, allocations: 1.095 MB / 0.9798 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009208/0.9452, allocations: 215.7 kB / 0.98 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/0.9458, allocations: 339.3 kB / 0.9803 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of SimCode: time 1.462e-06/0.9458, allocations: 0 / 0.9803 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06945/1.015, allocations: 28.13 MB / 1.008 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.96, allocations: 11.86 kB / 1.008 GB, free: 13.27 MB / 0.7794 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.708987799938768] Failed to read output from testmodel.py, exit status != 0: 15.145952265011147 15.166916292 14.282350409 Calling exit ...