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.001305/0.001305, 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.001462/0.001462, 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 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.002217/0.002217, allocations: 72.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2781, allocations: 53.37 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06496/0.343, allocations: 51.17 MB / 483.1 MB, free: 3.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007622/0.3506, allocations: 5.238 MB / 488.3 MB, free: 14.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.351, allocations: 7.938 kB / 488.3 MB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008436/0.3518, allocations: 254.6 kB / 488.6 MB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008084/0.3526, allocations: 373.9 kB / 489 MB, free: 13.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02099/0.3736, allocations: 7.209 MB / 496.2 MB, free: 6.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002356/0.376, allocations: 1.111 MB / 497.3 MB, free: 5.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003499/0.3763, allocations: 97.84 kB / 497.4 MB, free: 5.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01053/0.3868, allocations: 3.611 MB / 0.4892 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009261/0.3878, allocations: 426.6 kB / 0.4896 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.3879, allocations: 60 kB / 0.4897 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03134/0.4192, allocations: 10.18 MB / 0.4996 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006301/0.4199, allocations: 231.4 kB / 0.4999 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006978/0.4206, allocations: 318.8 kB / 0.5002 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02097/0.4415, allocations: 5.526 MB / 0.5056 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4416, allocations: 0 / 0.5056 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4416, allocations: 0 / 0.5056 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.4416, allocations: 0 / 0.5056 GB, free: 0.8789 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.005667/0.4472, allocations: 1.335 MB / 0.5069 GB, free: 15.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.4473, allocations: 8.031 kB / 0.5069 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001682/0.4475, allocations: 86.52 kB / 0.507 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006236/0.4481, allocations: 63.66 kB / 0.507 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008596/0.4489, allocations: 304.4 kB / 0.5073 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.449, allocations: 33 kB / 0.5073 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.4491, allocations: 44 kB / 0.5074 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.4515, allocations: 0.5921 MB / 0.508 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.4516, allocations: 0 / 0.508 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.303e-05/0.4517, allocations: 20 kB / 0.508 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.4517, allocations: 8 kB / 0.508 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.4542, allocations: 0.7495 MB / 0.5087 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01982/0.474, allocations: 4.176 MB / 0.5128 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.4759, allocations: 0.5047 MB / 0.5133 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.4763, allocations: 238.1 kB / 0.5135 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.487, allocations: 2.542 MB / 0.516 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/0.487, allocations: 46.94 kB / 0.516 GB, free: 5.898 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.104e-06/0.487, allocations: 0 / 0.516 GB, free: 5.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.006043/0.4931, allocations: 1.897 MB / 0.5179 GB, free: 3.961 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.4931, allocations: 55.91 kB / 0.5179 GB, free: 3.895 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.4935, allocations: 320.2 kB / 0.5183 GB, free: 3.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.4936, allocations: 41.7 kB / 0.5183 GB, free: 3.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.4937, allocations: 200.7 kB / 0.5185 GB, free: 3.328 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.4939, allocations: 206.3 kB / 0.5187 GB, free: 3.125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.4941, allocations: 110.3 kB / 0.5188 GB, free: 3.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4943, allocations: 350.7 kB / 0.5191 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.4947, allocations: 241.2 kB / 0.5194 GB, free: 2.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/0.4953, allocations: 344.2 kB / 0.5197 GB, free: 2.059 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.4966, allocations: 0.5995 MB / 0.5203 GB, free: 1.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4966, allocations: 0 / 0.5203 GB, free: 1.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001856/0.4984, allocations: 0.752 MB / 0.521 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.4985, allocations: 10.59 kB / 0.521 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4985, allocations: 4 kB / 0.521 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004938/0.499, allocations: 106.5 kB / 0.5211 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.4995, allocations: 128 kB / 0.5212 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.5023, allocations: 3.274 MB / 0.5244 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.5027, allocations: 12 kB / 0.5244 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/0.5027, allocations: 31.98 kB / 0.5245 GB, free: 12.84 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.0003057/0.503, allocations: 201.7 kB / 0.5247 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.5033, allocations: 47.77 kB / 0.5247 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.505, allocations: 0.8152 MB / 0.5255 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.505, allocations: 4 kB / 0.5255 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.505, allocations: 3.938 kB / 0.5255 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/0.5062, allocations: 0.7635 MB / 0.5263 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.5084, allocations: 1.265 MB / 0.5275 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5084, allocations: 0 / 0.5275 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/0.5088, allocations: 103.8 kB / 0.5276 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009262/0.5098, allocations: 152.7 kB / 0.5277 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.5098, allocations: 16 kB / 0.5278 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004815/0.5103, allocations: 0.6485 MB / 0.5284 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5103, allocations: 0 / 0.5284 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.5121, allocations: 0.9093 MB / 0.5293 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.5122, allocations: 39.8 kB / 0.5293 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.5122, allocations: 12 kB / 0.5293 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.5126, allocations: 20.06 kB / 0.5293 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.5127, allocations: 40.38 kB / 0.5294 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.5128, allocations: 31.97 kB / 0.5294 GB, free: 7.551 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003072/0.5131, allocations: 259 kB / 0.5297 GB, free: 7.301 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5131, allocations: 0 / 0.5297 GB, free: 7.301 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003796/0.5169, allocations: 1.345 MB / 0.531 GB, free: 5.953 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.008207/0.5251, allocations: 3.042 MB / 0.5339 GB, free: 2.871 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.5269, allocations: 0.7724 MB / 0.5347 GB, free: 2.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.5269, allocations: 0 / 0.5347 GB, free: 2.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006158/0.5275, allocations: 283.1 kB / 0.535 GB, free: 1.793 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.5289, allocations: 277.9 kB / 0.5352 GB, free: 1.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2166/0.7455, allocations: 5.329 MB / 0.5404 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.7458, allocations: 0.834 MB / 0.5413 GB, free: 102.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006221/0.7464, allocations: 147.3 kB / 0.5414 GB, free: 102.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.7467, allocations: 156.5 kB / 0.5415 GB, free: 102.1 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7467, allocations: 3.094 kB / 0.5415 GB, free: 102.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08804/0.8347, allocations: 51.07 MB / 0.5914 GB, free: 59.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/15.72, allocations: 17.41 kB / 0.5914 GB, free: 59.44 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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: 18.170734041836113] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.Xi[1]', 'volume.medium.p'] 15.847144928760827 15.867262602 15.421614365 Calling exit ...