Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.00137/0.00137, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001741/0.001741, allocations: 214.4 kB / 22.25 MB, free: 5.129 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.509/1.509, allocations: 207.6 MB / 233 MB, free: 9.977 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.05558/0.05558, allocations: 9.157 MB / 294.4 MB, free: 12.68 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.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",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.002287/0.002287, allocations: 72.08 kB / 411.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0794/0.08169, allocations: 50.75 MB / 461.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.3661/0.4478, allocations: 129.5 MB / 0.5775 GB, free: 208 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1315/0.5793, allocations: 111.4 MB / 0.6863 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.5799, allocations: 11.94 kB / 0.6863 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003588/0.5835, allocations: 1.551 MB / 0.6879 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00409/0.5876, allocations: 1.829 MB / 0.6897 GB, free: 3.863 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.08875/0.6763, allocations: 31.52 MB / 0.7204 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002177/0.6785, allocations: 1.421 MB / 0.7218 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.6788, allocations: 81.91 kB / 0.7219 GB, free: 2.727 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:620:5-620:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01971/0.6985, allocations: 10.14 MB / 0.7318 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009238/0.6995, allocations: 406.3 kB / 0.7322 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.6996, allocations: 44 kB / 0.7322 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3393/1.039, allocations: 36.65 MB / 0.768 GB, free: 47.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002277/1.039, allocations: 126.4 kB / 0.7681 GB, free: 47.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005363/1.04, allocations: 303 kB / 0.7684 GB, free: 47.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03846/1.078, allocations: 14.17 MB / 0.7823 GB, free: 46.65 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.078, allocations: 0 / 0.7823 GB, free: 46.65 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.873e-06/1.078, allocations: 0 / 0.7823 GB, free: 46.65 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.078, allocations: 0 / 0.7823 GB, free: 46.65 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.006989/1.085, allocations: 2.605 MB / 0.7848 GB, free: 45.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.085, allocations: 11.48 kB / 0.7848 GB, free: 45.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.483e-05/1.085, allocations: 86.09 kB / 0.7849 GB, free: 45.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000641/1.086, allocations: 90.78 kB / 0.785 GB, free: 45.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/1.086, allocations: 279.3 kB / 0.7853 GB, free: 45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/1.086, allocations: 31.94 kB / 0.7853 GB, free: 45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/1.086, allocations: 30.69 kB / 0.7853 GB, free: 45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/1.088, allocations: 0.6132 MB / 0.7859 GB, free: 44.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/1.088, allocations: 7.562 kB / 0.7859 GB, free: 44.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/1.088, allocations: 14.97 kB / 0.7859 GB, free: 44.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/1.088, allocations: 11.31 kB / 0.786 GB, free: 44.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/1.089, allocations: 0.5584 MB / 0.7865 GB, free: 44.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/1.091, allocations: 2.478 MB / 0.7889 GB, free: 43.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009696/1.092, allocations: 485 kB / 0.7894 GB, free: 43.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/1.093, allocations: 321.7 kB / 0.7897 GB, free: 43.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1883/1.281, allocations: 43.91 MB / 0.8326 GB, free: 16.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/1.281, allocations: 30.84 kB / 0.8326 GB, free: 16.01 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 2.424e-06/1.281, allocations: 0 / 0.8326 GB, free: 16.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.005183/1.286, allocations: 2.24 MB / 0.8348 GB, free: 14.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/1.286, allocations: 56.44 kB / 0.8348 GB, free: 14.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/1.286, allocations: 256.1 kB / 0.8351 GB, free: 14.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/1.286, allocations: 33.45 kB / 0.8351 GB, free: 14.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/1.287, allocations: 196.2 kB / 0.8353 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/1.287, allocations: 273.7 kB / 0.8356 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/1.287, allocations: 104.3 kB / 0.8357 GB, free: 13.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/1.287, allocations: 348.4 kB / 0.836 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/1.287, allocations: 285.5 kB / 0.8363 GB, free: 13.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/1.288, allocations: 393.6 kB / 0.8366 GB, free: 12.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000894/1.289, allocations: 0.7057 MB / 0.8373 GB, free: 12.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.289, allocations: 4 kB / 0.8373 GB, free: 12.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001219/1.29, allocations: 0.8143 MB / 0.8381 GB, free: 11.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.29, allocations: 8 kB / 0.8381 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.29, allocations: 0.5625 kB / 0.8381 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/1.29, allocations: 69.2 kB / 0.8382 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/1.291, allocations: 126.9 kB / 0.8383 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06906/1.36, allocations: 19.24 MB / 0.8571 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/1.36, allocations: 27.78 kB / 0.8571 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/1.36, allocations: 23.75 kB / 0.8572 GB, free: 8.754 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0003198/1.36, allocations: 187.2 kB / 0.8573 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/1.361, allocations: 43.72 kB / 0.8574 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/1.363, allocations: 1.711 MB / 0.859 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/1.363, allocations: 11.98 kB / 0.8591 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/1.363, allocations: 0 / 0.8591 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001668/1.364, allocations: 1.282 MB / 0.8603 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/1.367, allocations: 1.725 MB / 0.862 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/1.367, allocations: 7.922 kB / 0.862 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/1.367, allocations: 71.98 kB / 0.8621 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002872/1.368, allocations: 107.1 kB / 0.8622 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/1.368, allocations: 11.75 kB / 0.8622 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/1.369, allocations: 1.89 MB / 0.864 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.369, allocations: 0 / 0.864 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/1.371, allocations: 1.348 MB / 0.8653 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/1.371, allocations: 43.69 kB / 0.8654 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/1.371, allocations: 8.688 kB / 0.8654 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/1.372, allocations: 25.28 kB / 0.8654 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/1.372, allocations: 49.2 kB / 0.8655 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/1.372, allocations: 16.25 kB / 0.8655 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002514/1.372, allocations: 219.2 kB / 0.8657 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.372, allocations: 0 / 0.8657 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009709/1.382, allocations: 3.576 MB / 0.8692 GB, free: 14.26 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.02174/1.403, allocations: 6.318 MB / 0.8754 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002819/1.406, allocations: 0.9924 MB / 0.8763 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.406, allocations: 0 / 0.8763 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009255/1.407, allocations: 489.9 kB / 0.8768 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/1.409, allocations: 385.6 kB / 0.8772 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/1.424, allocations: 6.341 MB / 0.8833 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/1.425, allocations: 0.8549 MB / 0.8842 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005231/1.425, allocations: 141.9 kB / 0.8843 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/1.425, allocations: 164.1 kB / 0.8845 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/1.425, allocations: 0 / 0.8845 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5052/1.931, allocations: 133.6 MB / 1.015 GB, free: 241.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.03/20.96, allocations: 7.016 kB / 1.015 GB, free: 241.4 MB / 0.67 GB " [Timeout remaining time 639] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.97894197097048] Failed to read output from testmodel.py, exit status != 0: 21.174540775828063 21.191878907 20.110251762 Calling exit ...