Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.001572/0.001572, allocations: 108.9 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.001551/0.001551, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.571/1.571, 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.05096/0.05096, allocations: 9.156 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.IsobutaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel",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.002419/0.002419, allocations: 70.52 kB / 405.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.0982, allocations: 50.71 MB / 456.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.4116/0.5098, allocations: 129.2 MB / 0.5721 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1254/0.6352, allocations: 111.3 MB / 0.6808 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007099/0.636, allocations: 8 kB / 0.6808 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003721/0.6397, allocations: 1.551 MB / 0.6823 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.6443, allocations: 1.83 MB / 0.6841 GB, free: 5.824 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.09183/0.7361, allocations: 31.33 MB / 0.7147 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002715/0.7388, allocations: 1.406 MB / 0.7161 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.7392, allocations: 81.73 kB / 0.7162 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02069/0.7599, allocations: 10.04 MB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007218/0.7606, allocations: 394.4 kB / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.7607, allocations: 44 kB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4448/1.205, allocations: 35.86 MB / 0.7614 GB, free: 48.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/1.206, allocations: 125.4 kB / 0.7615 GB, free: 48.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004903/1.206, allocations: 306 kB / 0.7618 GB, free: 48.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04048/1.247, allocations: 14.19 MB / 0.7757 GB, free: 48.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.247, allocations: 2.219 kB / 0.7757 GB, free: 48.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.365e-06/1.247, allocations: 3.375 kB / 0.7757 GB, free: 48.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.859e-05/1.247, allocations: 3.031 kB / 0.7757 GB, free: 48.12 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.007513/1.254, allocations: 2.673 MB / 0.7783 GB, free: 46.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.254, allocations: 12.66 kB / 0.7783 GB, free: 46.6 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.375e-05/1.254, allocations: 85.64 kB / 0.7784 GB, free: 46.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006446/1.255, allocations: 92.2 kB / 0.7785 GB, free: 46.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/1.256, allocations: 336.9 kB / 0.7788 GB, free: 46.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/1.256, allocations: 39.72 kB / 0.7788 GB, free: 46.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/1.256, allocations: 34.41 kB / 0.7789 GB, free: 46.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/1.257, allocations: 0.6022 MB / 0.7794 GB, free: 46.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/1.257, allocations: 0 / 0.7794 GB, free: 46.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/1.257, allocations: 11.03 kB / 0.7795 GB, free: 46.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/1.257, allocations: 18.91 kB / 0.7795 GB, free: 46.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/1.258, allocations: 0.5522 MB / 0.78 GB, free: 46.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/1.26, allocations: 2.461 MB / 0.7824 GB, free: 44.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/1.261, allocations: 459.2 kB / 0.7829 GB, free: 44.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004409/1.262, allocations: 310 kB / 0.7832 GB, free: 44.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2584/1.52, allocations: 139 MB / 0.9189 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/1.52, allocations: 40.31 kB / 0.9189 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=77): time 2.455e-06/1.52, allocations: 0.6562 kB / 0.9189 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.005985/1.526, allocations: 2.355 MB / 0.9212 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.526, allocations: 55.41 kB / 0.9213 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/1.527, allocations: 256.8 kB / 0.9215 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/1.527, allocations: 37.64 kB / 0.9216 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/1.527, allocations: 197.3 kB / 0.9217 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/1.527, allocations: 272.3 kB / 0.922 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/1.527, allocations: 96.48 kB / 0.9221 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.527, allocations: 361.6 kB / 0.9224 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/1.528, allocations: 276.9 kB / 0.9227 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005766/1.528, allocations: 390.6 kB / 0.9231 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.529, allocations: 0.6964 MB / 0.9238 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.529, allocations: 0 / 0.9238 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001472/1.531, allocations: 0.7989 MB / 0.9245 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.531, allocations: 4.375 kB / 0.9245 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.531, allocations: 8 kB / 0.9245 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/1.531, allocations: 64.45 kB / 0.9246 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/1.532, allocations: 147.1 kB / 0.9248 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07361/1.606, allocations: 19.67 MB / 0.944 GB, free: 4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/1.606, allocations: 33.84 kB / 0.944 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/1.606, allocations: 19.75 kB / 0.944 GB, free: 3.961 MB / 0.67 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.0003312/1.607, allocations: 189.4 kB / 0.9442 GB, free: 3.809 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.607, allocations: 47.66 kB / 0.9442 GB, free: 3.762 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/1.609, allocations: 1.7 MB / 0.9459 GB, free: 2.574 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/1.609, allocations: 14.42 kB / 0.9459 GB, free: 2.566 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/1.609, allocations: 0 / 0.9459 GB, free: 2.566 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001625/1.611, allocations: 1.28 MB / 0.9472 GB, free: 1.516 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/1.613, allocations: 1.735 MB / 0.9489 GB, free: 292 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.613, allocations: 0 / 0.9489 GB, free: 292 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/1.613, allocations: 82.34 kB / 0.9489 GB, free: 216 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003594/1.614, allocations: 166.3 kB / 0.9491 GB, free: 80 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/1.614, allocations: 7.938 kB / 0.9491 GB, free: 76 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/1.616, allocations: 2.577 MB / 0.9516 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.616, allocations: 1.969 kB / 0.9516 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/1.618, allocations: 1.37 MB / 0.953 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/1.618, allocations: 124.7 kB / 0.9531 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/1.618, allocations: 11.62 kB / 0.9531 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/1.618, allocations: 22.41 kB / 0.9531 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.618, allocations: 48.28 kB / 0.9532 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/1.618, allocations: 14.05 kB / 0.9532 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002558/1.619, allocations: 227.2 kB / 0.9534 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/1.619, allocations: 0 / 0.9534 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01076/1.629, allocations: 3.57 MB / 0.9569 GB, free: 8.645 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.02283/1.652, allocations: 6.294 MB / 0.963 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002618/1.655, allocations: 0.9972 MB / 0.964 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.655, allocations: 0.6875 kB / 0.964 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008326/1.656, allocations: 493.1 kB / 0.9645 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/1.658, allocations: 392.9 kB / 0.9648 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2497/1.907, allocations: 6.274 MB / 0.971 GB, free: 343.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/1.908, allocations: 0.8543 MB / 0.9718 GB, free: 342.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005153/1.908, allocations: 140.7 kB / 0.9719 GB, free: 342.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/1.908, allocations: 169.2 kB / 0.9721 GB, free: 342.6 MB / 0.6856 GB Notification: Performance of SimCode: time 8.11e-07/1.908, allocations: 0 / 0.9721 GB, free: 342.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2062/2.115, allocations: 133.3 MB / 1.102 GB, free: 236.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.83/19.94, allocations: 0 / 1.102 GB, free: 236.9 MB / 0.6856 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.94799299305305] Failed to read output from testmodel.py, exit status != 0: 20.1341677387245 20.143030192 18.893932977 Calling exit ...