Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.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.0007913/0.0007913, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008086/0.0008086, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8897/0.8897, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.0306/0.0306, allocations: 7.517 MB / 266.7 MB, free: 6.207 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.EthanolTestModel2,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 391.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.394e-05, allocations: 5.234 kB / 391.8 MB, free: 6.309 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.2863/0.2863, allocations: 174.6 MB / 0.5531 GB, free: 14.65 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.3106/0.597, allocations: 125.6 MB / 0.6757 GB, free: 184 kB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006372/0.5976, allocations: 16 kB / 0.6758 GB, free: 180 kB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.5999, allocations: 1.268 MB / 0.677 GB, free: 64 kB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003206/0.6031, allocations: 1.666 MB / 0.6786 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.07821/0.6813, allocations: 41.26 MB / 0.7189 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002268/0.6836, allocations: 1.969 MB / 0.7208 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.6838, allocations: 128.4 kB / 0.721 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.6851, allocations: 1.152 MB / 0.7221 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004538/0.6855, allocations: 475.3 kB / 0.7225 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.6856, allocations: 62 kB / 0.7226 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04344/0.729, allocations: 31.73 MB / 0.7536 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.7294, allocations: 181.4 kB / 0.7538 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0006577/0.73, allocations: 305 kB / 0.7541 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.04471/0.7747, allocations: 19.32 MB / 0.7729 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7747, allocations: 0 / 0.7729 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7747, allocations: 0 / 0.7729 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.7747, allocations: 0 / 0.7729 GB, free: 13.38 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.007081/0.7818, allocations: 3.395 MB / 0.7762 GB, free: 9.957 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.7819, allocations: 12.03 kB / 0.7762 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.116e-05/0.782, allocations: 102.5 kB / 0.7763 GB, free: 9.836 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004824/0.7824, allocations: 127.5 kB / 0.7765 GB, free: 9.711 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.7829, allocations: 353 kB / 0.7768 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.783, allocations: 41.88 kB / 0.7768 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.783, allocations: 51.98 kB / 0.7769 GB, free: 9.277 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.7841, allocations: 1.035 MB / 0.7779 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.7841, allocations: 7.188 kB / 0.7779 GB, free: 8.168 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.7842, allocations: 23.94 kB / 0.7779 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.7842, allocations: 25.39 kB / 0.778 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.7853, allocations: 0.7559 MB / 0.7787 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.7872, allocations: 2.284 MB / 0.7809 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008221/0.7881, allocations: 0.6479 MB / 0.7816 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004114/0.7885, allocations: 452.7 kB / 0.782 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.129/0.9175, allocations: 58.72 MB / 0.8393 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.9175, allocations: 39.06 kB / 0.8394 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=109): time 2.665e-06/0.9175, allocations: 0 / 0.8394 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117): time 0.005383/0.9229, allocations: 3.352 MB / 0.8426 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.9229, allocations: 59.91 kB / 0.8427 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.9232, allocations: 312.4 kB / 0.843 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.9232, allocations: 33.7 kB / 0.843 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.9233, allocations: 230.9 kB / 0.8433 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.9235, allocations: 394.5 kB / 0.8436 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.9236, allocations: 146.2 kB / 0.8438 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.9237, allocations: 369.4 kB / 0.8441 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.9241, allocations: 405.7 kB / 0.8445 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/0.9246, allocations: 0.5551 MB / 0.845 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009096/0.9255, allocations: 1.001 MB / 0.846 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9255, allocations: 4 kB / 0.846 GB, free: 2.332 MB / 0.6198 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001231/0.9267, allocations: 1.167 MB / 0.8472 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.9267, allocations: 4 kB / 0.8472 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.9268, allocations: 4 kB / 0.8472 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.927, allocations: 102.5 kB / 0.8473 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.9275, allocations: 208.4 kB / 0.8475 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2195/1.147, allocations: 34.98 MB / 0.8816 GB, free: 301.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/1.147, allocations: 46.05 kB / 0.8817 GB, free: 301.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/1.147, allocations: 36.11 kB / 0.8817 GB, free: 301.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002853/1.148, allocations: 217.3 kB / 0.8819 GB, free: 301.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/1.148, allocations: 60.5 kB / 0.882 GB, free: 301.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/1.15, allocations: 2.441 MB / 0.8844 GB, free: 300.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/1.15, allocations: 24.42 kB / 0.8844 GB, free: 300.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.15, allocations: 0 / 0.8844 GB, free: 300.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/1.151, allocations: 1.692 MB / 0.886 GB, free: 299.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/1.153, allocations: 2.406 MB / 0.8884 GB, free: 298.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.153, allocations: 0 / 0.8884 GB, free: 298.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/1.153, allocations: 119.1 kB / 0.8885 GB, free: 298.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/1.153, allocations: 215.7 kB / 0.8887 GB, free: 298.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/1.153, allocations: 19.44 kB / 0.8887 GB, free: 298.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/1.155, allocations: 3.77 MB / 0.8924 GB, free: 294.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.155, allocations: 3.328 kB / 0.8924 GB, free: 294.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/1.156, allocations: 2.027 MB / 0.8944 GB, free: 293.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.156, allocations: 60.78 kB / 0.8944 GB, free: 293.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/1.156, allocations: 18.08 kB / 0.8945 GB, free: 293.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/1.157, allocations: 33.31 kB / 0.8945 GB, free: 293.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/1.157, allocations: 67.95 kB / 0.8946 GB, free: 293.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/1.157, allocations: 23.88 kB / 0.8946 GB, free: 293.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001658/1.157, allocations: 252.4 kB / 0.8948 GB, free: 293.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/1.157, allocations: 0 / 0.8948 GB, free: 293.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01279/1.17, allocations: 5.546 MB / 0.9002 GB, free: 293.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.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,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.02421/1.194, allocations: 9.784 MB / 0.9098 GB, free: 290.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002043/1.196, allocations: 1.526 MB / 0.9113 GB, free: 290.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.196, allocations: 0 / 0.9113 GB, free: 290.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006665/1.197, allocations: 0.797 MB / 0.9121 GB, free: 289.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/1.198, allocations: 0.5211 MB / 0.9126 GB, free: 289.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/1.213, allocations: 8.675 MB / 0.921 GB, free: 284.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/1.213, allocations: 337.9 kB / 0.9214 GB, free: 284.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005452/1.214, allocations: 191.8 kB / 0.9216 GB, free: 284.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/1.214, allocations: 255.6 kB / 0.9218 GB, free: 284.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.724e-06/1.214, allocations: 0 / 0.9218 GB, free: 284.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2005/1.414, allocations: 214.5 MB / 1.131 GB, free: 75.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/14.18, allocations: 2.922 kB / 1.131 GB, free: 75.87 MB / 0.6355 GB " [Timeout remaining time 646] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel2_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel2.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.088207317516208] Failed to read output from testmodel.py, exit status != 0: 14.373002273030579 14.378335805 13.602045572 Calling exit ...