Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.000882/0.000882, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001556/0.001556, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.922/0.922, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.001632/0.001632, allocations: 242.6 kB / 260.5 MB, free: 12.69 MB / 250.7 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 0.7329/0.7329, allocations: 138.4 MB / 402.2 MB, free: 0.5508 MB / 362.7 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.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0.7656 kB / 462.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.208e-06/1.039e-05, allocations: 2.312 kB / 462.3 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002195/0.002205, allocations: 2.104 MB / 464.4 MB, free: 15.51 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.003589, allocations: 1.068 MB / 465.5 MB, free: 14.82 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.243e-05/0.003671, allocations: 10.66 kB / 465.5 MB, free: 14.81 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.003705, allocations: 26.19 kB / 465.5 MB, free: 14.79 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.003898, allocations: 87.27 kB / 465.6 MB, free: 14.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.004262, allocations: 196.6 kB / 465.8 MB, free: 14.64 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.004526, allocations: 307.4 kB / 466.1 MB, free: 14.49 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.004635, allocations: 45.89 kB / 466.2 MB, free: 14.47 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.004795, allocations: 154.4 kB / 466.3 MB, free: 14.41 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.004936, allocations: 106.5 kB / 466.4 MB, free: 14.38 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.004961, allocations: 19.22 kB / 466.4 MB, free: 14.38 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.005269, allocations: 279.1 kB / 466.7 MB, free: 14.28 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.005304, allocations: 50.92 kB / 466.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.863e-05/0.005362, allocations: 82.28 kB / 466.8 MB, free: 14.15 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.005616, allocations: 302.8 kB / 467.1 MB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.005617, allocations: 0 / 467.1 MB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005618, allocations: 0 / 467.1 MB, free: 13.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.444e-06/0.00562, allocations: 0 / 467.1 MB, free: 13.86 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0004512/0.006072, allocations: 0.5132 MB / 467.6 MB, free: 13.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.329e-05/0.006095, allocations: 8.75 kB / 467.7 MB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.006219, allocations: 43.58 kB / 467.7 MB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.006394, allocations: 214.3 kB / 467.9 MB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.006405, allocations: 13.72 kB / 467.9 MB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.006419, allocations: 16.31 kB / 467.9 MB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.006603, allocations: 183.8 kB / 468.1 MB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.006608, allocations: 192 / 468.1 MB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.006619, allocations: 5.344 kB / 468.1 MB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.006624, allocations: 7.938 kB / 468.1 MB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.726e-05/0.006692, allocations: 57.05 kB / 468.2 MB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.007162, allocations: 0.7021 MB / 468.9 MB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.007382, allocations: 136.3 kB / 469 MB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.007419, allocations: 34 kB / 469.1 MB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.007439, allocations: 10.2 kB / 469.1 MB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.007456, allocations: 35.5 kB / 469.1 MB, free: 11.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 7.82e-07/0.007456, allocations: 0 / 469.1 MB, free: 11.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001941/0.00765, allocations: 111.5 kB / 469.2 MB, free: 11.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.007678, allocations: 81.05 kB / 469.3 MB, free: 11.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.007797, allocations: 248.7 kB / 469.5 MB, free: 11.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.007813, allocations: 29.7 kB / 469.6 MB, free: 11.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.007867, allocations: 144.7 kB / 469.7 MB, free: 11.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.007894, allocations: 59.53 kB / 469.8 MB, free: 11.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.007938, allocations: 37.69 kB / 469.8 MB, free: 11.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.008015, allocations: 339.9 kB / 470.1 MB, free: 10.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.008042, allocations: 16 kB / 470.1 MB, free: 10.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.008093, allocations: 69.91 kB / 470.2 MB, free: 10.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.109e-05/0.008185, allocations: 106.4 kB / 470.3 MB, free: 10.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.008186, allocations: 1.938 kB / 470.3 MB, free: 10.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001483/0.008335, allocations: 123.1 kB / 470.4 MB, free: 10.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.008345, allocations: 8 kB / 470.4 MB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.008348, allocations: 0.9062 kB / 470.4 MB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.008356, allocations: 4 kB / 470.4 MB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.008461, allocations: 44.62 kB / 470.5 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.008469, allocations: 12.88 kB / 470.5 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.008541, allocations: 35.77 kB / 470.5 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.008549, allocations: 4.75 kB / 470.5 MB, free: 10.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 6.047e-05/0.008609, allocations: 119.4 kB / 470.7 MB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.008669, allocations: 27.91 kB / 470.7 MB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.008803, allocations: 132.3 kB / 470.8 MB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008805, allocations: 1.406 kB / 470.8 MB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.008806, allocations: 0 / 470.8 MB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.008811, allocations: 11.92 kB / 470.8 MB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.00897, allocations: 141.7 kB / 471 MB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.00897, allocations: 0.9062 kB / 471 MB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.448e-05/0.009055, allocations: 44.62 kB / 471 MB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.009057, allocations: 1.125 kB / 471 MB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.009065, allocations: 8.969 kB / 471 MB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.009066, allocations: 0 / 471 MB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009067, allocations: 0 / 471 MB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.009231, allocations: 288.3 kB / 471.3 MB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.00925, allocations: 19.86 kB / 471.3 MB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.009268, allocations: 9.266 kB / 471.3 MB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.009362, allocations: 11.94 kB / 471.3 MB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.009398, allocations: 27.95 kB / 471.4 MB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.009403, allocations: 2.562 kB / 471.4 MB, free: 9.375 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.92e-05/0.009462, allocations: 88.64 kB / 471.5 MB, free: 9.289 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009462, allocations: 0.9688 kB / 471.5 MB, free: 9.289 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.009654, allocations: 63.83 kB / 471.5 MB, free: 9.227 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 9.041e-05/0.009744, allocations: 102.4 kB / 471.6 MB, free: 9.121 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.009857, allocations: 87.16 kB / 471.7 MB, free: 9.035 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.00986, allocations: 4.719 kB / 471.7 MB, free: 9.031 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.009914, allocations: 55.45 kB / 471.8 MB, free: 8.977 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.01018, allocations: 84.34 kB / 471.9 MB, free: 8.898 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.01071, allocations: 437.5 kB / 472.3 MB, free: 8.449 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.01075, allocations: 85.06 kB / 472.4 MB, free: 8.348 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.757e-05/0.01083, allocations: 24.05 kB / 472.4 MB, free: 8.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.01097, allocations: 118.5 kB / 472.5 MB, free: 8.219 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01097, allocations: 0 / 472.5 MB, free: 8.219 MB / 426.7 MB Notification: Performance of Templates: time 0.005429/0.0164, allocations: 4.419 MB / 476.9 MB, free: 4.199 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5983073567040265]