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.001366/0.001366, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001581/0.001581, allocations: 221.8 kB / 23 MB, free: 4.914 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.8512/0.8512, allocations: 134 MB / 447.2 MB, free: 9.984 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.002083/0.002083, allocations: 62.38 kB / 0.6197 GB, free: 6.418 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1786, allocations: 85.91 MB / 0.7036 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0456/0.2242, allocations: 38.4 MB / 0.7411 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.017/0.2412, allocations: 9.63 MB / 0.7505 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.2435, allocations: 79.31 kB / 0.7506 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.3673/0.6108, allocations: 0.633 MB / 0.7512 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006041/0.6168, allocations: 1.995 MB / 0.7531 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.6201, allocations: 1.207 MB / 0.7543 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00545/0.6255, allocations: 3.448 MB / 0.7577 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.627, allocations: 0.8134 MB / 0.7585 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003663/0.6307, allocations: 1.299 MB / 0.7598 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.6327, allocations: 0.8975 MB / 0.7606 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.6329, allocations: 101 kB / 0.7607 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.6352, allocations: 0.7126 MB / 0.7614 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003549/0.6356, allocations: 299.5 kB / 0.7617 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008734/0.6365, allocations: 0.5065 MB / 0.7622 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.6408, allocations: 1.96 MB / 0.7641 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.6408, allocations: 0 / 0.7641 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6408, allocations: 0 / 0.7641 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.704e-05/0.6409, allocations: 0 / 0.7641 GB, free: 4.555 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.003531/0.6444, allocations: 1.486 MB / 0.7656 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/0.6445, allocations: 9.656 kB / 0.7656 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005016/0.645, allocations: 141.4 kB / 0.7657 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.6471, allocations: 1.049 MB / 0.7667 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.6471, allocations: 58.73 kB / 0.7668 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.6472, allocations: 71.06 kB / 0.7669 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.6487, allocations: 0.9401 MB / 0.7678 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.6488, allocations: 8.828 kB / 0.7678 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/0.6488, allocations: 33.66 kB / 0.7678 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/0.6489, allocations: 19.48 kB / 0.7678 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.65, allocations: 0.5643 MB / 0.7684 GB, free: 3.098 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.003902/0.6539, allocations: 2.606 MB / 0.7709 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.6545, allocations: 248.4 kB / 0.7712 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.6548, allocations: 165.8 kB / 0.7713 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.6551, allocations: 59.86 kB / 0.7714 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.6551, allocations: 37.62 kB / 0.7714 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.6551, allocations: 0 / 0.7714 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001205/0.6563, allocations: 0.5048 MB / 0.7719 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.6563, allocations: 56.36 kB / 0.772 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.6573, allocations: 0.8109 MB / 0.7728 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.6574, allocations: 36.55 kB / 0.7728 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.6577, allocations: 0.5128 MB / 0.7733 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.6579, allocations: 115.8 kB / 0.7734 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.658, allocations: 119.7 kB / 0.7735 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.649e-05/0.6581, allocations: 330.4 kB / 0.7738 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.6585, allocations: 167 kB / 0.774 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.659, allocations: 0.4942 MB / 0.7745 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000767/0.6597, allocations: 0.5098 MB / 0.775 GB, free: 408 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.6597, allocations: 0.9375 kB / 0.775 GB, free: 408 kB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001149/0.6609, allocations: 0.6167 MB / 0.7756 GB, free: 308 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.6609, allocations: 7.719 kB / 0.7756 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6609, allocations: 4.656 kB / 0.7756 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.661, allocations: 9.219 kB / 0.7756 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/0.6614, allocations: 126 kB / 0.7757 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.6614, allocations: 11.19 kB / 0.7757 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006555/0.6621, allocations: 61.62 kB / 0.7758 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/0.6621, allocations: 33.67 kB / 0.7758 GB, free: 280 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.0004024/0.6625, allocations: 278.2 kB / 0.7761 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.6627, allocations: 91.67 kB / 0.7762 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008982/0.6636, allocations: 474.4 kB / 0.7766 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.6636, allocations: 4.875 kB / 0.7766 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6636, allocations: 4 kB / 0.7766 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007156/0.6643, allocations: 454.1 kB / 0.7771 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.6663, allocations: 1.16 MB / 0.7782 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.6663, allocations: 2.234 kB / 0.7782 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.6666, allocations: 73.28 kB / 0.7783 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.6667, allocations: 11.12 kB / 0.7783 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.6667, allocations: 8.938 kB / 0.7783 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.6667, allocations: 7.25 kB / 0.7783 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6667, allocations: 1.125 kB / 0.7783 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.668, allocations: 0.7641 MB / 0.779 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.6683, allocations: 135.2 kB / 0.7792 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.6684, allocations: 6.969 kB / 0.7792 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.6689, allocations: 33.55 kB / 0.7792 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.6689, allocations: 29.08 kB / 0.7792 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.669, allocations: 22.95 kB / 0.7793 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007768/0.6698, allocations: 0.5439 MB / 0.7798 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6698, allocations: 1.219 kB / 0.7798 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001337/0.6711, allocations: 364 kB / 0.7801 GB, free: 14.97 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.0007225/0.6718, allocations: 369.5 kB / 0.7805 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009745/0.6728, allocations: 409.6 kB / 0.7809 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6728, allocations: 1.438 kB / 0.7809 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.6732, allocations: 175.2 kB / 0.7811 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.6753, allocations: 485.5 kB / 0.7815 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.6783, allocations: 1.632 MB / 0.7831 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.6787, allocations: 449.1 kB / 0.7835 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.6789, allocations: 77.98 kB / 0.7836 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.6789, allocations: 0 / 0.7836 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of Templates: time 0.02862/0.7076, allocations: 16.88 MB / 0.8001 GB, free: 6.285 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: 10.994087974075228] Failed to read output from testmodel.py, exit status != 0: 0.7158601777628064 0.731552887 0.087256758 Calling exit ...