Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007974/0.0007974, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008234/0.0008234, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8787/0.8787, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02849/0.02849, allocations: 7.511 MB / 266.7 MB, free: 6.207 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 391.8 MB, free: 6.316 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.093e-05, allocations: 3.828 kB / 391.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.2384/0.2385, allocations: 114.7 MB / 0.4946 GB, free: 24.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06449/0.3029, allocations: 98.61 MB / 0.5909 GB, free: 8.352 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005887/0.3035, allocations: 7.938 kB / 0.5909 GB, free: 8.344 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.3059, allocations: 1.236 MB / 0.5921 GB, free: 7.105 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003386/0.3093, allocations: 1.602 MB / 0.5937 GB, free: 5.496 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05744/0.3667, allocations: 31.56 MB / 0.6245 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.3684, allocations: 1.425 MB / 0.6259 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.3686, allocations: 93.77 kB / 0.626 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2228/0.5914, allocations: 11.18 MB / 0.6369 GB, free: 29.74 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.5918, allocations: 345 kB / 0.6372 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.5918, allocations: 42.47 kB / 0.6373 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03611/0.6279, allocations: 24.05 MB / 0.6607 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.6282, allocations: 123.3 kB / 0.6609 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.6286, allocations: 222.6 kB / 0.6611 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0351/0.6637, allocations: 14.37 MB / 0.6751 GB, free: 29.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6637, allocations: 0 / 0.6751 GB, free: 29.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6637, allocations: 3.938 kB / 0.6751 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.6637, allocations: 4 kB / 0.6751 GB, free: 29.2 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005824/0.6695, allocations: 2.58 MB / 0.6776 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.6696, allocations: 9.562 kB / 0.6776 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.694e-05/0.6696, allocations: 88.7 kB / 0.6777 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003731/0.67, allocations: 84.19 kB / 0.6778 GB, free: 27.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.6704, allocations: 298 kB / 0.6781 GB, free: 27.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.6704, allocations: 27.81 kB / 0.6781 GB, free: 27.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.6705, allocations: 32.09 kB / 0.6781 GB, free: 27.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008218/0.6713, allocations: 0.759 MB / 0.6789 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.6713, allocations: 6.719 kB / 0.6789 GB, free: 27.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.6714, allocations: 17.56 kB / 0.6789 GB, free: 27.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.6714, allocations: 16.61 kB / 0.6789 GB, free: 27.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007174/0.6721, allocations: 0.5486 MB / 0.6795 GB, free: 27.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.6735, allocations: 1.714 MB / 0.6811 GB, free: 26.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.6741, allocations: 474.7 kB / 0.6816 GB, free: 26.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.6744, allocations: 318.6 kB / 0.6819 GB, free: 26.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09502/0.7694, allocations: 44.04 MB / 0.7249 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.7695, allocations: 40.5 kB / 0.7249 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=77): time 3.497e-06/0.7695, allocations: 3.281 kB / 0.7249 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81): time 0.003681/0.7731, allocations: 2.248 MB / 0.7271 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.7732, allocations: 55.41 kB / 0.7272 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.7734, allocations: 263.1 kB / 0.7274 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.7734, allocations: 37.45 kB / 0.7275 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.7735, allocations: 193.7 kB / 0.7277 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.7736, allocations: 273.1 kB / 0.7279 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.7737, allocations: 98.8 kB / 0.728 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.7738, allocations: 354.7 kB / 0.7284 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.7741, allocations: 292.4 kB / 0.7286 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.7744, allocations: 399.1 kB / 0.729 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/0.7751, allocations: 0.7157 MB / 0.7297 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7751, allocations: 4 kB / 0.7297 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008518/0.7759, allocations: 0.8103 MB / 0.7305 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.7759, allocations: 8 kB / 0.7305 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.776, allocations: 4 kB / 0.7305 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.7761, allocations: 72.2 kB / 0.7306 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.7765, allocations: 138.7 kB / 0.7307 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03608/0.8126, allocations: 18.24 MB / 0.7485 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.813, allocations: 26.92 kB / 0.7486 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.8131, allocations: 19.8 kB / 0.7486 GB, free: 8.141 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002974/0.8134, allocations: 188.3 kB / 0.7488 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.8135, allocations: 46.72 kB / 0.7488 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.815, allocations: 1.747 MB / 0.7505 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.815, allocations: 24.48 kB / 0.7505 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.815, allocations: 3.938 kB / 0.7505 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/0.8161, allocations: 1.315 MB / 0.7518 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.8178, allocations: 1.707 MB / 0.7535 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.8178, allocations: 4 kB / 0.7535 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.818, allocations: 75.05 kB / 0.7536 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/0.8182, allocations: 163.5 kB / 0.7537 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.8182, allocations: 7.688 kB / 0.7537 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.8195, allocations: 2.469 MB / 0.7561 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8195, allocations: 0 / 0.7561 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.8208, allocations: 1.412 MB / 0.7575 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.8209, allocations: 39.69 kB / 0.7575 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.821, allocations: 21.81 kB / 0.7576 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.8211, allocations: 24.41 kB / 0.7576 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.8212, allocations: 47.41 kB / 0.7576 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.8213, allocations: 10.56 kB / 0.7576 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001759/0.8214, allocations: 225.6 kB / 0.7579 GB, free: 424 kB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.8214, allocations: 0 / 0.7579 GB, free: 424 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009559/0.831, allocations: 3.571 MB / 0.7614 GB, free: 12.94 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01712/0.8481, allocations: 6.613 MB / 0.7678 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.8499, allocations: 1.027 MB / 0.7688 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8499, allocations: 0 / 0.7688 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.8504, allocations: 0.4904 MB / 0.7693 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.8516, allocations: 400.5 kB / 0.7697 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.8621, allocations: 6.307 MB / 0.7758 GB, free: 444 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.8623, allocations: 246.2 kB / 0.7761 GB, free: 172 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003447/0.8626, allocations: 138.2 kB / 0.7762 GB, free: 36 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.8628, allocations: 172.8 kB / 0.7764 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of SimCode: time 1.212e-06/0.8628, allocations: 3.938 kB / 0.7764 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3254/1.188, allocations: 135.7 MB / 0.9089 GB, free: 212.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.81, allocations: 5.094 kB / 0.9089 GB, free: 212.1 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 64.59944913163781] Failed to read output from testmodel.py, exit status != 0: 11.968169625848532 11.978779418 11.313005391 Calling exit ...