Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.001691/0.001691, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002206/0.002206, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.479/1.479, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2301/0.2301, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.002346/0.002346, allocations: 79.88 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3565, allocations: 66.08 MB / 0.5616 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01477/0.3713, allocations: 11.37 MB / 0.5727 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.3848, allocations: 11.87 MB / 0.5842 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.385, allocations: 0 / 0.5842 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.3852, allocations: 71.5 kB / 0.5843 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008877/0.3941, allocations: 3.145 MB / 0.5874 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.3945, allocations: 151.1 kB / 0.5875 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006112/0.4006, allocations: 3.963 MB / 0.5914 GB, free: 5.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.099e-05/0.4007, allocations: 20.56 kB / 0.5914 GB, free: 5.609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.4009, allocations: 143.5 kB / 0.5916 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01067/0.4116, allocations: 7.246 MB / 0.5986 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.387e-05/0.4117, allocations: 11.94 kB / 0.5986 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005407/0.4171, allocations: 2.158 MB / 0.6008 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-05/0.4172, allocations: 39.83 kB / 0.6008 GB, free: 12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.4174, allocations: 127.4 kB / 0.6009 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003365/0.4207, allocations: 1.543 MB / 0.6024 GB, free: 10.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4207, allocations: 0 / 0.6024 GB, free: 10.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4207, allocations: 0 / 0.6024 GB, free: 10.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.4207, allocations: 0 / 0.6024 GB, free: 10.33 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002108/0.4229, allocations: 0.8778 MB / 0.6033 GB, free: 9.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4229, allocations: 8.031 kB / 0.6033 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.137e-05/0.423, allocations: 66.66 kB / 0.6033 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005819/0.4236, allocations: 76.73 kB / 0.6034 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.4239, allocations: 186.2 kB / 0.6036 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.424, allocations: 17.03 kB / 0.6036 GB, free: 9.039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.424, allocations: 32.38 kB / 0.6036 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.4251, allocations: 490.5 kB / 0.6041 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4251, allocations: 3.938 kB / 0.6041 GB, free: 8.492 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.4251, allocations: 16 kB / 0.6041 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.4251, allocations: 11.98 kB / 0.6041 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.4263, allocations: 0.6927 MB / 0.6048 GB, free: 7.77 MB / 446.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.006284/0.4326, allocations: 2.765 MB / 0.6075 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006416/0.4332, allocations: 214.5 kB / 0.6077 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.4333, allocations: 69.39 kB / 0.6078 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08634/0.5197, allocations: 21.23 MB / 0.6285 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007967/0.5205, allocations: 360.7 kB / 0.6289 GB, free: 14.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.5205, allocations: 0 / 0.6289 GB, free: 14.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.003053/0.5235, allocations: 0.9917 MB / 0.6298 GB, free: 13.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002575/0.5238, allocations: 482.5 kB / 0.6303 GB, free: 13.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.5239, allocations: 150.6 kB / 0.6304 GB, free: 13.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.524, allocations: 37.7 kB / 0.6305 GB, free: 13.12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.5241, allocations: 168.3 kB / 0.6306 GB, free: 12.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.5242, allocations: 142.7 kB / 0.6308 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.5243, allocations: 98.12 kB / 0.6309 GB, free: 12.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5245, allocations: 326.8 kB / 0.6312 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.5246, allocations: 72.95 kB / 0.6312 GB, free: 12.32 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.525, allocations: 318.1 kB / 0.6315 GB, free: 11.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.5256, allocations: 452 kB / 0.632 GB, free: 11.33 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5256, allocations: 4 kB / 0.632 GB, free: 11.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007906/0.5263, allocations: 439.4 kB / 0.6324 GB, free: 10.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.5264, allocations: 19.97 kB / 0.6324 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.5264, allocations: 12 kB / 0.6324 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/0.5285, allocations: 321.3 kB / 0.6327 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.5288, allocations: 107.8 kB / 0.6328 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000798/0.5296, allocations: 1.219 MB / 0.634 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.5298, allocations: 20.14 kB / 0.6341 GB, free: 9.145 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/0.5299, allocations: 39.92 kB / 0.6341 GB, free: 9.105 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.5301, allocations: 157.6 kB / 0.6342 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.668e-05/0.5302, allocations: 23.91 kB / 0.6343 GB, free: 8.918 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.5316, allocations: 1.088 MB / 0.6353 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.5316, allocations: 11.92 kB / 0.6353 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5316, allocations: 4 kB / 0.6353 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5316, allocations: 0 / 0.6353 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.5332, allocations: 1.258 MB / 0.6366 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.5332, allocations: 8.031 kB / 0.6366 GB, free: 6.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.5334, allocations: 43.91 kB / 0.6366 GB, free: 6.398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.5346, allocations: 241.5 kB / 0.6368 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.5346, allocations: 11.98 kB / 0.6369 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008069/0.5354, allocations: 1.27 MB / 0.6381 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5354, allocations: 8.062 kB / 0.6381 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008264/0.5363, allocations: 0.6183 MB / 0.6387 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.5363, allocations: 35.67 kB / 0.6387 GB, free: 4.117 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.683e-05/0.5364, allocations: 51.61 kB / 0.6388 GB, free: 4.066 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.5366, allocations: 8 kB / 0.6388 GB, free: 4.059 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.5367, allocations: 27.95 kB / 0.6388 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.5367, allocations: 12 kB / 0.6388 GB, free: 4.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003373/0.537, allocations: 279.1 kB / 0.6391 GB, free: 3.742 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.537, allocations: 4 kB / 0.6391 GB, free: 3.738 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001342/0.5384, allocations: 450.5 kB / 0.6395 GB, free: 3.297 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002431/0.5408, allocations: 1.712 MB / 0.6412 GB, free: 1.516 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000749/0.5415, allocations: 368.5 kB / 0.6416 GB, free: 1.152 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5415, allocations: 0 / 0.6416 GB, free: 1.152 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.5418, allocations: 205.6 kB / 0.6418 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007598/0.5426, allocations: 118.5 kB / 0.6419 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.177/1.72, allocations: 0.495 GB / 1.137 GB, free: 96.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/1.72, allocations: 0.8274 MB / 1.138 GB, free: 95.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003606/1.721, allocations: 164.7 kB / 1.138 GB, free: 95.16 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/1.721, allocations: 163.4 kB / 1.138 GB, free: 95 MB / 0.6387 GB Notification: Performance of SimCode: time 9.51e-07/1.721, allocations: 2.719 kB / 1.138 GB, free: 95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04782/1.769, allocations: 20.41 MB / 1.158 GB, free: 74.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/14.41, allocations: 3.938 kB / 1.158 GB, free: 74.75 MB / 0.6387 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.3495486471802] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eps', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is'] 14.51358356885612 14.530548403 14.107179655 Calling exit ...