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.005515/0.005515, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001581/0.001581, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.278/1.278, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.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.001657/0.001657, allocations: 51.92 kB / 348 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2168, allocations: 49.16 MB / 397.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.023/0.2398, allocations: 24.62 MB / 421.8 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02478/0.2646, allocations: 22.04 MB / 443.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003364/0.2649, allocations: 15.88 kB / 443.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000762/0.2657, allocations: 266.4 kB / 444.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007266/0.2664, allocations: 377.9 kB / 444.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009975/0.2764, allocations: 4.109 MB / 448.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.2775, allocations: 0.9581 MB / 449.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.2777, allocations: 81.23 kB / 449.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005728/0.2783, allocations: 402.6 kB / 450 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.2787, allocations: 318.7 kB / 450.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.858e-05/0.2788, allocations: 40 kB / 450.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01968/0.2985, allocations: 10.36 MB / 460.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.2987, allocations: 107.7 kB / 460.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.299, allocations: 195.4 kB / 461 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0312/0.3302, allocations: 11.51 MB / 472.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3302, allocations: 4 kB / 472.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3302, allocations: 0 / 472.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3302, allocations: 0 / 472.5 MB, free: 7.59 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.005766/0.336, allocations: 1.097 MB / 473.6 MB, free: 6.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.336, allocations: 15.98 kB / 473.6 MB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.339e-05/0.3361, allocations: 12.59 kB / 473.6 MB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.717e-05/0.3361, allocations: 74.53 kB / 473.7 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005324/0.3367, allocations: 63.78 kB / 473.8 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.3371, allocations: 264.6 kB / 474 MB, free: 6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3372, allocations: 24.59 kB / 474 MB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.3372, allocations: 35.94 kB / 474.1 MB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009744/0.3382, allocations: 0.6074 MB / 474.7 MB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3382, allocations: 0 / 474.7 MB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.3382, allocations: 15.94 kB / 474.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3383, allocations: 8 kB / 474.7 MB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.339, allocations: 398.3 kB / 475.1 MB, free: 4.848 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.003202/0.3422, allocations: 2.23 MB / 477.3 MB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006464/0.3428, allocations: 282.8 kB / 477.6 MB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.343, allocations: 130 kB / 477.7 MB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/0.3444, allocations: 471.4 kB / 478.2 MB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3445, allocations: 34.56 kB / 478.2 MB, free: 1.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.3445, allocations: 0 / 478.2 MB, free: 1.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004964/0.3494, allocations: 1.143 MB / 479.4 MB, free: 448 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.3495, allocations: 55.41 kB / 479.4 MB, free: 380 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.3497, allocations: 261.8 kB / 479.7 MB, free: 108 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3498, allocations: 37.7 kB / 479.7 MB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.3499, allocations: 200.4 kB / 479.9 MB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.35, allocations: 119 kB / 480 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.3501, allocations: 82.08 kB / 480.1 MB, free: 15.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3503, allocations: 342.8 kB / 480.4 MB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.3505, allocations: 116.8 kB / 480.6 MB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.3507, allocations: 226.1 kB / 480.8 MB, free: 14.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000508/0.3513, allocations: 369.5 kB / 481.1 MB, free: 14.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3513, allocations: 0 / 481.1 MB, free: 14.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008011/0.3521, allocations: 458.7 kB / 481.6 MB, free: 14.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3521, allocations: 11.94 kB / 481.6 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3521, allocations: 4 kB / 481.6 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004827/0.3569, allocations: 237.9 kB / 481.8 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.3572, allocations: 91.95 kB / 481.9 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.3588, allocations: 1.835 MB / 483.8 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.359, allocations: 8 kB / 483.8 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.359, allocations: 23.98 kB / 483.8 MB, free: 11.7 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.0002176/0.3592, allocations: 166 kB / 484 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.3593, allocations: 35.75 kB / 484 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.3604, allocations: 0.7094 MB / 484.7 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.3604, allocations: 8 kB / 484.7 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.3604, allocations: 0 / 484.7 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009346/0.3613, allocations: 0.8866 MB / 485.6 MB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.3628, allocations: 1.136 MB / 486.7 MB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3628, allocations: 0 / 486.7 MB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.3631, allocations: 67.91 kB / 486.8 MB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.3647, allocations: 172.6 kB / 487 MB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.3647, allocations: 8 kB / 487 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004189/0.3651, allocations: 0.5835 MB / 487.6 MB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3651, allocations: 4.094 kB / 487.6 MB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009809/0.3661, allocations: 0.742 MB / 488.3 MB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.3661, allocations: 39.73 kB / 488.3 MB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.3662, allocations: 11.98 kB / 488.3 MB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.3664, allocations: 7.938 kB / 488.4 MB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.3664, allocations: 27.89 kB / 488.4 MB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.3665, allocations: 19.98 kB / 488.4 MB, free: 6.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002294/0.3667, allocations: 219.1 kB / 488.6 MB, free: 6.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3667, allocations: 0 / 488.6 MB, free: 6.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003954/0.3706, allocations: 0.7519 MB / 489.4 MB, free: 5.914 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.02396/0.3946, allocations: 7.585 MB / 497 MB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009546/0.3956, allocations: 473.9 kB / 497.4 MB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3956, allocations: 0 / 497.4 MB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003862/0.3959, allocations: 216.9 kB / 497.6 MB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.397, allocations: 200.5 kB / 497.8 MB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007715/0.4047, allocations: 4.049 MB / 0.4901 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.4049, allocations: 200.9 kB / 0.4903 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004163/0.4053, allocations: 199.7 kB / 0.4905 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.4055, allocations: 139.4 kB / 0.4906 GB, free: 8.625 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4055, allocations: 0 / 0.4906 GB, free: 8.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06815/0.4737, allocations: 34.66 MB / 0.5245 GB, free: 5.836 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.01, allocations: 8.016 kB / 0.5245 GB, free: 5.828 MB / 446.1 MB " [Timeout remaining time 646] (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: 66.40149530500639] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 14.219484784989618 14.234349645 13.901086295 Calling exit ...