Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001322/0.001322, allocations: 114.4 kB / 17.13 MB, free: 5.914 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.001321/0.001321, allocations: 194.1 kB / 20.08 MB, free: 2.98 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.454/1.454, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.143/1.143, allocations: 175.7 MB / 479.1 MB, free: 3.434 MB / 366.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-master/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_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 65.61 kB / 0.6663 GB, free: 10.88 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2031, allocations: 94.55 MB / 0.7587 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04468/0.2478, allocations: 41.94 MB / 0.7996 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01687/0.2646, allocations: 10.43 MB / 0.8098 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.2669, allocations: 55.69 kB / 0.8099 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.2691, allocations: 0.6716 MB / 0.8105 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006007/0.2751, allocations: 1.971 MB / 0.8125 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.2786, allocations: 1.193 MB / 0.8136 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005758/0.2843, allocations: 3.404 MB / 0.8169 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.2861, allocations: 0.8647 MB / 0.8178 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00424/0.2903, allocations: 1.441 MB / 0.8192 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.2922, allocations: 0.9179 MB / 0.8201 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.2924, allocations: 103.9 kB / 0.8202 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.2948, allocations: 0.8774 MB / 0.821 GB, free: 1 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.2952, allocations: 302.7 kB / 0.8213 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00091/0.2961, allocations: 0.626 MB / 0.8219 GB, free: 76 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003454/0.2995, allocations: 1.942 MB / 0.8238 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2995, allocations: 0 / 0.8238 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.572e-06/0.2995, allocations: 0 / 0.8238 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.361e-05/0.2996, allocations: 0 / 0.8238 GB, free: 14.12 MB / 0.6387 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.002916/0.3025, allocations: 1.554 MB / 0.8254 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3025, allocations: 12.02 kB / 0.8254 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.3029, allocations: 140.1 kB / 0.8255 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.3048, allocations: 1.115 MB / 0.8266 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/0.3048, allocations: 54 kB / 0.8266 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.305, allocations: 72 kB / 0.8267 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.3064, allocations: 0.7944 MB / 0.8275 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.3064, allocations: 0 / 0.8275 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/0.3065, allocations: 28 kB / 0.8275 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.3065, allocations: 20 kB / 0.8275 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.3077, allocations: 0.5711 MB / 0.8281 GB, free: 9.637 MB / 0.6387 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.004461/0.3121, allocations: 3.711 MB / 0.8317 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.3128, allocations: 250.4 kB / 0.832 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.3131, allocations: 166 kB / 0.8321 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006113/0.3137, allocations: 0.657 MB / 0.8328 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.3138, allocations: 38.56 kB / 0.8328 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.3138, allocations: 0 / 0.8328 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31): time 0.001296/0.3151, allocations: 0.5181 MB / 0.8333 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3151, allocations: 59.34 kB / 0.8334 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.3163, allocations: 0.9533 MB / 0.8343 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.3164, allocations: 29.7 kB / 0.8343 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004394/0.3168, allocations: 0.5005 MB / 0.8348 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.317, allocations: 126.9 kB / 0.8349 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.3171, allocations: 110.2 kB / 0.835 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3173, allocations: 330 kB / 0.8353 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.3177, allocations: 161 kB / 0.8355 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.3182, allocations: 350.9 kB / 0.8358 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008758/0.3191, allocations: 0.5081 MB / 0.8363 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3191, allocations: 64 / 0.8363 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001217/0.3203, allocations: 0.6254 MB / 0.8369 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3203, allocations: 4 kB / 0.8369 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.3203, allocations: 8.688 kB / 0.837 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.3203, allocations: 8 kB / 0.837 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.3208, allocations: 135.7 kB / 0.8371 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.3208, allocations: 11.94 kB / 0.8371 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006328/0.3214, allocations: 83.44 kB / 0.8372 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.3215, allocations: 24 kB / 0.8372 GB, free: 15.65 MB / 0.6544 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.0003996/0.3219, allocations: 278.7 kB / 0.8375 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.3221, allocations: 107.3 kB / 0.8376 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.3231, allocations: 481.2 kB / 0.838 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.3231, allocations: 4 kB / 0.838 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.3231, allocations: 3.938 kB / 0.838 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007529/0.3238, allocations: 462.1 kB / 0.8385 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.326, allocations: 1.37 MB / 0.8398 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.326, allocations: 0 / 0.8398 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.3263, allocations: 75.88 kB / 0.8399 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.3264, allocations: 4 kB / 0.8399 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.3264, allocations: 12 kB / 0.8399 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.3264, allocations: 4 kB / 0.8399 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3264, allocations: 0 / 0.8399 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.3278, allocations: 0.7769 MB / 0.8407 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.3281, allocations: 228.3 kB / 0.8409 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.3282, allocations: 11.98 kB / 0.8409 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.3287, allocations: 27.91 kB / 0.8409 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.3288, allocations: 23.97 kB / 0.8409 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.3288, allocations: 19.98 kB / 0.841 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000917/0.3297, allocations: 0.6705 MB / 0.8416 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3297, allocations: 0 / 0.8416 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001013/0.3307, allocations: 339.2 kB / 0.8419 GB, free: 10.63 MB / 0.6544 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.0008542/0.3316, allocations: 388.1 kB / 0.8423 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009498/0.3326, allocations: 411.5 kB / 0.8427 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3326, allocations: 4 kB / 0.8427 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.333, allocations: 177.4 kB / 0.8429 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.3355, allocations: 0.6082 MB / 0.8435 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.3383, allocations: 1.653 MB / 0.8451 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/0.339, allocations: 1.032 MB / 0.8461 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.3392, allocations: 87.42 kB / 0.8462 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of SimCode: time 9.11e-07/0.3393, allocations: 0 / 0.8462 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of Templates: time 0.45/0.7892, allocations: 18.19 MB / 0.8639 GB, free: 86.72 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.857440265128389] Failed to read output from testmodel.py, exit status != 0: 0.7976888630073518 0.81039446 0.5080564049999999 Calling exit ...