Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.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.0017/0.0017, allocations: 105.1 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.002122/0.002122, allocations: 213.9 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.427/1.427, allocations: 230.5 MB / 258.2 MB, free: 8.059 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.2296/0.2296, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir",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.002283/0.002283, allocations: 83.86 kB / 0.497 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3197, allocations: 66.08 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1679/0.4876, allocations: 139.4 MB / 0.6977 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006388/0.494, allocations: 4.761 MB / 0.7024 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.4942, allocations: 0 / 0.7024 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005133/0.4947, allocations: 55.59 kB / 0.7024 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002926/0.4976, allocations: 0.7462 MB / 0.7031 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.4982, allocations: 163.2 kB / 0.7033 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007561/0.4989, allocations: 378.1 kB / 0.7037 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.595e-05/0.499, allocations: 13.8 kB / 0.7037 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.4993, allocations: 159.4 kB / 0.7038 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.4996, allocations: 199.3 kB / 0.704 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.4996, allocations: 8 kB / 0.704 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.5013, allocations: 0.7214 MB / 0.7047 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.5014, allocations: 39.83 kB / 0.7048 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.5016, allocations: 107.5 kB / 0.7049 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.5027, allocations: 488.4 kB / 0.7053 GB, free: 496 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5027, allocations: 4 kB / 0.7053 GB, free: 492 kB / 0.5294 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5027, allocations: 0 / 0.7053 GB, free: 492 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.507e-06/0.5027, allocations: 0 / 0.7053 GB, free: 492 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001427/0.5041, allocations: 0.5324 MB / 0.7059 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.5042, allocations: 8.031 kB / 0.7059 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.542e-05/0.5043, allocations: 62.66 kB / 0.7059 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.5045, allocations: 36.83 kB / 0.706 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.5049, allocations: 174.2 kB / 0.7061 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.5052, allocations: 226.7 kB / 0.7063 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.5052, allocations: 20.12 kB / 0.7064 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/0.5058, allocations: 334 kB / 0.7067 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.5058, allocations: 0 / 0.7067 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.5059, allocations: 12 kB / 0.7067 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.5059, allocations: 8 kB / 0.7067 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009386/0.5068, allocations: 0.7547 MB / 0.7074 GB, free: 14.19 MB / 0.545 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.001407/0.5082, allocations: 1.209 MB / 0.7086 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.5086, allocations: 163.6 kB / 0.7088 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.5088, allocations: 89.48 kB / 0.7089 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001482/0.5103, allocations: 0.6998 MB / 0.7095 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.5103, allocations: 38.56 kB / 0.7096 GB, free: 11.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.5103, allocations: 0 / 0.7096 GB, free: 11.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0007109/0.511, allocations: 220.3 kB / 0.7098 GB, free: 11.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.5111, allocations: 55.39 kB / 0.7098 GB, free: 11.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.5113, allocations: 220 kB / 0.7101 GB, free: 11.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.5113, allocations: 29.7 kB / 0.7101 GB, free: 11.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.5114, allocations: 227.5 kB / 0.7103 GB, free: 11.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.5115, allocations: 55.62 kB / 0.7103 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.921e-05/0.5116, allocations: 82.03 kB / 0.7104 GB, free: 10.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5117, allocations: 326.8 kB / 0.7107 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.664e-05/0.5118, allocations: 52.84 kB / 0.7108 GB, free: 10.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.5121, allocations: 317.1 kB / 0.7111 GB, free: 10.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.5126, allocations: 428.3 kB / 0.7115 GB, free: 9.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.5126, allocations: 4 kB / 0.7115 GB, free: 9.566 MB / 0.545 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005632/0.5131, allocations: 373.6 kB / 0.7119 GB, free: 9.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5132, allocations: 8.188 kB / 0.7119 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.5132, allocations: 12 kB / 0.7119 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.5132, allocations: 19.94 kB / 0.7119 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.5135, allocations: 103.8 kB / 0.712 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/0.5136, allocations: 23.86 kB / 0.712 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.5138, allocations: 23.94 kB / 0.712 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.5138, allocations: 24 kB / 0.7121 GB, free: 8.984 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.5139, allocations: 150.5 kB / 0.7122 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.514, allocations: 19.91 kB / 0.7122 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.5143, allocations: 155.8 kB / 0.7124 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.5143, allocations: 0 / 0.7124 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5143, allocations: 0 / 0.7124 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.5143, allocations: 7.922 kB / 0.7124 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.5148, allocations: 415.1 kB / 0.7128 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5148, allocations: 0 / 0.7128 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.515, allocations: 27.98 kB / 0.7128 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.515, allocations: 0 / 0.7128 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.515, allocations: 8 kB / 0.7128 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.515, allocations: 0 / 0.7128 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.515, allocations: 0 / 0.7128 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.5152, allocations: 229 kB / 0.713 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.5153, allocations: 31.86 kB / 0.7131 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.5153, allocations: 7.953 kB / 0.7131 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.5155, allocations: 12 kB / 0.7131 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.5156, allocations: 7.984 kB / 0.7131 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.5156, allocations: 11.98 kB / 0.7131 GB, free: 7.824 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001465/0.5157, allocations: 152.5 kB / 0.7132 GB, free: 7.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5157, allocations: 4 kB / 0.7133 GB, free: 7.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004658/0.5162, allocations: 95.88 kB / 0.7133 GB, free: 7.578 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006951/0.5169, allocations: 0.8036 MB / 0.7141 GB, free: 6.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003027/0.5172, allocations: 173.1 kB / 0.7143 GB, free: 6.578 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5172, allocations: 0 / 0.7143 GB, free: 6.578 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.045e-05/0.5173, allocations: 40.42 kB / 0.7143 GB, free: 6.539 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.5176, allocations: 44.75 kB / 0.7144 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.5206, allocations: 2.735 MB / 0.717 GB, free: 3.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.521, allocations: 0.7285 MB / 0.7178 GB, free: 2.656 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.5212, allocations: 58.89 kB / 0.7178 GB, free: 2.594 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.253e-05/0.5213, allocations: 67.42 kB / 0.7179 GB, free: 2.527 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.5213, allocations: 0 / 0.7179 GB, free: 2.527 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.5479, allocations: 5.589 MB / 0.7233 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.562, allocations: 6.562 kB / 0.7233 GB, free: 13.02 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.596899216994643] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'ddpT', 'ddTp', 'dddX[1]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is', 'eps'] 8.633624124806374 8.89755359 8.143859243 Calling exit ...