Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001281/0.001281, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001406/0.001406, allocations: 188.4 kB / 22.22 MB, free: 5.105 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.376/1.376, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002417/0.002417, allocations: 279 kB / 306.6 MB, free: 8.336 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.176/1.176, allocations: 180.8 MB / 0.53 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002883/0.002883, allocations: 103.9 kB / 0.7308 GB, free: 38.66 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1601, allocations: 94.2 MB / 0.8228 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04415/0.2043, allocations: 42.25 MB / 0.8641 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.22, allocations: 10.45 MB / 0.8743 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.2218, allocations: 75.38 kB / 0.8744 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.2235, allocations: 0.6794 MB / 0.8751 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005067/0.2286, allocations: 2.003 MB / 0.877 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.2316, allocations: 1.242 MB / 0.8782 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004669/0.2363, allocations: 3.49 MB / 0.8816 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.2377, allocations: 0.8184 MB / 0.8824 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003614/0.2413, allocations: 1.285 MB / 0.8837 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.2429, allocations: 0.9372 MB / 0.8846 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.2431, allocations: 100 kB / 0.8847 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.2452, allocations: 0.9045 MB / 0.8856 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.2456, allocations: 294.8 kB / 0.8859 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007764/0.2463, allocations: 0.6337 MB / 0.8865 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003111/0.2495, allocations: 1.931 MB / 0.8884 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2495, allocations: 4 kB / 0.8884 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2495, allocations: 0 / 0.8884 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.2495, allocations: 0 / 0.8884 GB, free: 14.55 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.002556/0.252, allocations: 1.473 MB / 0.8898 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2521, allocations: 8.031 kB / 0.8898 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.2524, allocations: 152.1 kB / 0.89 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.2543, allocations: 1.044 MB / 0.891 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/0.2544, allocations: 50 kB / 0.891 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.2545, allocations: 76 kB / 0.8911 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.2559, allocations: 0.7866 MB / 0.8919 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.2559, allocations: 11.98 kB / 0.8919 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.506e-05/0.256, allocations: 28 kB / 0.8919 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/0.256, allocations: 27.92 kB / 0.8919 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.2572, allocations: 0.5633 MB / 0.8925 GB, free: 10.23 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.004463/0.2617, allocations: 3.492 MB / 0.8959 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/0.2623, allocations: 238.4 kB / 0.8961 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.2626, allocations: 166.8 kB / 0.8963 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/0.2629, allocations: 67.94 kB / 0.8963 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2629, allocations: 38.56 kB / 0.8964 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/0.2629, allocations: 3.938 kB / 0.8964 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31): time 0.001196/0.2641, allocations: 0.5148 MB / 0.8969 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.2642, allocations: 55.41 kB / 0.8969 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.2654, allocations: 0.9572 MB / 0.8979 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.2654, allocations: 33.7 kB / 0.8979 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/0.2659, allocations: 0.4965 MB / 0.8984 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.266, allocations: 119 kB / 0.8985 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.2661, allocations: 114.2 kB / 0.8986 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2663, allocations: 337.9 kB / 0.8989 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.2667, allocations: 165.2 kB / 0.8991 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.2672, allocations: 351.8 kB / 0.8994 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008593/0.268, allocations: 0.5156 MB / 0.8999 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.268, allocations: 4 kB / 0.8999 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001174/0.2692, allocations: 0.6254 MB / 0.9005 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.2692, allocations: 8 kB / 0.9006 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.2692, allocations: 4 kB / 0.9006 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.2693, allocations: 8 kB / 0.9006 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.2697, allocations: 127.8 kB / 0.9007 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.2697, allocations: 12.42 kB / 0.9007 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005891/0.2703, allocations: 91.5 kB / 0.9008 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.2704, allocations: 24 kB / 0.9008 GB, free: 1.242 MB / 0.6387 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.0003854/0.2707, allocations: 286.1 kB / 0.9011 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.2709, allocations: 103.3 kB / 0.9012 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000983/0.2719, allocations: 488.5 kB / 0.9016 GB, free: 380 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.2719, allocations: 4 kB / 0.9016 GB, free: 376 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2719, allocations: 4 kB / 0.9017 GB, free: 372 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007494/0.2727, allocations: 457.4 kB / 0.9021 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.2748, allocations: 1.342 MB / 0.9034 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2748, allocations: 0 / 0.9034 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.2751, allocations: 80.05 kB / 0.9035 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.2751, allocations: 7.938 kB / 0.9035 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.2752, allocations: 11.98 kB / 0.9035 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2752, allocations: 4 kB / 0.9035 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2752, allocations: 3.938 kB / 0.9035 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.2765, allocations: 0.768 MB / 0.9043 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.2768, allocations: 163.1 kB / 0.9044 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.2769, allocations: 8 kB / 0.9044 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.2774, allocations: 28.03 kB / 0.9044 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.2774, allocations: 35.83 kB / 0.9045 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.2775, allocations: 19.98 kB / 0.9045 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008932/0.2784, allocations: 0.6666 MB / 0.9051 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.2784, allocations: 0 / 0.9051 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009251/0.2793, allocations: 339.3 kB / 0.9055 GB, free: 12.32 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.0007249/0.28, allocations: 394.3 kB / 0.9058 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008645/0.2809, allocations: 404 kB / 0.9062 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2809, allocations: 0 / 0.9062 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.2813, allocations: 181.3 kB / 0.9064 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.2836, allocations: 0.6114 MB / 0.907 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.2861, allocations: 1.628 MB / 0.9086 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/0.2868, allocations: 1.036 MB / 0.9096 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005982/0.2874, allocations: 201.5 kB / 0.9098 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.2876, allocations: 83.42 kB / 0.9099 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of SimCode: time 5.82e-07/0.2876, allocations: 0 / 0.9099 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of Templates: time 0.03779/0.3254, allocations: 21.83 MB / 0.9312 GB, free: 2.23 MB / 0.67 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.601641098037362] Failed to read output from testmodel.py, exit status != 0: 0.3344089426100254 0.350073672 0.097614641 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8b391417b0>