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.001316/0.001316, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001353/0.001353, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.448/1.448, allocations: 230.5 MB / 254.7 MB, free: 15 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.00187/0.00187, allocations: 71.88 kB / 373.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/0.09462, allocations: 53.3 MB / 426.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.228/0.3226, allocations: 37.7 MB / 464.6 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006095/0.3287, allocations: 4.591 MB / 469.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003403/0.329, allocations: 9.25 kB / 469.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008661/0.3299, allocations: 301.8 kB / 469.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.3309, allocations: 493 kB / 470 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004897/0.3358, allocations: 1.642 MB / 471.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.3377, allocations: 1.272 MB / 472.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000264/0.3379, allocations: 125.9 kB / 473 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007324/0.3387, allocations: 477.2 kB / 473.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.3392, allocations: 425.2 kB / 473.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.496e-05/0.3393, allocations: 53.52 kB / 473.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.341, allocations: 0.7597 MB / 474.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.3411, allocations: 141 kB / 474.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.3414, allocations: 277.4 kB / 475.1 MB, free: 12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.3429, allocations: 1.049 MB / 476.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3429, allocations: 1.188 kB / 476.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3429, allocations: 3.938 kB / 476.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.3429, allocations: 0 / 476.2 MB, free: 11.31 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.001226/0.3441, allocations: 0.7915 MB / 476.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3441, allocations: 9.469 kB / 477 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.075e-05/0.3442, allocations: 76.59 kB / 477 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005896/0.3448, allocations: 77.41 kB / 477.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.3454, allocations: 341.4 kB / 477.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.3454, allocations: 36.94 kB / 477.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.3455, allocations: 38.88 kB / 477.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.3462, allocations: 481.2 kB / 478 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.3462, allocations: 2.312 kB / 478 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.3463, allocations: 16.41 kB / 478 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.3463, allocations: 10.5 kB / 478 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.3467, allocations: 306.9 kB / 478.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.3607, allocations: 6.752 MB / 485.1 MB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.3612, allocations: 255.9 kB / 485.3 MB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.3614, allocations: 144.1 kB / 485.5 MB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.372, allocations: 3.889 MB / 489.3 MB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.372, allocations: 33.25 kB / 489.4 MB, free: 1.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.194e-06/0.372, allocations: 0 / 489.4 MB, free: 1.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01185/0.3839, allocations: 2.46 MB / 491.8 MB, free: 14.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3839, allocations: 59.39 kB / 491.9 MB, free: 14.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.3843, allocations: 299.2 kB / 492.2 MB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.3844, allocations: 37.7 kB / 492.2 MB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.3845, allocations: 232.5 kB / 492.5 MB, free: 14.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.3847, allocations: 162.6 kB / 492.6 MB, free: 14.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.3848, allocations: 102.2 kB / 492.7 MB, free: 14.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.385, allocations: 346.8 kB / 493 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.3852, allocations: 153.1 kB / 493.2 MB, free: 13.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.3856, allocations: 279.6 kB / 493.5 MB, free: 13.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.3863, allocations: 472.3 kB / 493.9 MB, free: 12.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3863, allocations: 0 / 493.9 MB, free: 12.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001081/0.3874, allocations: 0.5918 MB / 494.5 MB, free: 12.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.3874, allocations: 15.88 kB / 494.5 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.3874, allocations: 4 kB / 494.5 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007794/0.3952, allocations: 1.855 MB / 496.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.3956, allocations: 107.8 kB / 496.5 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.3979, allocations: 2.572 MB / 499.1 MB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.3982, allocations: 12 kB / 499.1 MB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.3982, allocations: 24 kB / 499.1 MB, free: 7.348 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: 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.0002422/0.3985, allocations: 173.8 kB / 499.3 MB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-05/0.3985, allocations: 39.77 kB / 499.3 MB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.3998, allocations: 0.8476 MB / 0.4884 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.3998, allocations: 7.984 kB / 0.4885 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3998, allocations: 4 kB / 0.4885 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/0.4009, allocations: 0.9611 MB / 0.4894 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.403, allocations: 1.488 MB / 0.4908 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.403, allocations: 0 / 0.4908 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.4033, allocations: 75.91 kB / 0.4909 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003367/0.4067, allocations: 0.6191 MB / 0.4915 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.4067, allocations: 19.94 kB / 0.4915 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.4078, allocations: 1.283 MB / 0.4928 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4078, allocations: 0 / 0.4928 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.4095, allocations: 1.217 MB / 0.494 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.4096, allocations: 120.9 kB / 0.4941 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.4097, allocations: 12.88 kB / 0.4941 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.4099, allocations: 11.94 kB / 0.4941 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.41, allocations: 27.95 kB / 0.4942 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.41, allocations: 19.98 kB / 0.4942 GB, free: 176 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.4102, allocations: 206 kB / 0.4944 GB, free: 15.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4102, allocations: 0 / 0.4944 GB, free: 15.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008201/0.4111, allocations: 239.6 kB / 0.4946 GB, free: 15.73 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.002419/0.4135, allocations: 1.938 MB / 0.4965 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.4147, allocations: 0.6717 MB / 0.4971 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4147, allocations: 4 kB / 0.4971 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009003/0.4156, allocations: 423.8 kB / 0.4976 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.4168, allocations: 236.5 kB / 0.4978 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.423, allocations: 4.479 MB / 0.5022 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.4235, allocations: 0.8363 MB / 0.503 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002963/0.4238, allocations: 76.33 kB / 0.503 GB, free: 6.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.424, allocations: 159.4 kB / 0.5032 GB, free: 6.664 MB / 414.1 MB Notification: Performance of SimCode: time 5.52e-07/0.424, allocations: 0 / 0.5032 GB, free: 6.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04725/0.4712, allocations: 17.49 MB / 0.5203 GB, free: 5.371 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.84, allocations: 3.984 kB / 0.5203 GB, free: 5.367 MB / 430.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 --stepSize=0.000201919 --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.160008830949664] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.p', 'volume1.medium.T', 'volume1.medium.p'] 12.940650006290525 12.964627249 12.617230727 Calling exit ...