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.001298/0.001298, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001373/0.001373, allocations: 205 kB / 21.45 MB, free: 1.629 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.476/1.476, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.001994/0.001994, allocations: 75.77 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.112, allocations: 53.33 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2598/0.3718, allocations: 50.87 MB / 477.9 MB, free: 9.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007569/0.3793, allocations: 5.217 MB / 483.1 MB, free: 5.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.3796, allocations: 8.281 kB / 483.1 MB, free: 5.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008137/0.3804, allocations: 261.4 kB / 483.4 MB, free: 4.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007977/0.3812, allocations: 367.9 kB / 483.7 MB, free: 4.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02174/0.403, allocations: 7.147 MB / 490.9 MB, free: 15.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.4046, allocations: 1.092 MB / 492 MB, free: 15.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.4049, allocations: 108.3 kB / 492.1 MB, free: 15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007371/0.4123, allocations: 3.618 MB / 495.7 MB, free: 12.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007212/0.413, allocations: 422.6 kB / 496.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.4131, allocations: 63.94 kB / 496.2 MB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02079/0.4339, allocations: 10.12 MB / 0.4944 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004702/0.4344, allocations: 235.4 kB / 0.4946 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005827/0.435, allocations: 306.9 kB / 0.4949 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01691/0.4519, allocations: 5.53 MB / 0.5003 GB, free: 11.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.4519, allocations: 4 kB / 0.5003 GB, free: 11.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4519, allocations: 0 / 0.5003 GB, free: 11.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.4519, allocations: 0 / 0.5003 GB, free: 11.53 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.003867/0.4557, allocations: 1.402 MB / 0.5017 GB, free: 10.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4558, allocations: 12.03 kB / 0.5017 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.4559, allocations: 90.52 kB / 0.5018 GB, free: 9.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.4563, allocations: 63.66 kB / 0.5019 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.4568, allocations: 358.7 kB / 0.5022 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.4569, allocations: 37 kB / 0.5022 GB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.445e-05/0.457, allocations: 40 kB / 0.5023 GB, free: 9.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.4583, allocations: 0.5843 MB / 0.5029 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.4583, allocations: 5.078 kB / 0.5029 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-05/0.4584, allocations: 24 kB / 0.5029 GB, free: 8.812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.4584, allocations: 8 kB / 0.5029 GB, free: 8.805 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.4599, allocations: 0.7433 MB / 0.5036 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01754/0.4774, allocations: 11.96 MB / 0.5153 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.4787, allocations: 0.5126 MB / 0.5158 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.4791, allocations: 242 kB / 0.516 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01608/0.4952, allocations: 11.88 MB / 0.5276 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/0.4953, allocations: 39 kB / 0.5277 GB, free: 11.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/0.4953, allocations: 4 kB / 0.5277 GB, free: 11.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006096/0.5014, allocations: 2.123 MB / 0.5298 GB, free: 8.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.5014, allocations: 59.97 kB / 0.5298 GB, free: 8.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.5018, allocations: 322.9 kB / 0.5301 GB, free: 8.422 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.625e-05/0.5019, allocations: 37.7 kB / 0.5302 GB, free: 8.379 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.502, allocations: 200.7 kB / 0.5303 GB, free: 8.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.5022, allocations: 202.3 kB / 0.5305 GB, free: 7.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.5024, allocations: 114.2 kB / 0.5306 GB, free: 7.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.5026, allocations: 350.8 kB / 0.531 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.503, allocations: 241 kB / 0.5312 GB, free: 7.277 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006821/0.5037, allocations: 343.3 kB / 0.5315 GB, free: 6.906 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.5049, allocations: 0.597 MB / 0.5321 GB, free: 6.277 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5049, allocations: 4 kB / 0.5321 GB, free: 6.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001903/0.5068, allocations: 0.7442 MB / 0.5329 GB, free: 5.516 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.5069, allocations: 11.94 kB / 0.5329 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.5069, allocations: 4 kB / 0.5329 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004999/0.5074, allocations: 110.7 kB / 0.533 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.5079, allocations: 123.8 kB / 0.5331 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.5109, allocations: 3.476 MB / 0.5365 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.5112, allocations: 12 kB / 0.5365 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/0.5112, allocations: 44.09 kB / 0.5365 GB, free: 1.434 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.000289/0.5115, allocations: 185.7 kB / 0.5367 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/0.5118, allocations: 43.77 kB / 0.5368 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.5135, allocations: 0.8112 MB / 0.5375 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.5135, allocations: 11.94 kB / 0.5376 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.5135, allocations: 0 / 0.5376 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/0.5147, allocations: 0.7713 MB / 0.5383 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.5169, allocations: 1.293 MB / 0.5396 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.517, allocations: 0 / 0.5396 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/0.5174, allocations: 99.83 kB / 0.5397 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009373/0.5183, allocations: 152.7 kB / 0.5398 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/0.5184, allocations: 19.98 kB / 0.5398 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005026/0.5189, allocations: 0.6485 MB / 0.5405 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5189, allocations: 3.984 kB / 0.5405 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.5207, allocations: 0.9094 MB / 0.5414 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5208, allocations: 121 kB / 0.5415 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.787e-05/0.5209, allocations: 12 kB / 0.5415 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.5212, allocations: 19.98 kB / 0.5415 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.5213, allocations: 28.39 kB / 0.5415 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.734e-05/0.5214, allocations: 35.97 kB / 0.5416 GB, free: 12.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003016/0.5217, allocations: 249.9 kB / 0.5418 GB, free: 11.78 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5217, allocations: 4 kB / 0.5418 GB, free: 11.78 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003766/0.5254, allocations: 1.337 MB / 0.5431 GB, free: 10.44 MB / 462.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.007701/0.5331, allocations: 3.059 MB / 0.5461 GB, free: 7.344 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.5348, allocations: 0.7762 MB / 0.5469 GB, free: 6.535 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5348, allocations: 0.5625 kB / 0.5469 GB, free: 6.535 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.5354, allocations: 279.2 kB / 0.5471 GB, free: 6.262 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.5369, allocations: 269 kB / 0.5474 GB, free: 6.004 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009772/0.5466, allocations: 5.319 MB / 0.5526 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.5472, allocations: 0.8365 MB / 0.5534 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005517/0.5477, allocations: 152.1 kB / 0.5535 GB, free: 15.49 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.548, allocations: 159.4 kB / 0.5537 GB, free: 15.33 MB / 478.1 MB Notification: Performance of SimCode: time 7.01e-07/0.548, allocations: 0 / 0.5537 GB, free: 15.33 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/0.6541, allocations: 50.7 MB / 0.6032 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.26, allocations: 8.047 kB / 0.6032 GB, free: 12.82 MB / 0.5137 GB " [Timeout remaining time 645] (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: 17.836939353961498] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.Xi[1]', 'volume.medium.p'] 15.386338589247316 15.411378069 14.954870518 Calling exit ...