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.001594/0.001594, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001713/0.001713, allocations: 216.4 kB / 23.01 MB, free: 4.609 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.8465/0.8465, allocations: 134 MB / 447.2 MB, free: 10.26 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.002078/0.002078, allocations: 76.09 kB / 0.6198 GB, free: 6.746 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1733, allocations: 85.9 MB / 0.7037 GB, free: 0.9219 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04696/0.2203, allocations: 42.47 MB / 0.7451 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3937/0.614, allocations: 10.42 MB / 0.7553 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.6165, allocations: 82.27 kB / 0.7554 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.6186, allocations: 0.6707 MB / 0.7561 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005966/0.6246, allocations: 2.01 MB / 0.758 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.6282, allocations: 1.237 MB / 0.7592 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006224/0.6344, allocations: 3.475 MB / 0.7626 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.6363, allocations: 0.8218 MB / 0.7634 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.6403, allocations: 1.294 MB / 0.7647 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.6428, allocations: 0.9403 MB / 0.7656 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003045/0.6431, allocations: 100 kB / 0.7657 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.6464, allocations: 0.9374 MB / 0.7666 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004758/0.6469, allocations: 294.7 kB / 0.7669 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.6482, allocations: 0.6343 MB / 0.7675 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004971/0.6532, allocations: 1.994 MB / 0.7695 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6532, allocations: 0 / 0.7695 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6532, allocations: 0 / 0.7695 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.537e-05/0.6532, allocations: 1.188 kB / 0.7695 GB, free: 4.129 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.003312/0.6565, allocations: 1.486 MB / 0.7709 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.6566, allocations: 10.38 kB / 0.7709 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004444/0.657, allocations: 140 kB / 0.7711 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.6592, allocations: 1.047 MB / 0.7721 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.6592, allocations: 56.42 kB / 0.7721 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.6593, allocations: 72.03 kB / 0.7722 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.6607, allocations: 0.7916 MB / 0.773 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.6608, allocations: 5.141 kB / 0.773 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.887e-05/0.6608, allocations: 28.47 kB / 0.773 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.6609, allocations: 22.25 kB / 0.773 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.662, allocations: 0.5727 MB / 0.7736 GB, free: 2.852 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.00429/0.6663, allocations: 3.482 MB / 0.777 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.6669, allocations: 246.6 kB / 0.7772 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.6672, allocations: 163.1 kB / 0.7774 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.6675, allocations: 59.77 kB / 0.7774 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.6675, allocations: 44.12 kB / 0.7775 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/0.6675, allocations: 0 / 0.7775 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001272/0.6688, allocations: 0.5114 MB / 0.778 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.6688, allocations: 56.34 kB / 0.778 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.6701, allocations: 0.9538 MB / 0.779 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.6701, allocations: 37.64 kB / 0.779 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.6705, allocations: 0.5076 MB / 0.7795 GB, free: 160 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.6706, allocations: 115.6 kB / 0.7796 GB, free: 68 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.6707, allocations: 114.8 kB / 0.7797 GB, free: 4 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.6709, allocations: 333.3 kB / 0.78 GB, free: 15.68 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.6713, allocations: 162.1 kB / 0.7802 GB, free: 15.64 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/0.6718, allocations: 351 kB / 0.7805 GB, free: 15.37 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008833/0.6727, allocations: 0.5109 MB / 0.781 GB, free: 15.02 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6727, allocations: 1.281 kB / 0.781 GB, free: 15.02 MB / 0.5763 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001372/0.6741, allocations: 0.6258 MB / 0.7816 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.6741, allocations: 7.938 kB / 0.7816 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.6741, allocations: 11.11 kB / 0.7817 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.6741, allocations: 9.016 kB / 0.7817 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.6746, allocations: 124.8 kB / 0.7818 GB, free: 14.74 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/0.6746, allocations: 13.47 kB / 0.7818 GB, free: 14.74 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/0.6754, allocations: 82.02 kB / 0.7819 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/0.6754, allocations: 29.39 kB / 0.7819 GB, free: 14.68 MB / 0.5763 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.000517/0.6759, allocations: 279.9 kB / 0.7822 GB, free: 14.47 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.6761, allocations: 107.3 kB / 0.7823 GB, free: 14.42 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.6772, allocations: 482.1 kB / 0.7827 GB, free: 14.23 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.6772, allocations: 6.469 kB / 0.7827 GB, free: 14.23 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6772, allocations: 1.25 kB / 0.7827 GB, free: 14.23 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000762/0.678, allocations: 460.9 kB / 0.7832 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.6805, allocations: 1.343 MB / 0.7845 GB, free: 13.28 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.6805, allocations: 1.156 kB / 0.7845 GB, free: 13.28 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.6808, allocations: 82.14 kB / 0.7846 GB, free: 13.27 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.6808, allocations: 3.75 kB / 0.7846 GB, free: 13.27 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.6809, allocations: 15.33 kB / 0.7846 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.6809, allocations: 2.469 kB / 0.7846 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6809, allocations: 9.25 kB / 0.7846 GB, free: 13.25 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.6823, allocations: 0.7725 MB / 0.7854 GB, free: 12.85 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.6828, allocations: 154.6 kB / 0.7855 GB, free: 12.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.6829, allocations: 9.938 kB / 0.7855 GB, free: 12.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.6834, allocations: 28.59 kB / 0.7855 GB, free: 12.75 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.6835, allocations: 29.03 kB / 0.7856 GB, free: 12.74 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.6835, allocations: 27.14 kB / 0.7856 GB, free: 12.73 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.001051/0.6846, allocations: 0.6637 MB / 0.7862 GB, free: 12.44 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.6846, allocations: 0 / 0.7862 GB, free: 12.44 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001304/0.6859, allocations: 344.5 kB / 0.7866 GB, free: 12.36 MB / 0.5763 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.0007404/0.6866, allocations: 373.1 kB / 0.7869 GB, free: 12.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.000945/0.6876, allocations: 403.2 kB / 0.7873 GB, free: 12.09 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.6876, allocations: 3.062 kB / 0.7873 GB, free: 12.09 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.688, allocations: 171 kB / 0.7875 GB, free: 12.04 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.6907, allocations: 0.6084 MB / 0.7881 GB, free: 11.87 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.6935, allocations: 1.668 MB / 0.7897 GB, free: 10.89 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/0.6943, allocations: 1.034 MB / 0.7907 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.6945, allocations: 85.23 kB / 0.7908 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of SimCode: time 7.41e-07/0.6945, allocations: 4 kB / 0.7908 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of Templates: time 0.03254/0.7271, allocations: 18.16 MB / 0.8085 GB, free: 15.07 MB / 0.5919 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: 12.285311080049723] Failed to read output from testmodel.py, exit status != 0: 0.7356250050943345 0.753426479 0.096579469 Calling exit ...