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.004449/0.004449, allocations: 110.6 kB / 21.97 MB, free: 5.25 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.00132/0.00132, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.257/1.257, allocations: 207.6 MB / 236 MB, free: 9.984 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.001609/0.001609, allocations: 58.58 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2148, allocations: 49.16 MB / 397.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02423/0.239, allocations: 26.99 MB / 424.1 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02737/0.2664, allocations: 25.06 MB / 449.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003522/0.2668, allocations: 7.938 kB / 449.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008216/0.2676, allocations: 314.3 kB / 449.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007521/0.2683, allocations: 381.9 kB / 449.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.2784, allocations: 4.119 MB / 454 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.2795, allocations: 0.9504 MB / 454.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.2797, allocations: 81.23 kB / 455 MB, free: 9.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005646/0.2802, allocations: 406.5 kB / 455.4 MB, free: 8.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004044/0.2806, allocations: 322.8 kB / 455.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.139e-05/0.2807, allocations: 36 kB / 455.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01792/0.2986, allocations: 10.53 MB / 466.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.2988, allocations: 111.6 kB / 466.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.2992, allocations: 227.1 kB / 466.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02495/0.3241, allocations: 11.5 MB / 478.1 MB, free: 2.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3241, allocations: 0 / 478.1 MB, free: 2.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3241, allocations: 4 kB / 478.1 MB, free: 2.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3241, allocations: 4 kB / 478.1 MB, free: 2.113 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.005895/0.33, allocations: 1.109 MB / 479.2 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3301, allocations: 11.98 kB / 479.3 MB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.101e-05/0.3301, allocations: 16.59 kB / 479.3 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.377e-05/0.3302, allocations: 70.53 kB / 479.3 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005041/0.3307, allocations: 63.78 kB / 479.4 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.3311, allocations: 260.6 kB / 479.7 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.3312, allocations: 28.66 kB / 479.7 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.3312, allocations: 35.94 kB / 479.7 MB, free: 468 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008661/0.3321, allocations: 463.8 kB / 480.2 MB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3321, allocations: 0 / 480.2 MB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.3322, allocations: 16 kB / 480.2 MB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3322, allocations: 8 kB / 480.2 MB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/0.3329, allocations: 386.2 kB / 480.6 MB, free: 15.57 MB / 398.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.003431/0.3363, allocations: 2.826 MB / 483.4 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.3369, allocations: 286.7 kB / 483.7 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.3371, allocations: 129.5 kB / 483.8 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.3386, allocations: 463.5 kB / 484.3 MB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.3386, allocations: 42.56 kB / 484.3 MB, free: 11.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.313e-06/0.3386, allocations: 0 / 484.3 MB, free: 11.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0048/0.3434, allocations: 1.139 MB / 485.4 MB, free: 10.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.3435, allocations: 55.41 kB / 485.5 MB, free: 10.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.3437, allocations: 265.8 kB / 485.8 MB, free: 10.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.3438, allocations: 41.64 kB / 485.8 MB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3439, allocations: 192.4 kB / 486 MB, free: 9.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.5e-05/0.344, allocations: 115 kB / 486.1 MB, free: 9.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.3441, allocations: 98.06 kB / 486.2 MB, free: 9.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3443, allocations: 334.8 kB / 486.5 MB, free: 9.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.3445, allocations: 112.8 kB / 486.6 MB, free: 9.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.3448, allocations: 222.1 kB / 486.8 MB, free: 8.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.3453, allocations: 377.5 kB / 487.2 MB, free: 8.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3453, allocations: 0 / 487.2 MB, free: 8.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008245/0.3461, allocations: 459.1 kB / 487.7 MB, free: 8.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3461, allocations: 15.92 kB / 487.7 MB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3461, allocations: 4 kB / 487.7 MB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004556/0.3507, allocations: 225.4 kB / 487.9 MB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.351, allocations: 87.89 kB / 488 MB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.3525, allocations: 1.843 MB / 489.8 MB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.3527, allocations: 16.06 kB / 489.8 MB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.3528, allocations: 20 kB / 489.9 MB, free: 5.699 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.0002014/0.353, allocations: 165.7 kB / 490 MB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.598e-05/0.353, allocations: 35.75 kB / 490.1 MB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.3541, allocations: 0.7095 MB / 490.8 MB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.3541, allocations: 4 kB / 490.8 MB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.3541, allocations: 0 / 490.8 MB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008842/0.355, allocations: 0.8791 MB / 491.7 MB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.3565, allocations: 1.194 MB / 492.9 MB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3565, allocations: 0 / 492.9 MB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.3568, allocations: 67.89 kB / 492.9 MB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.3582, allocations: 176.6 kB / 493.1 MB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.3582, allocations: 4 kB / 493.1 MB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003818/0.3586, allocations: 0.5835 MB / 493.7 MB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3586, allocations: 8.078 kB / 493.7 MB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009674/0.3596, allocations: 0.7381 MB / 494.4 MB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.3597, allocations: 43.7 kB / 494.5 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.3597, allocations: 4 kB / 494.5 MB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.3599, allocations: 15.94 kB / 494.5 MB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.3599, allocations: 23.89 kB / 494.5 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.36, allocations: 15.98 kB / 494.5 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.3602, allocations: 227.1 kB / 494.7 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3602, allocations: 0 / 494.7 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003791/0.364, allocations: 0.7519 MB / 495.5 MB, free: 15.86 MB / 414.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.02365/0.3876, allocations: 7.589 MB / 0.4913 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009173/0.3885, allocations: 470 kB / 0.4917 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3885, allocations: 0 / 0.4917 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.3889, allocations: 208 kB / 0.4919 GB, free: 7.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.39, allocations: 206.7 kB / 0.4921 GB, free: 7.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006903/0.3969, allocations: 4.06 MB / 0.4961 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.3973, allocations: 0.8013 MB / 0.4969 GB, free: 2.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003854/0.3976, allocations: 203.7 kB / 0.4971 GB, free: 2.086 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.3978, allocations: 131.4 kB / 0.4972 GB, free: 1.957 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3978, allocations: 0 / 0.4972 GB, free: 1.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06482/0.4627, allocations: 34.24 MB / 0.5306 GB, free: 15.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.62, allocations: 7.938 kB / 0.5307 GB, free: 15.58 MB / 462.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: 65.93330398702528] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 13.80908759799786 13.823010138 13.495989182 Calling exit ...