Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.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.001273/0.001273, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001441/0.001441, allocations: 212.6 kB / 22.25 MB, free: 4.859 MB / 14.72 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 1.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.04941/0.04941, allocations: 9.134 MB / 321.6 MB, free: 10.21 MB / 254.1 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.R134aTestModel2,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 71.89 kB / 446.6 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09753, allocations: 54.94 MB / 0.4897 GB, free: 9.477 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.3931/0.4907, allocations: 176.5 MB / 0.6621 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4127/0.9033, allocations: 127.5 MB / 0.7866 GB, free: 148 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008337/0.9042, allocations: 11.41 kB / 0.7867 GB, free: 148 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003801/0.908, allocations: 1.655 MB / 0.7883 GB, free: 132 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005186/0.9131, allocations: 2.396 MB / 0.7906 GB, free: 100 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.09529/1.008, allocations: 41.57 MB / 0.8312 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002511/1.011, allocations: 1.988 MB / 0.8331 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/1.011, allocations: 133.5 kB / 0.8333 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/1.013, allocations: 0.8473 MB / 0.8341 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007139/1.013, allocations: 0.5318 MB / 0.8346 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.902e-05/1.013, allocations: 59.19 kB / 0.8347 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06733/1.081, allocations: 32.33 MB / 0.8662 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003676/1.081, allocations: 177.3 kB / 0.8664 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007068/1.082, allocations: 358.5 kB / 0.8668 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05359/1.135, allocations: 16.38 MB / 0.8828 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.135, allocations: 4 kB / 0.8828 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/1.135, allocations: 0 / 0.8828 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.85e-05/1.135, allocations: 0 / 0.8828 GB, free: 11.91 MB / 0.6075 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.008592/1.144, allocations: 3.403 MB / 0.8861 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.144, allocations: 12.03 kB / 0.8861 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/1.144, allocations: 102.5 kB / 0.8862 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000806/1.145, allocations: 127.4 kB / 0.8863 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/1.146, allocations: 360.5 kB / 0.8867 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.836e-05/1.146, allocations: 37 kB / 0.8867 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.384e-05/1.146, allocations: 52 kB / 0.8867 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/1.148, allocations: 1.028 MB / 0.8877 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/1.148, allocations: 4 kB / 0.8878 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/1.148, allocations: 20 kB / 0.8878 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/1.148, allocations: 30 kB / 0.8878 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/1.15, allocations: 0.7574 MB / 0.8885 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/1.153, allocations: 2.296 MB / 0.8908 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/1.155, allocations: 0.6373 MB / 0.8914 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008028/1.156, allocations: 455.1 kB / 0.8918 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2713/1.427, allocations: 58.72 MB / 0.9492 GB, free: 7.82 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/1.427, allocations: 39 kB / 0.9492 GB, free: 7.773 MB / 0.67 GB Notification: Performance of pre-optimization done (n=109): time 2.665e-06/1.427, allocations: 0 / 0.9492 GB, free: 7.773 MB / 0.67 GB Notification: Performance of matching and sorting (n=117): time 0.009292/1.436, allocations: 3.348 MB / 0.9525 GB, free: 4.398 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/1.436, allocations: 59.84 kB / 0.9525 GB, free: 4.328 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/1.437, allocations: 316.4 kB / 0.9528 GB, free: 4.004 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/1.437, allocations: 37.7 kB / 0.9529 GB, free: 3.961 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/1.437, allocations: 239.3 kB / 0.9531 GB, free: 3.723 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/1.437, allocations: 403.7 kB / 0.9535 GB, free: 3.336 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/1.437, allocations: 150.2 kB / 0.9536 GB, free: 3.184 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001828/1.438, allocations: 362.8 kB / 0.954 GB, free: 2.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007448/1.438, allocations: 409.7 kB / 0.9544 GB, free: 2.422 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008887/1.439, allocations: 0.5395 MB / 0.9549 GB, free: 1.832 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/1.441, allocations: 1.006 MB / 0.9559 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.441, allocations: 0 / 0.9559 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002219/1.443, allocations: 1.162 MB / 0.957 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/1.443, allocations: 8 kB / 0.957 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.443, allocations: 4 kB / 0.957 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004003/1.444, allocations: 110.9 kB / 0.9571 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009914/1.445, allocations: 199.7 kB / 0.9573 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4352/1.88, allocations: 34.98 MB / 0.9915 GB, free: 129.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/1.88, allocations: 39.81 kB / 0.9915 GB, free: 129.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/1.88, allocations: 24.14 kB / 0.9915 GB, free: 129.6 MB / 0.7012 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.0003331/1.881, allocations: 226 kB / 0.9918 GB, free: 129.5 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/1.881, allocations: 63.48 kB / 0.9918 GB, free: 129.5 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003951/1.885, allocations: 2.433 MB / 0.9942 GB, free: 129.3 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-05/1.885, allocations: 23.77 kB / 0.9942 GB, free: 129.3 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.885, allocations: 3.656 kB / 0.9942 GB, free: 129.3 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002768/1.888, allocations: 1.691 MB / 0.9959 GB, free: 128.9 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/1.891, allocations: 2.421 MB / 0.9982 GB, free: 128.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.891, allocations: 1.219 kB / 0.9982 GB, free: 128.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/1.892, allocations: 120.3 kB / 0.9984 GB, free: 128.6 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004781/1.892, allocations: 205.9 kB / 0.9986 GB, free: 128.5 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/1.892, allocations: 13.06 kB / 0.9986 GB, free: 128.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/1.894, allocations: 3.778 MB / 1.002 GB, free: 125.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.894, allocations: 1.031 kB / 1.002 GB, free: 125.1 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/1.897, allocations: 2.027 MB / 1.004 GB, free: 124.9 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/1.898, allocations: 63.52 kB / 1.004 GB, free: 124.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/1.898, allocations: 11.25 kB / 1.004 GB, free: 124.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/1.898, allocations: 34.09 kB / 1.004 GB, free: 124.8 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.898, allocations: 70.34 kB / 1.004 GB, free: 124.8 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/1.898, allocations: 22.53 kB / 1.004 GB, free: 124.8 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002952/1.898, allocations: 251.7 kB / 1.005 GB, free: 124.8 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/1.898, allocations: 0.6562 kB / 1.005 GB, free: 124.8 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01338/1.912, allocations: 5.542 MB / 1.01 GB, free: 124.8 MB / 0.7012 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.02853/1.94, allocations: 9.219 MB / 1.019 GB, free: 123.2 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00296/1.943, allocations: 1.518 MB / 1.021 GB, free: 122.8 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.943, allocations: 0 / 1.021 GB, free: 122.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/1.944, allocations: 0.8012 MB / 1.021 GB, free: 122.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/1.947, allocations: 0.5061 MB / 1.022 GB, free: 122.6 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.963, allocations: 8.745 MB / 1.03 GB, free: 119.6 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/1.963, allocations: 340.7 kB / 1.031 GB, free: 119.5 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005706/1.964, allocations: 184 kB / 1.031 GB, free: 119.5 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/1.964, allocations: 254 kB / 1.031 GB, free: 119.5 MB / 0.7012 GB Notification: Performance of SimCode: time 8.52e-07/1.964, allocations: 3.688 kB / 1.031 GB, free: 119.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.297/2.261, allocations: 213.3 MB / 1.239 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.76/22.02, allocations: 6.953 kB / 1.239 GB, free: 14.71 MB / 0.7637 GB " [Timeout remaining time 638] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel2_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel2.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.6759040360339] Failed to read output from testmodel.py, exit status != 0: 22.260970192961395 22.274848217 21.136582476 Calling exit ...