Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.001705/0.001705, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.00208/0.00208, allocations: 166.1 kB / 22.46 MB, free: 5.375 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.691/1.691, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002419/0.002419, allocations: 249.2 kB / 259.4 MB, free: 464 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.068/1.068, allocations: 138.4 MB / 454.3 MB, free: 2.008 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.951e-05, allocations: 9.594 kB / 0.6468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003289/0.003309, allocations: 2.038 MB / 0.6488 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.005237, allocations: 1.142 MB / 0.6499 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.005316, allocations: 4 kB / 0.6499 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.005716, allocations: 107.3 kB / 0.65 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.00583, allocations: 51.58 kB / 0.6501 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/0.006505, allocations: 263.3 kB / 0.6503 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.006868, allocations: 307.2 kB / 0.6506 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.007012, allocations: 67.5 kB / 0.6507 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.007197, allocations: 151.7 kB / 0.6508 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.007352, allocations: 99.73 kB / 0.6509 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.007405, allocations: 39.94 kB / 0.651 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.007801, allocations: 235.7 kB / 0.6512 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.00792, allocations: 103.6 kB / 0.6513 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.008038, allocations: 91.77 kB / 0.6514 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.2436/0.2516, allocations: 0.6052 MB / 0.652 GB, free: 53.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.2517, allocations: 0.625 kB / 0.652 GB, free: 53.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2517, allocations: 0 / 0.652 GB, free: 53.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.2517, allocations: 0 / 0.652 GB, free: 53.9 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001035/0.2527, allocations: 0.7347 MB / 0.6527 GB, free: 53.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2527, allocations: 12.44 kB / 0.6527 GB, free: 53.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.478e-05/0.2528, allocations: 38.89 kB / 0.6527 GB, free: 53.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.2531, allocations: 265.3 kB / 0.653 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2532, allocations: 14.7 kB / 0.653 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.2532, allocations: 20.66 kB / 0.653 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.2537, allocations: 390.7 kB / 0.6534 GB, free: 53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2538, allocations: 192 / 0.6534 GB, free: 53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.2538, allocations: 7.438 kB / 0.6534 GB, free: 53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2538, allocations: 7.594 kB / 0.6534 GB, free: 53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.2544, allocations: 356.3 kB / 0.6537 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.2551, allocations: 0.5284 MB / 0.6543 GB, free: 52.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.2556, allocations: 315 kB / 0.6546 GB, free: 52.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.256, allocations: 273.3 kB / 0.6548 GB, free: 52.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.256, allocations: 0.6562 kB / 0.6548 GB, free: 52.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.256, allocations: 45.83 kB / 0.6549 GB, free: 52.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.256, allocations: 0 / 0.6549 GB, free: 52.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.001235/0.2572, allocations: 0.846 MB / 0.6557 GB, free: 52.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.2573, allocations: 139.7 kB / 0.6558 GB, free: 51.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.2575, allocations: 353.1 kB / 0.6562 GB, free: 51.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.2576, allocations: 28.86 kB / 0.6562 GB, free: 51.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.23e-05/0.2576, allocations: 173.4 kB / 0.6563 GB, free: 51.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.2577, allocations: 39.81 kB / 0.6564 GB, free: 51.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.2577, allocations: 47.69 kB / 0.6564 GB, free: 51.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.2578, allocations: 336.2 kB / 0.6568 GB, free: 51.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.2582, allocations: 428 kB / 0.6572 GB, free: 51.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.2586, allocations: 423 kB / 0.6576 GB, free: 50.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000766/0.2594, allocations: 0.6925 MB / 0.6582 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2594, allocations: 1.031 kB / 0.6582 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009277/0.2603, allocations: 0.9175 MB / 0.6591 GB, free: 50.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.2604, allocations: 186 kB / 0.6593 GB, free: 49.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2604, allocations: 3.391 kB / 0.6593 GB, free: 49.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2604, allocations: 6.656 kB / 0.6593 GB, free: 49.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.2606, allocations: 28.92 kB / 0.6594 GB, free: 49.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2606, allocations: 0 / 0.6594 GB, free: 49.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.2608, allocations: 43.69 kB / 0.6594 GB, free: 49.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.2608, allocations: 5.969 kB / 0.6594 GB, free: 49.83 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.0001403/0.261, allocations: 255 kB / 0.6596 GB, free: 49.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.261, allocations: 36.36 kB / 0.6597 GB, free: 49.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.261, allocations: 26.84 kB / 0.6597 GB, free: 49.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.261, allocations: 1.812 kB / 0.6597 GB, free: 49.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2611, allocations: 0 / 0.6597 GB, free: 49.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2611, allocations: 3.25 kB / 0.6597 GB, free: 49.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.2613, allocations: 242.6 kB / 0.6599 GB, free: 49.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2613, allocations: 0 / 0.6599 GB, free: 49.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2614, allocations: 35.77 kB / 0.66 GB, free: 49.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2614, allocations: 0.5625 kB / 0.66 GB, free: 49.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.2614, allocations: 7.156 kB / 0.66 GB, free: 49.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2614, allocations: 3.781 kB / 0.66 GB, free: 49.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2614, allocations: 0 / 0.66 GB, free: 49.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008267/0.2623, allocations: 0.6982 MB / 0.6607 GB, free: 48.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.2623, allocations: 36.2 kB / 0.6607 GB, free: 48.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.2624, allocations: 14.47 kB / 0.6607 GB, free: 48.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2626, allocations: 28.7 kB / 0.6607 GB, free: 48.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/0.2627, allocations: 30.38 kB / 0.6608 GB, free: 48.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.2627, allocations: 7.125 kB / 0.6608 GB, free: 48.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001848/0.2629, allocations: 255.1 kB / 0.661 GB, free: 48.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2629, allocations: 0 / 0.661 GB, free: 48.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003696/0.2632, allocations: 105.4 kB / 0.6611 GB, free: 48.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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 Backend phase and start with SimCode phase: time 0.0002481/0.2635, allocations: 173.3 kB / 0.6613 GB, free: 48.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009856/0.2645, allocations: 1.084 MB / 0.6623 GB, free: 47.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2645, allocations: 0 / 0.6623 GB, free: 47.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.2649, allocations: 453.4 kB / 0.6628 GB, free: 47.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.2653, allocations: 71.55 kB / 0.6628 GB, free: 47.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007858/0.2661, allocations: 0.7265 MB / 0.6636 GB, free: 47.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.2662, allocations: 177.2 kB / 0.6637 GB, free: 46.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.548e-05/0.2663, allocations: 23.59 kB / 0.6637 GB, free: 46.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.2663, allocations: 18.09 kB / 0.6638 GB, free: 46.95 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.2663, allocations: 0 / 0.6638 GB, free: 46.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.009415/0.2758, allocations: 6.272 MB / 0.6699 GB, free: 46.45 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.145477410405874] Failed to read output from testmodel.py, exit status != 0: 0.2831663079559803 0.293584359 0.039393438 Calling exit ...