Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001593/0.001593, 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.002082/0.002082, allocations: 212 kB / 24.54 MB, free: 4.016 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.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.MoistAir1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.001987/0.001987, allocations: 68.77 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2606, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06168/0.3223, allocations: 51.17 MB / 483.1 MB, free: 3.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007168/0.3295, allocations: 5.238 MB / 488.3 MB, free: 14.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003778/0.3298, allocations: 7.938 kB / 488.3 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009436/0.3308, allocations: 254.6 kB / 488.6 MB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008506/0.3316, allocations: 373.9 kB / 488.9 MB, free: 13.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01843/0.3501, allocations: 7.205 MB / 496.2 MB, free: 6.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.3517, allocations: 1.107 MB / 497.3 MB, free: 5.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.352, allocations: 105.8 kB / 497.4 MB, free: 5.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007195/0.3592, allocations: 3.603 MB / 0.4892 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007714/0.3599, allocations: 430.5 kB / 0.4896 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.3601, allocations: 60 kB / 0.4897 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01959/0.3797, allocations: 10.19 MB / 0.4996 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.38, allocations: 231.3 kB / 0.4999 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.3805, allocations: 314.8 kB / 0.5002 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01496/0.3954, allocations: 5.526 MB / 0.5056 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3955, allocations: 0 / 0.5056 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3955, allocations: 0 / 0.5056 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.3955, allocations: 0 / 0.5056 GB, free: 0.9023 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003721/0.3992, allocations: 1.331 MB / 0.5069 GB, free: 15.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.3992, allocations: 19.95 kB / 0.5069 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.3994, allocations: 82.53 kB / 0.507 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003822/0.3998, allocations: 67.66 kB / 0.507 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/0.4003, allocations: 296.2 kB / 0.5073 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.4004, allocations: 37 kB / 0.5073 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.4005, allocations: 43.98 kB / 0.5074 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.4019, allocations: 0.592 MB / 0.508 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.402, allocations: 0 / 0.508 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.845e-05/0.402, allocations: 20 kB / 0.508 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.402, allocations: 8 kB / 0.508 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.4035, allocations: 0.7573 MB / 0.5087 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.4165, allocations: 4.169 MB / 0.5128 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.4179, allocations: 0.5047 MB / 0.5133 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004118/0.4183, allocations: 242.1 kB / 0.5135 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.4291, allocations: 2.542 MB / 0.516 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.4291, allocations: 39 kB / 0.516 GB, free: 5.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 3.086e-06/0.4291, allocations: 3.938 kB / 0.516 GB, free: 5.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.00635/0.4355, allocations: 1.897 MB / 0.5179 GB, free: 3.984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.4356, allocations: 55.91 kB / 0.5179 GB, free: 3.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.436, allocations: 320.2 kB / 0.5183 GB, free: 3.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.925e-05/0.4361, allocations: 41.7 kB / 0.5183 GB, free: 3.551 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.4363, allocations: 212.7 kB / 0.5185 GB, free: 3.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.4365, allocations: 194.3 kB / 0.5187 GB, free: 3.148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.4367, allocations: 118.3 kB / 0.5188 GB, free: 3.027 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4368, allocations: 346.8 kB / 0.5191 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.4373, allocations: 237.2 kB / 0.5194 GB, free: 2.449 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/0.438, allocations: 344.3 kB / 0.5197 GB, free: 2.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.4393, allocations: 0.6033 MB / 0.5203 GB, free: 1.445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4393, allocations: 0 / 0.5203 GB, free: 1.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001978/0.4413, allocations: 0.7519 MB / 0.521 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.4413, allocations: 7.984 kB / 0.521 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4413, allocations: 4 kB / 0.521 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/0.4419, allocations: 106.8 kB / 0.5211 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.4424, allocations: 123.8 kB / 0.5212 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.4453, allocations: 3.27 MB / 0.5244 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.4457, allocations: 16.03 kB / 0.5244 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.08e-05/0.4457, allocations: 27.98 kB / 0.5245 GB, free: 12.87 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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 {2} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003265/0.4461, allocations: 209.7 kB / 0.5247 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003381/0.4464, allocations: 47.7 kB / 0.5247 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.4481, allocations: 0.819 MB / 0.5255 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.4481, allocations: 4 kB / 0.5255 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4481, allocations: 0 / 0.5255 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/0.4494, allocations: 0.7674 MB / 0.5263 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.4517, allocations: 1.273 MB / 0.5275 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4517, allocations: 0 / 0.5275 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000455/0.4522, allocations: 95.83 kB / 0.5276 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009628/0.4531, allocations: 148.7 kB / 0.5277 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.4532, allocations: 19.98 kB / 0.5278 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004852/0.4537, allocations: 0.6483 MB / 0.5284 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4537, allocations: 4.125 kB / 0.5284 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.4555, allocations: 0.9092 MB / 0.5293 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.4557, allocations: 39.8 kB / 0.5293 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/0.4557, allocations: 12 kB / 0.5293 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.4562, allocations: 19.98 kB / 0.5294 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.4562, allocations: 40.38 kB / 0.5294 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.553e-05/0.4563, allocations: 27.97 kB / 0.5294 GB, free: 7.566 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003247/0.4566, allocations: 263 kB / 0.5297 GB, free: 7.312 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4566, allocations: 0 / 0.5297 GB, free: 7.312 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003874/0.4605, allocations: 1.337 MB / 0.531 GB, free: 5.973 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008632/0.4691, allocations: 3.039 MB / 0.5339 GB, free: 2.891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.471, allocations: 0.7724 MB / 0.5347 GB, free: 2.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.471, allocations: 0 / 0.5347 GB, free: 2.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006346/0.4716, allocations: 279.2 kB / 0.535 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.4732, allocations: 285.8 kB / 0.5352 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2178/0.6909, allocations: 5.325 MB / 0.5404 GB, free: 103 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.6912, allocations: 0.8345 MB / 0.5413 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005443/0.6918, allocations: 137.8 kB / 0.5414 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.692, allocations: 160.5 kB / 0.5415 GB, free: 102.2 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.692, allocations: 0 / 0.5415 GB, free: 102.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08134/0.7734, allocations: 51.09 MB / 0.5914 GB, free: 59.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.5, allocations: 6.438 kB / 0.5914 GB, free: 59.46 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.85314974701032] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.Xi[1]', 'volume.medium.p'] 15.623545775189996 15.640419667 15.241248906 Calling exit ...