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.001415/0.001415, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001778/0.001778, allocations: 217 kB / 22.25 MB, free: 5.082 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.461/1.461, allocations: 207.6 MB / 233 MB, free: 10 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.05377/0.05377, allocations: 9.153 MB / 294.4 MB, free: 12.7 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002419/0.002419, allocations: 76.7 kB / 411.1 MB, free: 46.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07954/0.08195, allocations: 50.75 MB / 461.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.3974/0.4793, allocations: 129.3 MB / 0.5773 GB, free: 296 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1274/0.6068, allocations: 111.4 MB / 0.6861 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006056/0.6074, allocations: 11.94 kB / 0.6861 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003979/0.6113, allocations: 1.551 MB / 0.6876 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004866/0.6162, allocations: 1.833 MB / 0.6894 GB, free: 4.176 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.0837/0.6999, allocations: 31.25 MB / 0.7199 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002493/0.7024, allocations: 1.418 MB / 0.7213 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.7027, allocations: 89.89 kB / 0.7214 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02401/0.7267, allocations: 11 MB / 0.7321 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007918/0.7275, allocations: 390.5 kB / 0.7325 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.856e-05/0.7276, allocations: 47.94 kB / 0.7325 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3649/1.092, allocations: 35.9 MB / 0.7676 GB, free: 47.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002736/1.093, allocations: 117.2 kB / 0.7677 GB, free: 47.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006459/1.093, allocations: 306.2 kB / 0.768 GB, free: 47.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04252/1.136, allocations: 14.01 MB / 0.7817 GB, free: 47.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/1.136, allocations: 0 / 0.7817 GB, free: 47.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/1.136, allocations: 0 / 0.7817 GB, free: 47.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.116e-05/1.136, allocations: 0 / 0.7817 GB, free: 47.29 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.007266/1.143, allocations: 2.604 MB / 0.7842 GB, free: 45.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.143, allocations: 14.58 kB / 0.7842 GB, free: 45.86 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.263e-05/1.143, allocations: 80.52 kB / 0.7843 GB, free: 45.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006683/1.144, allocations: 93.12 kB / 0.7844 GB, free: 45.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/1.144, allocations: 285.2 kB / 0.7847 GB, free: 45.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/1.145, allocations: 33.56 kB / 0.7847 GB, free: 45.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/1.145, allocations: 29.75 kB / 0.7847 GB, free: 45.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/1.146, allocations: 0.6089 MB / 0.7853 GB, free: 45.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/1.146, allocations: 0 / 0.7853 GB, free: 45.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/1.146, allocations: 17.94 kB / 0.7853 GB, free: 45.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/1.146, allocations: 15.48 kB / 0.7854 GB, free: 45.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/1.147, allocations: 0.5598 MB / 0.7859 GB, free: 45.53 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/1.149, allocations: 2.446 MB / 0.7883 GB, free: 43.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009863/1.15, allocations: 472.9 kB / 0.7887 GB, free: 43.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/1.151, allocations: 320.1 kB / 0.7891 GB, free: 43.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1911/1.342, allocations: 43.91 MB / 0.8319 GB, free: 17.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.342, allocations: 38.3 kB / 0.832 GB, free: 17.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=77): time 2.525e-06/1.342, allocations: 0 / 0.832 GB, free: 17.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=81): time 0.005383/1.347, allocations: 2.251 MB / 0.8342 GB, free: 15.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/1.347, allocations: 55.41 kB / 0.8342 GB, free: 15.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/1.347, allocations: 266.6 kB / 0.8345 GB, free: 15.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/1.347, allocations: 29.52 kB / 0.8345 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/1.347, allocations: 195.2 kB / 0.8347 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/1.348, allocations: 278.4 kB / 0.835 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/1.348, allocations: 95.42 kB / 0.835 GB, free: 14.63 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.283e-05/1.348, allocations: 352.5 kB / 0.8354 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/1.348, allocations: 290.8 kB / 0.8357 GB, free: 14.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/1.349, allocations: 402.2 kB / 0.836 GB, free: 13.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/1.349, allocations: 0.7069 MB / 0.8367 GB, free: 13.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.349, allocations: 4 kB / 0.8367 GB, free: 13.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001213/1.351, allocations: 0.8226 MB / 0.8375 GB, free: 12.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.351, allocations: 9.094 kB / 0.8376 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/1.351, allocations: 0 / 0.8376 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/1.351, allocations: 60.98 kB / 0.8376 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/1.352, allocations: 148.2 kB / 0.8378 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0674/1.419, allocations: 18.23 MB / 0.8555 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/1.419, allocations: 27.66 kB / 0.8556 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/1.42, allocations: 25.45 kB / 0.8556 GB, free: 10.8 MB / 0.5606 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.0003081/1.42, allocations: 191.7 kB / 0.8558 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/1.42, allocations: 47.66 kB / 0.8558 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/1.422, allocations: 1.741 MB / 0.8575 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/1.422, allocations: 14.58 kB / 0.8575 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.422, allocations: 4 kB / 0.8575 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001657/1.424, allocations: 1.32 MB / 0.8588 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/1.426, allocations: 1.766 MB / 0.8606 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.426, allocations: 0 / 0.8606 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/1.427, allocations: 79.77 kB / 0.8606 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003434/1.427, allocations: 168.7 kB / 0.8608 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/1.427, allocations: 17.94 kB / 0.8608 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/1.429, allocations: 2.467 MB / 0.8632 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.429, allocations: 0 / 0.8632 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/1.431, allocations: 1.416 MB / 0.8646 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/1.431, allocations: 43.62 kB / 0.8646 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/1.431, allocations: 10.23 kB / 0.8647 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/1.432, allocations: 26.22 kB / 0.8647 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.432, allocations: 53.12 kB / 0.8647 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/1.432, allocations: 13.86 kB / 0.8647 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002603/1.432, allocations: 222 kB / 0.865 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.432, allocations: 0.5469 kB / 0.865 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01052/1.443, allocations: 3.575 MB / 0.8684 GB, free: 15.54 MB / 0.5762 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.02328/1.466, allocations: 6.216 MB / 0.8745 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00267/1.469, allocations: 1.017 MB / 0.8755 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.469, allocations: 0 / 0.8755 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009273/1.47, allocations: 499.1 kB / 0.876 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/1.472, allocations: 392 kB / 0.8764 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/1.486, allocations: 6.362 MB / 0.8826 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/1.486, allocations: 0.8486 MB / 0.8834 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004649/1.487, allocations: 135.3 kB / 0.8835 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/1.487, allocations: 173.4 kB / 0.8837 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/1.487, allocations: 0 / 0.8837 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5291/2.016, allocations: 133.9 MB / 1.014 GB, free: 241.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.29/20.31, allocations: 4 kB / 1.014 GB, free: 241.5 MB / 0.67 GB " [Timeout remaining time 639] (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: 73.1357406261377] Failed to read output from testmodel.py, exit status != 0: 20.515605326974764 20.528014074 19.389315532 Calling exit ...