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.001529/0.001529, 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.00216/0.00216, allocations: 214 kB / 22.25 MB, free: 4.855 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.801 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.9093/0.9093, allocations: 134 MB / 446.4 MB, free: 9.98 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: translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [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.00213/0.00213, allocations: 72.55 kB / 0.619 GB, free: 6.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1804, allocations: 85.91 MB / 0.7029 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04846/0.2289, allocations: 38.39 MB / 0.7404 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01926/0.2481, allocations: 9.629 MB / 0.7498 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/0.2512, allocations: 83.31 kB / 0.7498 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.3502/0.6014, allocations: 0.6345 MB / 0.7505 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.6068, allocations: 1.996 MB / 0.7524 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003084/0.6098, allocations: 1.204 MB / 0.7536 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005046/0.6149, allocations: 3.445 MB / 0.757 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.6164, allocations: 0.8143 MB / 0.7577 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/0.6197, allocations: 1.297 MB / 0.759 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.6213, allocations: 0.892 MB / 0.7599 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002672/0.6216, allocations: 99.78 kB / 0.76 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.6237, allocations: 0.7213 MB / 0.7607 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.6241, allocations: 293.5 kB / 0.761 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007813/0.6248, allocations: 0.5114 MB / 0.7615 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003482/0.6283, allocations: 1.955 MB / 0.7634 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6283, allocations: 4 kB / 0.7634 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6283, allocations: 0 / 0.7634 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.631e-05/0.6284, allocations: 4.594 kB / 0.7634 GB, free: 4.488 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.002837/0.6312, allocations: 1.477 MB / 0.7648 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.6312, allocations: 9.438 kB / 0.7648 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004251/0.6317, allocations: 141.8 kB / 0.765 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.6336, allocations: 1.053 MB / 0.766 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.6337, allocations: 55.56 kB / 0.766 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.6338, allocations: 74.3 kB / 0.7661 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.6353, allocations: 0.9456 MB / 0.767 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.6353, allocations: 6.484 kB / 0.7671 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/0.6354, allocations: 30.56 kB / 0.7671 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.612e-05/0.6354, allocations: 19.7 kB / 0.7671 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.6366, allocations: 0.5688 MB / 0.7677 GB, free: 3.035 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.003628/0.6402, allocations: 2.607 MB / 0.7702 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/0.6408, allocations: 240.4 kB / 0.7704 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/0.6411, allocations: 167.7 kB / 0.7706 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.6414, allocations: 63.09 kB / 0.7706 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.6414, allocations: 39.16 kB / 0.7707 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.6414, allocations: 1.281 kB / 0.7707 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001274/0.6427, allocations: 0.4966 MB / 0.7712 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.6427, allocations: 56.48 kB / 0.7712 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009911/0.6437, allocations: 0.8179 MB / 0.772 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.6438, allocations: 34.58 kB / 0.7721 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.6441, allocations: 0.5102 MB / 0.7726 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.6442, allocations: 115.5 kB / 0.7727 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.6443, allocations: 117 kB / 0.7728 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.01e-05/0.6444, allocations: 332.8 kB / 0.7731 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.6448, allocations: 166.5 kB / 0.7733 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.6452, allocations: 0.4983 MB / 0.7737 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.646, allocations: 0.5118 MB / 0.7742 GB, free: 340 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.646, allocations: 1.812 kB / 0.7742 GB, free: 340 kB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001097/0.6471, allocations: 0.6104 MB / 0.7748 GB, free: 244 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6471, allocations: 7.406 kB / 0.7748 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.6471, allocations: 5.25 kB / 0.7749 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.6471, allocations: 9.031 kB / 0.7749 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.6476, allocations: 127.8 kB / 0.775 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.6476, allocations: 12.28 kB / 0.775 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.6482, allocations: 63.81 kB / 0.7751 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.6483, allocations: 26.56 kB / 0.7751 GB, free: 216 kB / 0.5606 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.0003892/0.6486, allocations: 274.7 kB / 0.7753 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.6488, allocations: 92.39 kB / 0.7754 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009896/0.6498, allocations: 484 kB / 0.7759 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.6498, allocations: 7.266 kB / 0.7759 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.6498, allocations: 0 / 0.7759 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007234/0.6505, allocations: 455.1 kB / 0.7763 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.6526, allocations: 1.166 MB / 0.7775 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.6526, allocations: 2.094 kB / 0.7775 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.6529, allocations: 75.28 kB / 0.7775 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.653, allocations: 7.75 kB / 0.7776 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.653, allocations: 10.22 kB / 0.7776 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/0.653, allocations: 10.28 kB / 0.7776 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.653, allocations: 1.219 kB / 0.7776 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.6543, allocations: 0.7575 MB / 0.7783 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.6547, allocations: 134.9 kB / 0.7784 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.6548, allocations: 8.891 kB / 0.7784 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.6552, allocations: 36.3 kB / 0.7785 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.6553, allocations: 29.41 kB / 0.7785 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.6553, allocations: 17.44 kB / 0.7785 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007438/0.6561, allocations: 0.5445 MB / 0.7791 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6561, allocations: 1.188 kB / 0.7791 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001251/0.6573, allocations: 367.7 kB / 0.7794 GB, free: 14.93 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.0006701/0.658, allocations: 373.1 kB / 0.7798 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009349/0.6589, allocations: 403.8 kB / 0.7802 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6589, allocations: 1 kB / 0.7802 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003903/0.6593, allocations: 176.2 kB / 0.7803 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.6616, allocations: 481.2 kB / 0.7808 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.6645, allocations: 1.6 MB / 0.7823 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.665, allocations: 452.4 kB / 0.7828 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006234/0.6656, allocations: 167.8 kB / 0.7829 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.6657, allocations: 76.83 kB / 0.783 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.6657, allocations: 0 / 0.783 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.0348/0.7005, allocations: 20.29 MB / 0.8028 GB, free: 3.922 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.843621609732509] Failed to read output from testmodel.py, exit status != 0: 0.7085496969521046 0.724315877 0.09258179099999994 Calling exit ...