Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001301/0.001301, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001522/0.001522, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2209/0.2209, allocations: 46.93 MB / 361.6 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.004066/0.004066, allocations: 75.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3343, allocations: 66.08 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.223/0.5573, allocations: 178.1 MB / 0.7354 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3464/0.9038, allocations: 5.363 MB / 0.7407 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009663/0.9047, allocations: 30.34 kB / 0.7407 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009807/0.9057, allocations: 318.1 kB / 0.741 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.9094, allocations: 1.297 MB / 0.7423 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.9121, allocations: 0.9852 MB / 0.7432 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.9146, allocations: 1.873 MB / 0.7451 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004989/0.9151, allocations: 397.2 kB / 0.7454 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.917, allocations: 1.118 MB / 0.7465 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008809/0.9179, allocations: 0.7044 MB / 0.7472 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.72e-05/0.918, allocations: 65.05 kB / 0.7473 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.9193, allocations: 0.6403 MB / 0.7479 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.9195, allocations: 268.7 kB / 0.7482 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.9198, allocations: 402 kB / 0.7485 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.9214, allocations: 1.301 MB / 0.7498 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9214, allocations: 2.938 kB / 0.7498 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9214, allocations: 0 / 0.7498 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.9214, allocations: 4.312 kB / 0.7498 GB, free: 1.574 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002153/0.9236, allocations: 1.05 MB / 0.7509 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.9236, allocations: 11.03 kB / 0.7509 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.9237, allocations: 98.34 kB / 0.751 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000765/0.9245, allocations: 143.8 kB / 0.7511 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007834/0.9253, allocations: 472.5 kB / 0.7515 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.9254, allocations: 158.6 kB / 0.7517 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.113e-05/0.9255, allocations: 45.94 kB / 0.7517 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.9265, allocations: 0.8199 MB / 0.7525 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.9265, allocations: 3.562 kB / 0.7525 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.347e-05/0.9266, allocations: 27.38 kB / 0.7526 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/0.9267, allocations: 45.03 kB / 0.7526 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008439/0.9275, allocations: 0.6195 MB / 0.7532 GB, free: 16.41 MB / 0.5762 GB 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.004372/0.9319, allocations: 3.893 MB / 0.757 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.9324, allocations: 340 kB / 0.7573 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.9326, allocations: 159.9 kB / 0.7575 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.153e-05/0.9327, allocations: 17.41 kB / 0.7575 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.9328, allocations: 39.91 kB / 0.7575 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.9328, allocations: 3.969 kB / 0.7576 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005215/0.938, allocations: 1.6 MB / 0.7591 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/0.9381, allocations: 133.6 kB / 0.7592 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006193/0.9387, allocations: 0.6157 MB / 0.7598 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/0.9388, allocations: 36.11 kB / 0.7599 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.939, allocations: 373 kB / 0.7602 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/0.9391, allocations: 151.7 kB / 0.7604 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.9393, allocations: 157.7 kB / 0.7605 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.9395, allocations: 382.7 kB / 0.7609 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.9398, allocations: 204.2 kB / 0.7611 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.9404, allocations: 0.5148 MB / 0.7616 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.9414, allocations: 0.751 MB / 0.7623 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9414, allocations: 4.438 kB / 0.7623 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001253/0.9427, allocations: 0.8778 MB / 0.7632 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.9427, allocations: 8.906 kB / 0.7632 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.9427, allocations: 12.31 kB / 0.7632 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.9439, allocations: 323.8 kB / 0.7635 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.9443, allocations: 123.7 kB / 0.7636 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.9454, allocations: 0.9259 MB / 0.7645 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.9458, allocations: 29.89 kB / 0.7646 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.629e-05/0.9459, allocations: 70.41 kB / 0.7646 GB, free: 11.02 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003329/0.9462, allocations: 248.1 kB / 0.7649 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.9464, allocations: 67.73 kB / 0.7649 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.9478, allocations: 0.8624 MB / 0.7658 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.9478, allocations: 4.438 kB / 0.7658 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9478, allocations: 0.6875 kB / 0.7658 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.9478, allocations: 6.547 kB / 0.7658 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.9495, allocations: 1.205 MB / 0.767 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.9495, allocations: 2.844 kB / 0.767 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009801/0.9505, allocations: 220.8 kB / 0.7672 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.553e-05/0.9506, allocations: 27.09 kB / 0.7672 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.9506, allocations: 17.75 kB / 0.7672 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.9529, allocations: 2.669 MB / 0.7698 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.9529, allocations: 4.906 kB / 0.7698 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.954, allocations: 0.8148 MB / 0.7706 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.9543, allocations: 121.3 kB / 0.7707 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.079e-05/0.9544, allocations: 8.125 kB / 0.7707 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.9548, allocations: 22.52 kB / 0.7708 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/0.9549, allocations: 44.14 kB / 0.7708 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/0.9549, allocations: 42.34 kB / 0.7709 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000471/0.9554, allocations: 439.5 kB / 0.7713 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9554, allocations: 0.9375 kB / 0.7713 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008991/0.9563, allocations: 259.1 kB / 0.7715 GB, free: 7.539 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00191/0.9582, allocations: 1.544 MB / 0.773 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.9593, allocations: 0.5401 MB / 0.7736 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.9593, allocations: 0 / 0.7736 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009418/0.9602, allocations: 406.5 kB / 0.7739 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.9617, allocations: 362.3 kB / 0.7743 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007959/0.9696, allocations: 6.333 MB / 0.7805 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/0.9702, allocations: 0.9357 MB / 0.7814 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009824/0.9712, allocations: 461.2 kB / 0.7818 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.9716, allocations: 290 kB / 0.7821 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/0.9716, allocations: 3.938 kB / 0.7821 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06017/1.032, allocations: 24.96 MB / 0.8065 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/14.09, allocations: 3.938 kB / 0.8065 GB, free: 7.008 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.907822559121996] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.20512499473989 14.229808073 13.30374853 Calling exit ...