Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.001509/0.001509, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001677/0.001677, allocations: 217 kB / 23.04 MB, free: 5.074 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8546/0.8546, allocations: 134 MB / 447.2 MB, free: 10.2 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 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.002005/0.002005, allocations: 67.78 kB / 0.6193 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1853, allocations: 85.91 MB / 0.7032 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5113/0.6966, allocations: 78.75 MB / 0.7801 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03138/0.7279, allocations: 18.94 MB / 0.7986 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005865/0.7338, allocations: 148.8 kB / 0.7988 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00465/0.7385, allocations: 1.309 MB / 0.8 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.7515, allocations: 3.887 MB / 0.8038 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006788/0.7583, allocations: 2.191 MB / 0.806 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01251/0.7708, allocations: 6.829 MB / 0.8126 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00401/0.7748, allocations: 1.612 MB / 0.8142 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008347/0.7831, allocations: 2.421 MB / 0.8166 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004639/0.7878, allocations: 1.859 MB / 0.8184 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006922/0.7885, allocations: 200.3 kB / 0.8186 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006335/0.7948, allocations: 1.771 MB / 0.8203 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.7958, allocations: 0.566 MB / 0.8209 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002566/0.7984, allocations: 1.258 MB / 0.8221 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008884/0.8073, allocations: 3.863 MB / 0.8259 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8073, allocations: 2.531 kB / 0.8259 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8073, allocations: 3.938 kB / 0.8259 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.345e-05/0.8073, allocations: 0 / 0.8259 GB, free: 8.652 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005512/0.8128, allocations: 2.72 MB / 0.8285 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.8129, allocations: 9.031 kB / 0.8285 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.349e-05/0.8129, allocations: 36.64 kB / 0.8286 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002486/0.8132, allocations: 202.1 kB / 0.8288 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/0.814, allocations: 282.3 kB / 0.829 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003971/0.818, allocations: 1.949 MB / 0.8309 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.485e-05/0.8181, allocations: 106.7 kB / 0.831 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.8183, allocations: 144 kB / 0.8312 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.8212, allocations: 1.532 MB / 0.8327 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.8213, allocations: 0 / 0.8327 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.8214, allocations: 60 kB / 0.8327 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/0.8214, allocations: 39.94 kB / 0.8328 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.8237, allocations: 1.126 MB / 0.8339 GB, free: 1.121 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.8338, allocations: 7.526 MB / 0.8412 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.8348, allocations: 440.4 kB / 0.8416 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006736/0.8355, allocations: 303.2 kB / 0.8419 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004284/0.8359, allocations: 116.4 kB / 0.842 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.836, allocations: 47.09 kB / 0.8421 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 3.015e-06/0.836, allocations: 0 / 0.8421 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.002844/0.8388, allocations: 0.9682 MB / 0.843 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.8389, allocations: 55.91 kB / 0.8431 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/0.8418, allocations: 1.791 MB / 0.8448 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.8419, allocations: 45.7 kB / 0.8449 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009595/0.8429, allocations: 0.9489 MB / 0.8458 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.8432, allocations: 230.1 kB / 0.846 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/0.8436, allocations: 234.8 kB / 0.8463 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.8438, allocations: 345.9 kB / 0.8466 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007943/0.8446, allocations: 330.4 kB / 0.8469 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.8458, allocations: 0.7016 MB / 0.8476 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.8476, allocations: 1.005 MB / 0.8486 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.8476, allocations: 4 kB / 0.8486 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002958/0.8506, allocations: 1.227 MB / 0.8498 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.8506, allocations: 14.34 kB / 0.8498 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.8506, allocations: 9.172 kB / 0.8498 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.529e-05/0.8507, allocations: 23.88 kB / 0.8498 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.8517, allocations: 292 kB / 0.8501 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/0.8517, allocations: 23.92 kB / 0.8501 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.8533, allocations: 178.7 kB / 0.8503 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.652e-05/0.8534, allocations: 48 kB / 0.8503 GB, free: 15.29 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009562/0.8544, allocations: 439.6 kB / 0.8507 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005277/0.8549, allocations: 198.7 kB / 0.8509 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.8568, allocations: 0.8763 MB / 0.8518 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/0.8568, allocations: 11.98 kB / 0.8518 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.8568, allocations: 0 / 0.8518 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001417/0.8582, allocations: 0.8056 MB / 0.8526 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004492/0.8627, allocations: 2.433 MB / 0.855 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.8627, allocations: 4 kB / 0.855 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000792/0.8635, allocations: 176 kB / 0.8551 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.8635, allocations: 8 kB / 0.8551 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.8636, allocations: 12 kB / 0.8552 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.8636, allocations: 11.94 kB / 0.8552 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8636, allocations: 0 / 0.8552 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.8664, allocations: 1.367 MB / 0.8565 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009571/0.8674, allocations: 294.5 kB / 0.8568 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.8676, allocations: 12 kB / 0.8568 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009666/0.8686, allocations: 75.83 kB / 0.8569 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.8687, allocations: 48.36 kB / 0.8569 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/0.8688, allocations: 39.97 kB / 0.857 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001999/0.8708, allocations: 1.247 MB / 0.8582 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.8708, allocations: 0 / 0.8582 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002165/0.873, allocations: 0.6588 MB / 0.8588 GB, free: 6.406 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004007/0.877, allocations: 2.388 MB / 0.8611 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.8789, allocations: 0.7845 MB / 0.8619 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8789, allocations: 0 / 0.8619 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007397/0.8796, allocations: 344 kB / 0.8622 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005644/0.8853, allocations: 1.191 MB / 0.8634 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/0.9077, allocations: 12.67 MB / 0.8758 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.9089, allocations: 1.401 MB / 0.8771 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001623/0.9105, allocations: 371 kB / 0.8775 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/0.9116, allocations: 0.7648 MB / 0.8782 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of SimCode: time 1.012e-06/0.9116, allocations: 0 / 0.8782 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/1.033, allocations: 58.55 MB / 0.9354 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.49, allocations: 11.78 kB / 0.9354 GB, free: 7.848 MB / 0.7012 GB " [Timeout remaining time 643] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.428093594964594] Failed to read output from testmodel.py, exit status != 0: 16.69427250896115 16.719080378 15.907037287 Calling exit ...