Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.001917/0.001917, allocations: 117.5 kB / 19.17 MB, free: 3.922 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.00244/0.00244, allocations: 203.9 kB / 22.12 MB, free: 0.9805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 207.6 MB / 232.5 MB, free: 3.969 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001866/0.001866, allocations: 51.92 kB / 343 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.08353, allocations: 49.12 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03104/0.1146, allocations: 26.77 MB / 418.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02755/0.1421, allocations: 24.96 MB / 443.9 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000352/0.1425, allocations: 7.938 kB / 443.9 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008162/0.1433, allocations: 310.3 kB / 444.2 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008232/0.1441, allocations: 377.9 kB / 444.5 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0106/0.1547, allocations: 4.091 MB / 448.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.1561, allocations: 0.9463 MB / 449.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.1563, allocations: 88.97 kB / 449.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007622/0.1571, allocations: 394.6 kB / 450 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.1575, allocations: 314.8 kB / 450.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-05/0.1576, allocations: 40 kB / 450.4 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01834/0.1759, allocations: 10.48 MB / 460.9 MB, free: 3.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.1761, allocations: 107.7 kB / 461 MB, free: 3.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.1765, allocations: 227.1 kB / 461.2 MB, free: 3.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2017/0.3782, allocations: 11.48 MB / 472.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.3782, allocations: 6.375 kB / 472.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3782, allocations: 3.172 kB / 472.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3782, allocations: 0 / 472.7 MB, free: 15.13 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.01102/0.3892, allocations: 1.177 MB / 473.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3893, allocations: 11.81 kB / 473.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.088e-05/0.3893, allocations: 10.47 kB / 473.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.446e-05/0.3894, allocations: 72.75 kB / 474 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006109/0.39, allocations: 69.22 kB / 474 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.3905, allocations: 327.9 kB / 474.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.3905, allocations: 23.12 kB / 474.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.3905, allocations: 33.75 kB / 474.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007864/0.3913, allocations: 468.2 kB / 474.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3913, allocations: 0 / 474.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.3914, allocations: 17.69 kB / 474.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3914, allocations: 9.031 kB / 474.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006956/0.3921, allocations: 387.7 kB / 475.3 MB, free: 13.96 MB / 382.1 MB 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.0037/0.3958, allocations: 2.948 MB / 478.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.3964, allocations: 277 kB / 478.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.3966, allocations: 129.8 kB / 478.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001716/0.3983, allocations: 2.467 MB / 481.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.3983, allocations: 40.88 kB / 481.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.555e-06/0.3983, allocations: 1.094 kB / 481.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005033/0.4034, allocations: 1.299 MB / 482.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.4034, allocations: 56.34 kB / 482.5 MB, free: 9.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.4036, allocations: 260.1 kB / 482.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.4037, allocations: 29.95 kB / 482.8 MB, free: 8.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/0.4038, allocations: 198.6 kB / 482.9 MB, free: 8.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.751e-05/0.4038, allocations: 124.7 kB / 483.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4039, allocations: 86.69 kB / 483.2 MB, free: 8.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.404, allocations: 342.1 kB / 483.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.4042, allocations: 109 kB / 483.6 MB, free: 8.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.4044, allocations: 231.8 kB / 483.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.4048, allocations: 378.1 kB / 484.2 MB, free: 8.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4048, allocations: 1.906 kB / 484.2 MB, free: 8.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000719/0.4055, allocations: 462 kB / 484.6 MB, free: 8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4055, allocations: 10.25 kB / 484.7 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.036e-06/0.4055, allocations: 5 kB / 484.7 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004481/0.41, allocations: 235.8 kB / 484.9 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.4103, allocations: 89.59 kB / 485 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.4115, allocations: 1.939 MB / 486.9 MB, free: 22.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.4118, allocations: 15.05 kB / 486.9 MB, free: 22.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.4118, allocations: 19.16 kB / 486.9 MB, free: 22.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * 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: 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.412, allocations: 165 kB / 487.1 MB, free: 22.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.4121, allocations: 34.28 kB / 487.1 MB, free: 21.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008695/0.4129, allocations: 0.6936 MB / 487.8 MB, free: 21.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.4129, allocations: 7.062 kB / 487.8 MB, free: 21.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.4129, allocations: 7.562 kB / 487.9 MB, free: 21.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006788/0.4136, allocations: 0.8577 MB / 488.7 MB, free: 21.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.4149, allocations: 1.194 MB / 489.9 MB, free: 21.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.4149, allocations: 0 / 489.9 MB, free: 21.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.4151, allocations: 72.47 kB / 490 MB, free: 21.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.4166, allocations: 172.3 kB / 490.1 MB, free: 21.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.4166, allocations: 7.125 kB / 490.2 MB, free: 21.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003514/0.4169, allocations: 0.5782 MB / 490.7 MB, free: 20.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4169, allocations: 3.906 kB / 490.7 MB, free: 20.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/0.4177, allocations: 0.7287 MB / 491.5 MB, free: 20.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.4178, allocations: 114.9 kB / 491.6 MB, free: 20.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.4179, allocations: 13.53 kB / 491.6 MB, free: 20.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.4181, allocations: 12.17 kB / 491.6 MB, free: 20.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.4181, allocations: 21.94 kB / 491.6 MB, free: 20.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.4181, allocations: 20.16 kB / 491.6 MB, free: 20.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.4183, allocations: 217.6 kB / 491.9 MB, free: 20.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4183, allocations: 0 / 491.9 MB, free: 20.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0074/0.4257, allocations: 0.7454 MB / 492.6 MB, free: 20.08 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03218/0.4579, allocations: 7.584 MB / 0.4885 GB, free: 16.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008479/0.4587, allocations: 474.5 kB / 0.4889 GB, free: 16.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4587, allocations: 0 / 0.4889 GB, free: 16.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.4591, allocations: 201.5 kB / 0.4891 GB, free: 16.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.4601, allocations: 189.2 kB / 0.4893 GB, free: 16.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.4704, allocations: 4.049 MB / 0.4932 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.4707, allocations: 0.8075 MB / 0.494 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003563/0.4711, allocations: 196.3 kB / 0.4942 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.4712, allocations: 134.4 kB / 0.4943 GB, free: 13.05 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4712, allocations: 7.938 kB / 0.4943 GB, free: 13.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06521/0.5364, allocations: 33.83 MB / 0.5274 GB, free: 13.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.14, allocations: 7.984 kB / 0.5274 GB, free: 13.57 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.225465456955135] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 13.323669633013196 13.346690051 12.964585951 Calling exit ...