Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001384/0.001384, 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.001878/0.001878, allocations: 210.5 kB / 22.24 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.809 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.8867/0.8867, allocations: 134 MB / 446.4 MB, free: 10.02 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.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",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.002055/0.002055, allocations: 62.91 kB / 0.6185 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1962, allocations: 85.91 MB / 0.7024 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.06832/0.2645, allocations: 38.4 MB / 0.7399 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.2811, allocations: 9.622 MB / 0.7493 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.2833, allocations: 79.31 kB / 0.7494 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.2851, allocations: 0.6405 MB / 0.75 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.4533/0.7384, allocations: 1.99 MB / 0.7519 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003994/0.7424, allocations: 1.216 MB / 0.7531 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006352/0.7488, allocations: 3.443 MB / 0.7565 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.7505, allocations: 0.8098 MB / 0.7573 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004021/0.7546, allocations: 1.299 MB / 0.7585 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.7567, allocations: 0.8958 MB / 0.7594 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002368/0.7569, allocations: 104.2 kB / 0.7595 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.7592, allocations: 0.7201 MB / 0.7602 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.7596, allocations: 294.1 kB / 0.7605 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008097/0.7604, allocations: 0.5112 MB / 0.761 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004/0.7644, allocations: 1.957 MB / 0.7629 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7644, allocations: 0 / 0.7629 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7644, allocations: 2.031 kB / 0.7629 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.357e-05/0.7645, allocations: 0 / 0.7629 GB, free: 4.219 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003225/0.7677, allocations: 1.48 MB / 0.7643 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.7677, allocations: 9.531 kB / 0.7644 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.7679, allocations: 118.3 kB / 0.7645 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004392/0.7683, allocations: 140.8 kB / 0.7646 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.7705, allocations: 1.053 MB / 0.7656 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.7705, allocations: 56.5 kB / 0.7657 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.7707, allocations: 69.34 kB / 0.7658 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.7721, allocations: 0.938 MB / 0.7667 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.7722, allocations: 9.094 kB / 0.7667 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/0.7722, allocations: 28.94 kB / 0.7667 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.7723, allocations: 23.7 kB / 0.7667 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.7734, allocations: 0.5652 MB / 0.7673 GB, free: 2.727 MB / 0.5606 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.004109/0.7775, allocations: 2.739 MB / 0.77 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006417/0.7782, allocations: 249.4 kB / 0.7702 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.7785, allocations: 164.3 kB / 0.7703 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/0.7788, allocations: 62.09 kB / 0.7704 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.7788, allocations: 37.11 kB / 0.7704 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.134e-06/0.7788, allocations: 0 / 0.7704 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001287/0.7801, allocations: 0.5168 MB / 0.7709 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.7802, allocations: 57.94 kB / 0.771 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.7814, allocations: 0.9592 MB / 0.7719 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.7815, allocations: 34.55 kB / 0.772 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004049/0.7819, allocations: 0.4976 MB / 0.7725 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.782, allocations: 119.8 kB / 0.7726 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.7822, allocations: 120.6 kB / 0.7727 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.7822, allocations: 334.9 kB / 0.773 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.7826, allocations: 164.2 kB / 0.7732 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.7832, allocations: 0.4949 MB / 0.7736 GB, free: 180 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.784, allocations: 0.5046 MB / 0.7741 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.784, allocations: 1.094 kB / 0.7741 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001376/0.7854, allocations: 0.6318 MB / 0.7748 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.7854, allocations: 7.938 kB / 0.7748 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.7854, allocations: 8.375 kB / 0.7748 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.7854, allocations: 8.75 kB / 0.7748 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.7859, allocations: 123.7 kB / 0.7749 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.786, allocations: 11.45 kB / 0.7749 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008477/0.7868, allocations: 89.08 kB / 0.775 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.7869, allocations: 29.05 kB / 0.775 GB, free: 15.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0004965/0.7874, allocations: 277.8 kB / 0.7753 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.7876, allocations: 104.8 kB / 0.7754 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.7886, allocations: 490.8 kB / 0.7759 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.7886, allocations: 4.906 kB / 0.7759 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7886, allocations: 4 kB / 0.7759 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008043/0.7894, allocations: 456 kB / 0.7763 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.7919, allocations: 1.24 MB / 0.7775 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.7919, allocations: 3.719 kB / 0.7775 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/0.7922, allocations: 77.23 kB / 0.7776 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.7922, allocations: 6.406 kB / 0.7776 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.7922, allocations: 11.72 kB / 0.7776 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.7922, allocations: 2.312 kB / 0.7776 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.7922, allocations: 6.734 kB / 0.7776 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.7936, allocations: 0.7785 MB / 0.7784 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/0.7941, allocations: 152.8 kB / 0.7785 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.7942, allocations: 8.875 kB / 0.7785 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.7947, allocations: 28.31 kB / 0.7786 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.7948, allocations: 28.66 kB / 0.7786 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.7949, allocations: 25.33 kB / 0.7786 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001078/0.7959, allocations: 0.6584 MB / 0.7792 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7959, allocations: 1.062 kB / 0.7793 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001401/0.7973, allocations: 345.5 kB / 0.7796 GB, free: 14.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002727/0.8001, allocations: 1.588 MB / 0.7811 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.8012, allocations: 408.3 kB / 0.7815 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8012, allocations: 2.5 kB / 0.7815 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004559/0.8017, allocations: 182.4 kB / 0.7817 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/0.8048, allocations: 0.6044 MB / 0.7823 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.8185, allocations: 6.853 MB / 0.789 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.8191, allocations: 456.5 kB / 0.7894 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001222/0.8204, allocations: 196.5 kB / 0.7896 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006136/0.821, allocations: 371.7 kB / 0.79 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/0.821, allocations: 0 / 0.79 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08109/0.9021, allocations: 32.64 MB / 0.8218 GB, free: 244 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.91, allocations: 8.062 kB / 0.8218 GB, free: 236 kB / 0.5919 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.875678642187268] Failed to read output from testmodel.py, exit status != 0: 13.03408176312223 13.050828304 12.283168217 Calling exit ...