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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 107.7 kB / 18.88 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 200.3 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.8558/0.8558, allocations: 134 MB / 440.1 MB, free: 0.7969 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 68.42 kB / 0.6104 GB, free: 13.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1519, allocations: 84.67 MB / 0.6931 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04756/0.1995, allocations: 42.26 MB / 0.7344 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.2156, allocations: 10.44 MB / 0.7446 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.2176, allocations: 55.69 kB / 0.7446 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.2196, allocations: 0.6677 MB / 0.7453 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006226/0.2259, allocations: 1.967 MB / 0.7472 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003584/0.2295, allocations: 1.21 MB / 0.7484 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.366/0.5954, allocations: 3.395 MB / 0.7517 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.5973, allocations: 0.8078 MB / 0.7525 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003604/0.6009, allocations: 1.271 MB / 0.7537 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.603, allocations: 0.9423 MB / 0.7547 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002635/0.6033, allocations: 100.8 kB / 0.7548 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.606, allocations: 0.8839 MB / 0.7556 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004554/0.6065, allocations: 297.8 kB / 0.7559 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.6078, allocations: 0.6272 MB / 0.7565 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.6121, allocations: 1.949 MB / 0.7584 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.6121, allocations: 4.312 kB / 0.7584 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6121, allocations: 0.8125 kB / 0.7584 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.568e-05/0.6121, allocations: 1.438 kB / 0.7584 GB, free: 7.539 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.003528/0.6156, allocations: 1.55 MB / 0.7599 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.6157, allocations: 10.88 kB / 0.7599 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004769/0.6162, allocations: 139.3 kB / 0.7601 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.6183, allocations: 1.116 MB / 0.7612 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.6183, allocations: 56.03 kB / 0.7612 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.6185, allocations: 72.06 kB / 0.7613 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.6199, allocations: 0.7858 MB / 0.7621 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.6199, allocations: 3.219 kB / 0.7621 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.999e-05/0.62, allocations: 29.69 kB / 0.7621 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.62, allocations: 28.48 kB / 0.7621 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.6212, allocations: 0.5674 MB / 0.7627 GB, free: 6.133 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.005071/0.6263, allocations: 3.562 MB / 0.7661 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.6269, allocations: 244.3 kB / 0.7664 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.6272, allocations: 166.4 kB / 0.7665 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004141/0.6277, allocations: 0.6553 MB / 0.7672 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.6277, allocations: 42.52 kB / 0.7672 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.436e-06/0.6277, allocations: 1.094 kB / 0.7672 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001354/0.629, allocations: 0.5185 MB / 0.7677 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.6291, allocations: 59.53 kB / 0.7678 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.6304, allocations: 0.9501 MB / 0.7687 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/0.6304, allocations: 32.61 kB / 0.7687 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.6308, allocations: 0.4995 MB / 0.7692 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.6309, allocations: 125.3 kB / 0.7694 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.6311, allocations: 109 kB / 0.7695 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.6311, allocations: 330.9 kB / 0.7698 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.6315, allocations: 170.4 kB / 0.7699 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.632, allocations: 344 kB / 0.7703 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007733/0.6327, allocations: 0.5083 MB / 0.7708 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.6327, allocations: 2.312 kB / 0.7708 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001284/0.634, allocations: 0.6273 MB / 0.7714 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.634, allocations: 8.688 kB / 0.7714 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6341, allocations: 5.406 kB / 0.7714 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.6341, allocations: 8.062 kB / 0.7714 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.6345, allocations: 129.7 kB / 0.7715 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.6345, allocations: 11.38 kB / 0.7715 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008383/0.6354, allocations: 83.05 kB / 0.7716 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.6354, allocations: 32.22 kB / 0.7716 GB, free: 1.973 MB / 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.0004858/0.6359, allocations: 276.7 kB / 0.7719 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.6361, allocations: 106.7 kB / 0.772 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.6371, allocations: 480 kB / 0.7725 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.6372, allocations: 9.047 kB / 0.7725 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6372, allocations: 0.5625 kB / 0.7725 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006967/0.6379, allocations: 449.9 kB / 0.7729 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.6401, allocations: 1.36 MB / 0.7742 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6402, allocations: 1.25 kB / 0.7742 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.6405, allocations: 79.31 kB / 0.7743 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.6405, allocations: 7.844 kB / 0.7743 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.6405, allocations: 11.94 kB / 0.7743 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.6405, allocations: 6.062 kB / 0.7743 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6405, allocations: 1.375 kB / 0.7743 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.6418, allocations: 0.7745 MB / 0.7751 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.6423, allocations: 235.3 kB / 0.7753 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.6424, allocations: 12.7 kB / 0.7753 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/0.643, allocations: 33.72 kB / 0.7754 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.643, allocations: 27.19 kB / 0.7754 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.6431, allocations: 17.3 kB / 0.7754 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009998/0.6441, allocations: 0.6611 MB / 0.776 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6441, allocations: 1.219 kB / 0.776 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001617/0.6457, allocations: 341.1 kB / 0.7764 GB, free: 0.6445 MB / 0.5606 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.0009034/0.6466, allocations: 399 kB / 0.7768 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009866/0.6476, allocations: 401.1 kB / 0.7771 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.6476, allocations: 5.344 kB / 0.7771 GB, free: 500 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.648, allocations: 173 kB / 0.7773 GB, free: 500 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.6508, allocations: 0.6156 MB / 0.7779 GB, free: 420 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.6538, allocations: 1.631 MB / 0.7795 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007959/0.6546, allocations: 1.04 MB / 0.7805 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001042/0.6557, allocations: 199 kB / 0.7807 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.6559, allocations: 76.05 kB / 0.7808 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.6559, allocations: 0 / 0.7808 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.03856/0.6944, allocations: 21.64 MB / 0.8019 GB, free: 4.648 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.618171222973615] Failed to read output from testmodel.py, exit status != 0: 0.7021284392103553 0.7185617200000001 0.102939024 Calling exit ...