Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002213/0.002213, allocations: 109.2 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002424/0.002424, allocations: 218.2 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.4 MB / 256.5 MB, free: 8.438 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.89 kB / 376.2 MB, free: 4.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2437, allocations: 53.31 MB / 429.5 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03965/0.2833, allocations: 37.98 MB / 467.5 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005636/0.289, allocations: 4.623 MB / 472.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.2892, allocations: 7.938 kB / 472.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007796/0.29, allocations: 298.2 kB / 472.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008456/0.2908, allocations: 489.3 kB / 472.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0042/0.295, allocations: 1.648 MB / 474.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.2965, allocations: 1.284 MB / 475.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.2968, allocations: 118.7 kB / 476 MB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006544/0.2974, allocations: 482.5 kB / 476.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005321/0.2979, allocations: 430.3 kB / 476.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.838e-05/0.298, allocations: 44 kB / 476.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.2995, allocations: 0.761 MB / 477.7 MB, free: 7.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.2996, allocations: 131.6 kB / 477.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.2999, allocations: 286.8 kB / 478.1 MB, free: 6.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.3013, allocations: 1.052 MB / 479.1 MB, free: 5.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3013, allocations: 4 kB / 479.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3013, allocations: 0 / 479.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3013, allocations: 0 / 479.1 MB, free: 5.699 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001119/0.3024, allocations: 0.7867 MB / 479.9 MB, free: 4.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3025, allocations: 8.031 kB / 479.9 MB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.735e-05/0.3025, allocations: 82.66 kB / 480 MB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005559/0.3031, allocations: 84.62 kB / 480.1 MB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.3036, allocations: 343.6 kB / 480.4 MB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.3036, allocations: 29.38 kB / 480.4 MB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.3037, allocations: 40.38 kB / 480.5 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006931/0.3044, allocations: 475.4 kB / 480.9 MB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.3044, allocations: 3.938 kB / 480.9 MB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.3044, allocations: 20 kB / 481 MB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.3045, allocations: 12 kB / 481 MB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.3049, allocations: 303.7 kB / 481.3 MB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/0.3184, allocations: 6.746 MB / 488 MB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.3189, allocations: 270.3 kB / 488.3 MB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.3191, allocations: 132.8 kB / 488.4 MB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.3294, allocations: 3.885 MB / 492.3 MB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.3294, allocations: 39.16 kB / 492.3 MB, free: 7.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.3294, allocations: 0 / 492.3 MB, free: 7.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.0116/0.341, allocations: 2.468 MB / 494.8 MB, free: 4.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.3411, allocations: 55.41 kB / 494.9 MB, free: 4.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.3415, allocations: 307.2 kB / 495.2 MB, free: 4.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.3415, allocations: 29.7 kB / 495.2 MB, free: 4.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.3417, allocations: 228.5 kB / 495.4 MB, free: 4.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.3418, allocations: 170.6 kB / 495.6 MB, free: 4.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.3419, allocations: 98.2 kB / 495.7 MB, free: 3.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3421, allocations: 346.8 kB / 496 MB, free: 3.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.3424, allocations: 153.1 kB / 496.2 MB, free: 3.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.3428, allocations: 279.5 kB / 496.4 MB, free: 3.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/0.3434, allocations: 476.3 kB / 496.9 MB, free: 2.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3435, allocations: 4 kB / 496.9 MB, free: 2.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001094/0.3445, allocations: 0.5883 MB / 497.5 MB, free: 2.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3446, allocations: 12 kB / 497.5 MB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3446, allocations: 4 kB / 497.5 MB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007643/0.3522, allocations: 1.844 MB / 499.4 MB, free: 188 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.3526, allocations: 115.8 kB / 499.5 MB, free: 72 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.355, allocations: 2.564 MB / 0.4903 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.3552, allocations: 20 kB / 0.4903 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.3553, allocations: 20 kB / 0.4903 GB, free: 13.28 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.3555, allocations: 177.7 kB / 0.4905 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/0.3556, allocations: 39.77 kB / 0.4905 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.3569, allocations: 0.8514 MB / 0.4913 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.3569, allocations: 12 kB / 0.4914 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.3569, allocations: 0 / 0.4914 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/0.358, allocations: 0.9534 MB / 0.4923 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.36, allocations: 1.482 MB / 0.4937 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.36, allocations: 8.031 kB / 0.4937 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.3603, allocations: 71.91 kB / 0.4938 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003261/0.3636, allocations: 0.6179 MB / 0.4944 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.3636, allocations: 19.92 kB / 0.4944 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.3647, allocations: 1.277 MB / 0.4957 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3647, allocations: 3.938 kB / 0.4957 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.3664, allocations: 1.221 MB / 0.4969 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.3665, allocations: 116.9 kB / 0.497 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.3666, allocations: 8 kB / 0.497 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.3668, allocations: 23.86 kB / 0.497 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.3669, allocations: 35.94 kB / 0.497 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.3669, allocations: 19.92 kB / 0.4971 GB, free: 6.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.3671, allocations: 213.9 kB / 0.4973 GB, free: 5.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3671, allocations: 4 kB / 0.4973 GB, free: 5.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007834/0.3679, allocations: 231.7 kB / 0.4975 GB, free: 5.648 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002428/0.3703, allocations: 1.928 MB / 0.4994 GB, free: 3.684 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.3716, allocations: 0.6675 MB / 0.5 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3716, allocations: 0 / 0.5 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009575/0.3726, allocations: 428.2 kB / 0.5004 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.3738, allocations: 240.8 kB / 0.5007 GB, free: 2.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006259/0.38, allocations: 4.48 MB / 0.505 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.3805, allocations: 0.8363 MB / 0.5059 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002867/0.3808, allocations: 72.33 kB / 0.5059 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.381, allocations: 159.4 kB / 0.5061 GB, free: 12.58 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.381, allocations: 0 / 0.5061 GB, free: 12.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04697/0.428, allocations: 17.57 MB / 0.5232 GB, free: 11.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.7, allocations: 10.16 kB / 0.5232 GB, free: 11.17 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.199654105992522] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.p', 'volume1.medium.T', 'volume1.medium.p'] 12.805490455008112 12.992535468 12.68804659 Calling exit ...