Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.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.00122/0.00122, allocations: 106.6 kB / 16.45 MB, free: 6.504 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.001218/0.001218, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.225/1.225, allocations: 207.6 MB / 229.8 MB, free: 11.43 MB / 190.1 MB " [Timeout remaining time 179] 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.05086/0.05086, allocations: 9.142 MB / 290.8 MB, free: 13.93 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.CarbondioxideTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_CarbondioxideTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_CarbondioxideTestModel",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.002068/0.002068, allocations: 74.03 kB / 405.9 MB, free: 47.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08018/0.08225, allocations: 50.72 MB / 456.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.3979/0.4801, allocations: 129.3 MB / 0.5722 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1274/0.6075, allocations: 111.3 MB / 0.6809 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006168/0.6081, allocations: 7.938 kB / 0.6809 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003749/0.6119, allocations: 1.547 MB / 0.6824 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004659/0.6165, allocations: 1.826 MB / 0.6842 GB, free: 5.727 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.09145/0.708, allocations: 31.94 MB / 0.7154 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002626/0.7106, allocations: 1.402 MB / 0.7168 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.7109, allocations: 89.72 kB / 0.7168 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02311/0.734, allocations: 11.88 MB / 0.7284 GB, free: 8.285 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000802/0.7348, allocations: 386.5 kB / 0.7288 GB, free: 7.906 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.251e-05/0.7349, allocations: 44 kB / 0.7289 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4267/1.162, allocations: 37.54 MB / 0.7655 GB, free: 48.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002637/1.162, allocations: 127 kB / 0.7656 GB, free: 48.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000528/1.162, allocations: 305.1 kB / 0.7659 GB, free: 48.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05392/1.216, allocations: 14.55 MB / 0.7801 GB, free: 48.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.216, allocations: 0 / 0.7801 GB, free: 48.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.766e-06/1.216, allocations: 0 / 0.7801 GB, free: 48.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.668e-05/1.216, allocations: 4 kB / 0.7801 GB, free: 48.37 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.01/1.226, allocations: 2.674 MB / 0.7827 GB, free: 46.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/1.226, allocations: 7.25 kB / 0.7828 GB, free: 46.86 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/1.227, allocations: 92.17 kB / 0.7828 GB, free: 46.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007139/1.227, allocations: 93 kB / 0.7829 GB, free: 46.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006127/1.228, allocations: 341.8 kB / 0.7833 GB, free: 46.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/1.228, allocations: 30.69 kB / 0.7833 GB, free: 46.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/1.228, allocations: 30.91 kB / 0.7833 GB, free: 46.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/1.229, allocations: 0.5981 MB / 0.7839 GB, free: 46.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/1.229, allocations: 3.625 kB / 0.7839 GB, free: 46.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/1.229, allocations: 15.34 kB / 0.7839 GB, free: 46.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/1.229, allocations: 23.19 kB / 0.7839 GB, free: 46.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/1.23, allocations: 0.5516 MB / 0.7845 GB, free: 46.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/1.233, allocations: 2.464 MB / 0.7869 GB, free: 44.83 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/1.234, allocations: 466.9 kB / 0.7873 GB, free: 44.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004399/1.234, allocations: 303.9 kB / 0.7876 GB, free: 44.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2705/1.505, allocations: 139 MB / 0.9233 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.723e-05/1.505, allocations: 44.56 kB / 0.9234 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=77): time 3.406e-06/1.505, allocations: 0 / 0.9234 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.006365/1.511, allocations: 2.349 MB / 0.9257 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/1.511, allocations: 59.39 kB / 0.9257 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/1.512, allocations: 261 kB / 0.926 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/1.512, allocations: 29.64 kB / 0.926 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/1.512, allocations: 198.7 kB / 0.9262 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/1.512, allocations: 275.7 kB / 0.9265 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/1.512, allocations: 96.73 kB / 0.9266 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.512, allocations: 357.2 kB / 0.9269 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/1.513, allocations: 275.3 kB / 0.9272 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/1.513, allocations: 391.4 kB / 0.9275 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/1.515, allocations: 0.6933 MB / 0.9282 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.515, allocations: 0 / 0.9282 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00153/1.516, allocations: 0.8037 MB / 0.929 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.516, allocations: 4 kB / 0.929 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.516, allocations: 7.984 kB / 0.929 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/1.516, allocations: 64.77 kB / 0.9291 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007841/1.517, allocations: 148.1 kB / 0.9292 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07917/1.596, allocations: 22.95 MB / 0.9516 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/1.597, allocations: 40.81 kB / 0.9517 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/1.597, allocations: 19.36 kB / 0.9517 GB, free: 13.62 MB / 0.6856 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.0003928/1.597, allocations: 186 kB / 0.9519 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/1.598, allocations: 51.64 kB / 0.9519 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/1.6, allocations: 1.702 MB / 0.9536 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/1.6, allocations: 13.16 kB / 0.9536 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/1.6, allocations: 2.625 kB / 0.9536 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001885/1.602, allocations: 1.279 MB / 0.9548 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/1.605, allocations: 1.741 MB / 0.9565 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.605, allocations: 0 / 0.9565 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/1.605, allocations: 70.42 kB / 0.9566 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003606/1.605, allocations: 176.2 kB / 0.9568 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/1.605, allocations: 3.875 kB / 0.9568 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/1.607, allocations: 2.576 MB / 0.9593 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.607, allocations: 32 / 0.9593 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/1.61, allocations: 1.365 MB / 0.9606 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/1.61, allocations: 129.4 kB / 0.9607 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/1.61, allocations: 11.19 kB / 0.9608 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/1.61, allocations: 24.16 kB / 0.9608 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.61, allocations: 43.62 kB / 0.9608 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/1.61, allocations: 14.17 kB / 0.9608 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000286/1.611, allocations: 227.3 kB / 0.9611 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/1.611, allocations: 0 / 0.9611 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01282/1.624, allocations: 3.569 MB / 0.9645 GB, free: 2.312 MB / 0.6856 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.2624/1.886, allocations: 6.501 MB / 0.9709 GB, free: 347.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002712/1.889, allocations: 0.9983 MB / 0.9719 GB, free: 347.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.889, allocations: 0 / 0.9719 GB, free: 347.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009264/1.89, allocations: 491.6 kB / 0.9723 GB, free: 347.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/1.892, allocations: 396.8 kB / 0.9727 GB, free: 347.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/1.909, allocations: 6.269 MB / 0.9788 GB, free: 345.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/1.91, allocations: 0.854 MB / 0.9797 GB, free: 344.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006468/1.91, allocations: 134.4 kB / 0.9798 GB, free: 344.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/1.911, allocations: 172.4 kB / 0.98 GB, free: 344.3 MB / 0.6856 GB Notification: Performance of SimCode: time 1.713e-06/1.911, allocations: 3.75 kB / 0.98 GB, free: 344.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2/2.111, allocations: 133.5 MB / 1.11 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.36/22.47, allocations: 11.92 kB / 1.11 GB, free: 233.1 MB / 0.6856 GB " [Timeout remaining time 637] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_CarbondioxideTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_CarbondioxideTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 39.69706877367571] Failed to read output from testmodel.py, exit status != 0: 22.700506520923227 22.715371126 21.495774518 Calling exit ...