Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.001857/0.001857, 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.002081/0.002081, 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.438/1.438, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.224/0.224, allocations: 46.93 MB / 361.6 MB, free: 4.223 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.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_DryAirNasa",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.002303/0.002303, allocations: 79.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.361, allocations: 66.09 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1899/0.5509, allocations: 153.5 MB / 0.7114 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00627/0.5572, allocations: 5.178 MB / 0.7165 GB, free: 5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.5573, allocations: 4 kB / 0.7165 GB, free: 4.996 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.5576, allocations: 55.61 kB / 0.7166 GB, free: 4.941 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.5607, allocations: 1.215 MB / 0.7177 GB, free: 3.723 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.561, allocations: 146.5 kB / 0.7179 GB, free: 3.586 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005324/0.5616, allocations: 402.1 kB / 0.7183 GB, free: 3.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.5616, allocations: 9.812 kB / 0.7183 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.5619, allocations: 175.3 kB / 0.7184 GB, free: 3.008 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003149/0.5622, allocations: 183.4 kB / 0.7186 GB, free: 2.828 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.5622, allocations: 8 kB / 0.7186 GB, free: 2.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.5641, allocations: 1.057 MB / 0.7197 GB, free: 1.762 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.3e-05/0.5642, allocations: 43.81 kB / 0.7197 GB, free: 1.719 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.5643, allocations: 103.5 kB / 0.7198 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.5656, allocations: 0.8571 MB / 0.7206 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5656, allocations: 0 / 0.7206 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5656, allocations: 0 / 0.7206 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.5656, allocations: 4 kB / 0.7206 GB, free: 0.7539 MB / 0.545 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.00125/0.5668, allocations: 0.6332 MB / 0.7213 GB, free: 92 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.5669, allocations: 8.031 kB / 0.7213 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.341e-05/0.5669, allocations: 58.73 kB / 0.7213 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007348/0.5743, allocations: 0.6093 MB / 0.7219 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.5748, allocations: 201.4 kB / 0.7221 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.575, allocations: 234.1 kB / 0.7223 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.263e-05/0.575, allocations: 20 kB / 0.7224 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.5766, allocations: 0.5587 MB / 0.7229 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.5767, allocations: 7.938 kB / 0.7229 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.5768, allocations: 11.94 kB / 0.7229 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.5768, allocations: 8 kB / 0.7229 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.5789, allocations: 0.6338 MB / 0.7235 GB, free: 13.63 MB / 0.5606 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.002418/0.5813, allocations: 1.579 MB / 0.7251 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.5816, allocations: 150.5 kB / 0.7252 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.5818, allocations: 76.86 kB / 0.7253 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005378/0.5823, allocations: 375.9 kB / 0.7257 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.5824, allocations: 38.56 kB / 0.7257 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.5824, allocations: 0 / 0.7257 GB, free: 11.27 MB / 0.5606 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.001021/0.5834, allocations: 323.5 kB / 0.726 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.5834, allocations: 51.41 kB / 0.7261 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.5836, allocations: 195.1 kB / 0.7262 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.5837, allocations: 29.7 kB / 0.7263 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.5838, allocations: 199.7 kB / 0.7265 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.5838, allocations: 63.48 kB / 0.7265 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.584, allocations: 98 kB / 0.7266 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5841, allocations: 326.8 kB / 0.7269 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.5843, allocations: 76.58 kB / 0.727 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.5846, allocations: 260 kB / 0.7272 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.585, allocations: 366.2 kB / 0.7276 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.585, allocations: 4 kB / 0.7276 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006324/0.5857, allocations: 384 kB / 0.728 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5857, allocations: 11.94 kB / 0.728 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5857, allocations: 4 kB / 0.728 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.5857, allocations: 12 kB / 0.728 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.5861, allocations: 127.8 kB / 0.7281 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003901/0.5865, allocations: 0.602 MB / 0.7287 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.5868, allocations: 47.67 kB / 0.7287 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/0.5868, allocations: 36 kB / 0.7288 GB, free: 7.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.587, allocations: 154.5 kB / 0.7289 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.587, allocations: 19.91 kB / 0.7289 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008032/0.5878, allocations: 417.2 kB / 0.7293 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5878, allocations: 11.94 kB / 0.7294 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5878, allocations: 3.938 kB / 0.7294 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5878, allocations: 0 / 0.7294 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008549/0.5887, allocations: 0.5311 MB / 0.7299 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.5887, allocations: 4 kB / 0.7299 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.5889, allocations: 55.97 kB / 0.7299 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5889, allocations: 0 / 0.7299 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.589, allocations: 15.92 kB / 0.73 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003428/0.5893, allocations: 0.5899 MB / 0.7305 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.5893, allocations: 4 kB / 0.7305 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.5897, allocations: 305.4 kB / 0.7308 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.5898, allocations: 31.83 kB / 0.7309 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.5898, allocations: 11.94 kB / 0.7309 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.5901, allocations: 12 kB / 0.7309 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.5901, allocations: 23.91 kB / 0.7309 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.5901, allocations: 12 kB / 0.7309 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001377/0.5903, allocations: 144.2 kB / 0.731 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5903, allocations: 4 kB / 0.7311 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006084/0.5909, allocations: 151.7 kB / 0.7312 GB, free: 5.211 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009957/0.5919, allocations: 0.9481 MB / 0.7321 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005233/0.5924, allocations: 220.8 kB / 0.7323 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5924, allocations: 0 / 0.7323 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.5926, allocations: 79.91 kB / 0.7324 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.5931, allocations: 75.25 kB / 0.7325 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.5967, allocations: 2.871 MB / 0.7353 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2493/0.8461, allocations: 0.725 MB / 0.736 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009926/0.8471, allocations: 383.4 kB / 0.7364 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.8473, allocations: 95.7 kB / 0.7364 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.8473, allocations: 0.5312 kB / 0.7364 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03621/0.8835, allocations: 7.642 MB / 0.7439 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.56, allocations: 2.188 kB / 0.7439 GB, free: 170.8 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.566259573679417] 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'] 12.660454791970551 12.678926549 12.109484229 Calling exit ...