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.0006749/0.0006749, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008745/0.001549, allocations: 440 kB / 10.41 MB, free: 284 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.000668/0.000668, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009446/0.001613, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9235/0.9235, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08315/1.007, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.001545/0.001545, allocations: 230.5 kB / 244.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.002559, allocations: 475.6 kB / 244.8 MB, free: 14.08 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.7046/0.7046, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07635/0.781, allocations: 42.41 MB / 426.7 MB, free: 5.82 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.162e-06/1.162e-06, allocations: 0 / 428.1 MB, free: 4.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.752e-05, allocations: 6.312 kB / 428.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2101/0.2101, allocations: 13.15 MB / 441.2 MB, free: 13.64 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008528/0.2186, allocations: 5.495 MB / 446.7 MB, free: 10.39 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.2197, allocations: 78.69 kB / 446.8 MB, free: 10.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006273/0.2203, allocations: 373.9 kB / 447.2 MB, free: 10.14 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.2225, allocations: 1.344 MB / 448.5 MB, free: 9.328 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.2246, allocations: 1.085 MB / 449.6 MB, free: 8.602 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.2277, allocations: 3.382 MB / 453 MB, free: 6.695 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.2291, allocations: 0.8583 MB / 453.8 MB, free: 6.094 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.2312, allocations: 1.686 MB / 455.5 MB, free: 5.113 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.2323, allocations: 0.7713 MB / 456.3 MB, free: 4.422 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.2324, allocations: 100 kB / 456.4 MB, free: 4.324 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006138/0.233, allocations: 299.5 kB / 456.7 MB, free: 4.031 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.2332, allocations: 243 kB / 456.9 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.2335, allocations: 369.1 kB / 457.3 MB, free: 3.43 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.2345, allocations: 0.9848 MB / 458.3 MB, free: 2.441 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.2345, allocations: 0 / 458.3 MB, free: 2.441 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.2345, allocations: 0 / 458.3 MB, free: 2.441 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.2345, allocations: 0 / 458.3 MB, free: 2.441 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.001697/0.2362, allocations: 1.676 MB / 459.9 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2363, allocations: 12.75 kB / 459.9 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.2366, allocations: 162.1 kB / 460.1 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008657/0.2374, allocations: 0.7291 MB / 460.8 MB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.2376, allocations: 60.56 kB / 460.9 MB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.2377, allocations: 76.75 kB / 461 MB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.2383, allocations: 0.6955 MB / 461.7 MB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.2383, allocations: 1.969 kB / 461.7 MB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.2383, allocations: 28.56 kB / 461.7 MB, free: 14.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.2383, allocations: 24 kB / 461.7 MB, free: 14.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.2386, allocations: 203.2 kB / 461.9 MB, free: 14.65 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.002027/0.2406, allocations: 2.163 MB / 464.1 MB, free: 12.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.2408, allocations: 181.9 kB / 464.3 MB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.758e-05/0.2409, allocations: 63.64 kB / 464.3 MB, free: 12.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.187e-05/0.241, allocations: 28.61 kB / 464.3 MB, free: 12.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.241, allocations: 39.06 kB / 464.4 MB, free: 12.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 1.983e-06/0.241, allocations: 0 / 464.4 MB, free: 12.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002732/0.2413, allocations: 196.7 kB / 464.6 MB, free: 11.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.2413, allocations: 56.81 kB / 464.6 MB, free: 11.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.2417, allocations: 0.6692 MB / 465.3 MB, free: 11.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2418, allocations: 33.7 kB / 465.3 MB, free: 11.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.2419, allocations: 417.7 kB / 465.7 MB, free: 10.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.242, allocations: 115.7 kB / 465.9 MB, free: 10.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/0.2421, allocations: 118.2 kB / 466 MB, free: 10.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005306/0.2426, allocations: 330.5 kB / 466.3 MB, free: 10.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.2427, allocations: 61.62 kB / 466.4 MB, free: 10.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.2429, allocations: 390.2 kB / 466.7 MB, free: 9.578 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.2432, allocations: 356.9 kB / 467.1 MB, free: 9.168 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.2433, allocations: 7.938 kB / 467.1 MB, free: 9.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003521/0.2436, allocations: 348.2 kB / 467.4 MB, free: 8.816 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2436, allocations: 9.406 kB / 467.4 MB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2436, allocations: 6.344 kB / 467.4 MB, free: 8.805 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2436, allocations: 8 kB / 467.5 MB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.2439, allocations: 133.8 kB / 467.6 MB, free: 8.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.2439, allocations: 12.64 kB / 467.6 MB, free: 8.656 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.2441, allocations: 59.61 kB / 467.7 MB, free: 8.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.2441, allocations: 25.73 kB / 467.7 MB, free: 8.574 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.0001373/0.2443, allocations: 153 kB / 467.8 MB, free: 8.414 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.2443, allocations: 61.41 kB / 467.9 MB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.2446, allocations: 252.3 kB / 468.1 MB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.2446, allocations: 4 kB / 468.1 MB, free: 8.105 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.2446, allocations: 2.406 kB / 468.1 MB, free: 8.105 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000141/0.2448, allocations: 220.7 kB / 468.4 MB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007598/0.2455, allocations: 0.7866 MB / 469.1 MB, free: 7.031 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2455, allocations: 4 kB / 469.1 MB, free: 7.027 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.2457, allocations: 86.72 kB / 469.2 MB, free: 6.945 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.2459, allocations: 103.3 kB / 469.3 MB, free: 6.844 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.2459, allocations: 4 kB / 469.3 MB, free: 6.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.2459, allocations: 9.125 kB / 469.3 MB, free: 6.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2459, allocations: 5.969 kB / 469.4 MB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.2459, allocations: 7.875 kB / 469.4 MB, free: 6.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.2462, allocations: 433.6 kB / 469.8 MB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.2463, allocations: 8.625 kB / 469.8 MB, free: 6.355 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.2465, allocations: 25.12 kB / 469.8 MB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.2465, allocations: 38.58 kB / 469.9 MB, free: 6.297 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.2466, allocations: 11.98 kB / 469.9 MB, free: 6.285 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002423/0.2468, allocations: 327.3 kB / 470.2 MB, free: 5.965 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2468, allocations: 0.75 kB / 470.2 MB, free: 5.965 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000461/0.2473, allocations: 287.3 kB / 470.5 MB, free: 5.684 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.0002491/0.2475, allocations: 163.1 kB / 470.6 MB, free: 5.523 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.2478, allocations: 227.2 kB / 470.8 MB, free: 5.305 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.755e-05/0.2478, allocations: 19.98 kB / 470.9 MB, free: 5.285 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.2479, allocations: 114.3 kB / 471 MB, free: 5.172 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.2499, allocations: 3.249 MB / 474.2 MB, free: 1.406 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/0.2548, allocations: 1.437 MB / 475.7 MB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.2549, allocations: 185.8 kB / 475.8 MB, free: 15.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003208/0.2552, allocations: 150.6 kB / 476 MB, free: 15.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005487/0.2558, allocations: 363.8 kB / 476.3 MB, free: 15.24 MB / 458.7 MB Notification: Performance of SimCode: time 8.61e-07/0.2558, allocations: 0 / 476.3 MB, free: 15.24 MB / 458.7 MB Notification: Performance of Templates: time 0.02123/0.277, allocations: 18.39 MB / 494.7 MB, free: 13.66 MB / 474.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.7296030446887016]