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.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.0006953/0.0006953, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001785, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007031/0.0007031, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009781/0.001681, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9887/0.9887, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09263/1.081, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.001619/0.001619, allocations: 242.1 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001243/0.002862, allocations: 471.3 kB / 244.7 MB, free: 14.18 MB / 250.7 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 0.696/0.696, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07593/0.7719, allocations: 42.4 MB / 426.5 MB, free: 5.938 MB / 410.7 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.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(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 1.453e-06/1.453e-06, allocations: 0 / 427.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.544e-05, allocations: 2.312 kB / 427.8 MB, free: 4.609 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.222/0.222, allocations: 13.14 MB / 440.9 MB, free: 13.79 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008928/0.2309, allocations: 5.501 MB / 446.4 MB, free: 10.55 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.2326, allocations: 79.12 kB / 446.5 MB, free: 10.51 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007412/0.2333, allocations: 374.9 kB / 446.9 MB, free: 10.3 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.2362, allocations: 1.34 MB / 448.2 MB, free: 9.492 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.2383, allocations: 1.086 MB / 449.3 MB, free: 8.781 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00349/0.2418, allocations: 3.38 MB / 452.7 MB, free: 6.871 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.2433, allocations: 0.857 MB / 453.5 MB, free: 6.277 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.2459, allocations: 1.72 MB / 455.3 MB, free: 5.281 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.2471, allocations: 0.7648 MB / 456 MB, free: 4.652 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.2473, allocations: 96.53 kB / 456.1 MB, free: 4.559 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007249/0.248, allocations: 303.4 kB / 456.4 MB, free: 4.262 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.2482, allocations: 252.7 kB / 456.7 MB, free: 4.016 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.2486, allocations: 367.3 kB / 457 MB, free: 3.656 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.2497, allocations: 0.9732 MB / 458 MB, free: 2.676 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.761e-05/0.2498, allocations: 0 / 458 MB, free: 2.676 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.2498, allocations: 0.6875 kB / 458 MB, free: 2.676 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.983e-05/0.2498, allocations: 0 / 458 MB, free: 2.676 MB / 426.7 MB 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.001791/0.2516, allocations: 1.68 MB / 459.7 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.2516, allocations: 12.75 kB / 459.7 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.2519, allocations: 160.7 kB / 459.9 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009098/0.2528, allocations: 0.7367 MB / 460.6 MB, free: 20 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.2529, allocations: 54.61 kB / 460.6 MB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/0.2529, allocations: 80.59 kB / 460.7 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/0.2535, allocations: 0.6949 MB / 461.4 MB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.2536, allocations: 1.812 kB / 461.4 MB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.2536, allocations: 28 kB / 461.4 MB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.2536, allocations: 24 kB / 461.5 MB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.2539, allocations: 199.8 kB / 461.7 MB, free: 14.88 MB / 442.7 MB 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.001994/0.2559, allocations: 2.169 MB / 463.8 MB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.2561, allocations: 171 kB / 464 MB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.819e-05/0.2562, allocations: 64.53 kB / 464.1 MB, free: 12.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.902e-05/0.2563, allocations: 31.92 kB / 464.1 MB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.2563, allocations: 46.05 kB / 464.1 MB, free: 12.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 2.775e-06/0.2563, allocations: 0 / 464.1 MB, free: 12.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.00029/0.2566, allocations: 200 kB / 464.3 MB, free: 12.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.2566, allocations: 55.41 kB / 464.4 MB, free: 12.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.2571, allocations: 0.6701 MB / 465.1 MB, free: 11.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.2571, allocations: 33.7 kB / 465.1 MB, free: 11.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.2573, allocations: 410.5 kB / 465.5 MB, free: 10.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/0.2573, allocations: 119 kB / 465.6 MB, free: 10.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.2575, allocations: 118.9 kB / 465.7 MB, free: 10.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.2575, allocations: 321.9 kB / 466 MB, free: 10.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.2576, allocations: 69.8 kB / 466.1 MB, free: 10.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.2579, allocations: 394.1 kB / 466.5 MB, free: 9.797 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.2581, allocations: 337.3 kB / 466.8 MB, free: 9.406 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2581, allocations: 0 / 466.8 MB, free: 9.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003734/0.2585, allocations: 349.9 kB / 467.2 MB, free: 9.062 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2585, allocations: 4.625 kB / 467.2 MB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2585, allocations: 12.86 kB / 467.2 MB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2586, allocations: 8 kB / 467.2 MB, free: 9.039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.2588, allocations: 133.6 kB / 467.3 MB, free: 8.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.2588, allocations: 12.64 kB / 467.3 MB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.2591, allocations: 55.62 kB / 467.4 MB, free: 8.844 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.2591, allocations: 28.45 kB / 467.4 MB, free: 8.816 MB / 442.7 MB 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.0001401/0.2592, allocations: 149.1 kB / 467.6 MB, free: 8.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.2593, allocations: 67.86 kB / 467.6 MB, free: 8.594 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.2596, allocations: 246.5 kB / 467.9 MB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2596, allocations: 4 kB / 467.9 MB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2596, allocations: 0.5625 kB / 467.9 MB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000153/0.2598, allocations: 228.6 kB / 468.1 MB, free: 8.102 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007832/0.2605, allocations: 0.7863 MB / 468.9 MB, free: 7.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2605, allocations: 0 / 468.9 MB, free: 7.273 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.2607, allocations: 84.77 kB / 469 MB, free: 7.191 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.2609, allocations: 111.2 kB / 469.1 MB, free: 7.082 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2609, allocations: 4 kB / 469.1 MB, free: 7.078 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2609, allocations: 9.219 kB / 469.1 MB, free: 7.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.2609, allocations: 7.984 kB / 469.1 MB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2609, allocations: 0 / 469.1 MB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.2613, allocations: 440.6 kB / 469.5 MB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.2613, allocations: 6.469 kB / 469.5 MB, free: 6.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.2615, allocations: 20.53 kB / 469.5 MB, free: 6.578 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.2615, allocations: 33.38 kB / 469.6 MB, free: 6.547 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.2616, allocations: 16.64 kB / 469.6 MB, free: 6.531 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000247/0.2618, allocations: 332.1 kB / 469.9 MB, free: 6.207 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2618, allocations: 0 / 469.9 MB, free: 6.207 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005004/0.2623, allocations: 275.4 kB / 470.2 MB, free: 5.938 MB / 442.7 MB 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.0002467/0.2626, allocations: 160.9 kB / 470.3 MB, free: 5.777 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.2628, allocations: 224.7 kB / 470.6 MB, free: 5.559 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.839e-05/0.2628, allocations: 13.16 kB / 470.6 MB, free: 5.547 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.2629, allocations: 99.92 kB / 470.7 MB, free: 5.449 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.264, allocations: 0.5559 MB / 471.2 MB, free: 4.969 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/0.2692, allocations: 1.449 MB / 472.7 MB, free: 3.469 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.2693, allocations: 185.8 kB / 472.9 MB, free: 3.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004075/0.2697, allocations: 145.4 kB / 473 MB, free: 3.156 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005935/0.2703, allocations: 357 kB / 473.4 MB, free: 2.801 MB / 442.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2703, allocations: 0 / 473.4 MB, free: 2.801 MB / 442.7 MB Notification: Performance of Templates: time 0.02203/0.2923, allocations: 18.43 MB / 491.8 MB, free: 1.18 MB / 458.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8937013568356633]