Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 109 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 207.6 MB / 229.8 MB, free: 11.43 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05234/0.05234, allocations: 9.145 MB / 290.8 MB, free: 13.92 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 74.97 kB / 405.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08594/0.08809, allocations: 50.72 MB / 456.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.4043/0.4924, allocations: 128.5 MB / 0.5714 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1173/0.6097, allocations: 110.3 MB / 0.6792 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005255/0.6102, allocations: 11.94 kB / 0.6792 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003107/0.6133, allocations: 1.462 MB / 0.6806 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.6171, allocations: 1.721 MB / 0.6823 GB, free: 7.777 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.07817/0.6952, allocations: 30.49 MB / 0.7121 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00196/0.6972, allocations: 1.335 MB / 0.7134 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.6974, allocations: 89.72 kB / 0.7134 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01643/0.7139, allocations: 8.819 MB / 0.7221 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005714/0.7144, allocations: 386.4 kB / 0.7224 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.526e-05/0.7145, allocations: 40 kB / 0.7225 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4143/1.129, allocations: 34.12 MB / 0.7558 GB, free: 49.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003225/1.129, allocations: 126.9 kB / 0.7559 GB, free: 49.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006615/1.13, allocations: 301.9 kB / 0.7562 GB, free: 49.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05365/1.183, allocations: 14.17 MB / 0.77 GB, free: 48.6 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.183, allocations: 0 / 0.77 GB, free: 48.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.876e-06/1.183, allocations: 0 / 0.77 GB, free: 48.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.301e-05/1.183, allocations: 0 / 0.77 GB, free: 48.6 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.009715/1.193, allocations: 2.673 MB / 0.7726 GB, free: 47.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.193, allocations: 8.75 kB / 0.7726 GB, free: 47.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.631e-05/1.193, allocations: 86.34 kB / 0.7727 GB, free: 47.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006361/1.194, allocations: 89.14 kB / 0.7728 GB, free: 47.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/1.195, allocations: 344.2 kB / 0.7731 GB, free: 46.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/1.195, allocations: 30.69 kB / 0.7732 GB, free: 46.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/1.195, allocations: 33.66 kB / 0.7732 GB, free: 46.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/1.196, allocations: 0.6018 MB / 0.7738 GB, free: 46.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/1.196, allocations: 6.375 kB / 0.7738 GB, free: 46.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/1.196, allocations: 14.41 kB / 0.7738 GB, free: 46.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/1.196, allocations: 15.31 kB / 0.7738 GB, free: 46.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/1.197, allocations: 0.5484 MB / 0.7744 GB, free: 46.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/1.2, allocations: 2.504 MB / 0.7768 GB, free: 45.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/1.201, allocations: 474.2 kB / 0.7773 GB, free: 45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/1.202, allocations: 306.2 kB / 0.7776 GB, free: 44.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2554/1.457, allocations: 139 MB / 0.9133 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.457, allocations: 41.28 kB / 0.9133 GB, free: 16.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 3.025e-06/1.457, allocations: 4 kB / 0.9133 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.005323/1.463, allocations: 2.339 MB / 0.9156 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/1.463, allocations: 56.28 kB / 0.9157 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/1.463, allocations: 256.5 kB / 0.9159 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/1.463, allocations: 30.33 kB / 0.9159 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.427e-05/1.463, allocations: 196.1 kB / 0.9161 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/1.463, allocations: 277.8 kB / 0.9164 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/1.463, allocations: 92.86 kB / 0.9165 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.464, allocations: 359.9 kB / 0.9168 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/1.464, allocations: 274.8 kB / 0.9171 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/1.464, allocations: 405.4 kB / 0.9175 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000895/1.465, allocations: 0.7097 MB / 0.9182 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.465, allocations: 0 / 0.9182 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001306/1.467, allocations: 0.7973 MB / 0.9189 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.467, allocations: 15.55 kB / 0.919 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/1.467, allocations: 4 kB / 0.919 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002442/1.467, allocations: 60.64 kB / 0.919 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006087/1.467, allocations: 128.4 kB / 0.9191 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07148/1.539, allocations: 19.87 MB / 0.9385 GB, free: 8.434 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/1.539, allocations: 35.78 kB / 0.9386 GB, free: 8.406 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/1.539, allocations: 20.59 kB / 0.9386 GB, free: 8.391 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {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.0002905/1.54, allocations: 193.4 kB / 0.9388 GB, free: 8.238 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/1.54, allocations: 43.72 kB / 0.9388 GB, free: 8.195 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/1.542, allocations: 1.579 MB / 0.9404 GB, free: 7.078 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/1.542, allocations: 15.45 kB / 0.9404 GB, free: 7.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/1.542, allocations: 0 / 0.9404 GB, free: 7.07 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001506/1.543, allocations: 1.177 MB / 0.9415 GB, free: 6.086 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/1.546, allocations: 1.625 MB / 0.9431 GB, free: 4.918 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.546, allocations: 4.75 kB / 0.9431 GB, free: 4.914 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/1.546, allocations: 76.72 kB / 0.9432 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/1.546, allocations: 105.9 kB / 0.9433 GB, free: 4.758 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/1.546, allocations: 11.8 kB / 0.9433 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/1.548, allocations: 1.989 MB / 0.9453 GB, free: 2.715 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.548, allocations: 0 / 0.9453 GB, free: 2.715 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/1.55, allocations: 1.251 MB / 0.9465 GB, free: 1.836 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/1.55, allocations: 124.7 kB / 0.9466 GB, free: 1.699 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/1.55, allocations: 15.83 kB / 0.9466 GB, free: 1.688 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/1.55, allocations: 27.78 kB / 0.9466 GB, free: 1.664 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/1.551, allocations: 42.33 kB / 0.9467 GB, free: 1.633 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/1.551, allocations: 17.12 kB / 0.9467 GB, free: 1.621 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002624/1.551, allocations: 245.1 kB / 0.9469 GB, free: 1.434 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.551, allocations: 0 / 0.9469 GB, free: 1.434 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009985/1.561, allocations: 3.568 MB / 0.9504 GB, free: 13.96 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0234/1.584, allocations: 6.281 MB / 0.9565 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002346/1.587, allocations: 0.9466 MB / 0.9575 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.587, allocations: 4.188 kB / 0.9575 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008726/1.587, allocations: 489.3 kB / 0.9579 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/1.589, allocations: 392 kB / 0.9583 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/1.605, allocations: 6.358 MB / 0.9645 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/1.606, allocations: 0.8485 MB / 0.9653 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005554/1.606, allocations: 147.2 kB / 0.9655 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/1.607, allocations: 164.1 kB / 0.9656 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of SimCode: time 8.31e-07/1.607, allocations: 4 kB / 0.9656 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4317/2.038, allocations: 132.6 MB / 1.095 GB, free: 243.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.86/19.9, allocations: 7.891 kB / 1.095 GB, free: 243.1 MB / 0.6856 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 35.40716765308753] Failed to read output from testmodel.py, exit status != 0: 20.083496119827032 20.093167186 18.907568755 Calling exit ...