Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.000931/0.000931, allocations: 80.88 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.001337/0.001337, allocations: 181 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 1.049/1.049, 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.002158/0.002158, allocations: 249.7 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.8277/0.8277, allocations: 138.4 MB / 402.2 MB, free: 0.5703 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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 462.3 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.606e-05, allocations: 2.312 kB / 462.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001377/0.001393, allocations: 0.6611 MB / 463 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 6.116e-05/0.001455, allocations: 1.875 kB / 463 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.001471, allocations: 1.781 kB / 463 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.001496, allocations: 3.938 kB / 463 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.001502, allocations: 3.281 kB / 463 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.64e-05/0.001539, allocations: 0 / 463 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.915e-05/0.001588, allocations: 5.656 kB / 463 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.001628, allocations: 5.922 kB / 463 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.001662, allocations: 1.797 kB / 463 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.572e-05/0.001688, allocations: 0.5469 kB / 463 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.001701, allocations: 0.875 kB / 463 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-06/0.001705, allocations: 1.219 kB / 463 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.00172, allocations: 1.188 kB / 463 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.555e-05/0.001735, allocations: 2 kB / 463 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.778e-05/0.001793, allocations: 0.5625 kB / 463 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.001795, allocations: 1.375 kB / 463 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.001796, allocations: 1.422 kB / 463 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.0018, allocations: 1.156 kB / 463 MB, free: 0.5156 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001571/0.001957, allocations: 210.1 kB / 463.2 MB, free: 296 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.001992, allocations: 11.73 kB / 463.2 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.991e-05/0.002012, allocations: 2.344 kB / 463.2 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.175e-05/0.002053, allocations: 105.2 kB / 463.3 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.002064, allocations: 2.219 kB / 463.3 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-06/0.002069, allocations: 1.484 kB / 463.3 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.191e-05/0.002131, allocations: 33.2 kB / 463.4 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.00214, allocations: 1.875 kB / 463.4 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-06/0.002145, allocations: 384 / 463.4 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.002151, allocations: 1.5 kB / 463.4 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.337e-06/0.00216, allocations: 8.578 kB / 463.4 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.328e-05/0.002223, allocations: 62.31 kB / 463.4 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.736e-05/0.002261, allocations: 19.78 kB / 463.5 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.002276, allocations: 8.25 kB / 463.5 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-06/0.002281, allocations: 0 / 463.5 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.00232, allocations: 37.27 kB / 463.5 MB, free: 15.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.00232, allocations: 0 / 463.5 MB, free: 15.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.88e-05/0.002409, allocations: 31.52 kB / 463.5 MB, free: 15.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.002442, allocations: 53.98 kB / 463.6 MB, free: 15.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.029e-05/0.002472, allocations: 90.48 kB / 463.7 MB, free: 15.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.002481, allocations: 25.7 kB / 463.7 MB, free: 15.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/0.002504, allocations: 83.84 kB / 463.8 MB, free: 15.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.00254, allocations: 4.75 kB / 463.8 MB, free: 15.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.002562, allocations: 17.88 kB / 463.8 MB, free: 15.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.002662, allocations: 316.8 kB / 464.1 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-06/0.002671, allocations: 2.031 kB / 464.1 MB, free: 15.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.002676, allocations: 0 / 464.1 MB, free: 15.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.224e-05/0.002708, allocations: 13.47 kB / 464.1 MB, free: 15.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.00271, allocations: 0.9688 kB / 464.1 MB, free: 15.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.601e-05/0.002756, allocations: 31.64 kB / 464.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.002773, allocations: 7.422 kB / 464.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.00278, allocations: 0.75 kB / 464.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.002799, allocations: 0 / 464.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.002852, allocations: 3.438 kB / 464.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.002857, allocations: 5.406 kB / 464.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.237e-06/0.002867, allocations: 1.219 kB / 464.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.002872, allocations: 0.875 kB / 464.2 MB, free: 15.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.57e-05/0.002938, allocations: 113.3 kB / 464.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-06/0.002943, allocations: 1.734 kB / 464.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.807e-05/0.002961, allocations: 6.422 kB / 464.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.002963, allocations: 0 / 464.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.002966, allocations: 4.438 kB / 464.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.00297, allocations: 0 / 464.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.687e-05/0.003026, allocations: 67.09 kB / 464.4 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.003027, allocations: 0.7969 kB / 464.4 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-06/0.003035, allocations: 3.125 kB / 464.4 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.003037, allocations: 0.9375 kB / 464.4 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.003044, allocations: 3.016 kB / 464.4 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.003045, allocations: 0 / 464.4 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.003047, allocations: 1 kB / 464.4 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.826e-05/0.003125, allocations: 65.88 kB / 464.4 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-06/0.003132, allocations: 2.297 kB / 464.4 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-06/0.00314, allocations: 1.828 kB / 464.4 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.989e-06/0.003145, allocations: 4.125 kB / 464.4 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.003157, allocations: 1.891 kB / 464.4 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.003159, allocations: 1.125 kB / 464.4 MB, free: 15.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.155e-06/0.003167, allocations: 4.859 kB / 464.5 MB, free: 15.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003167, allocations: 0.6562 kB / 464.5 MB, free: 15.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.956e-05/0.003267, allocations: 5.062 kB / 464.5 MB, free: 15 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 8.998e-05/0.003357, allocations: 79.27 kB / 464.5 MB, free: 14.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.723e-05/0.003424, allocations: 8.547 kB / 464.5 MB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.003427, allocations: 0 / 464.5 MB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.763e-06/0.003434, allocations: 6.984 kB / 464.6 MB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.865e-05/0.003492, allocations: 9.75 kB / 464.6 MB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001785/0.003671, allocations: 78.2 kB / 464.6 MB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.175e-05/0.003703, allocations: 54.28 kB / 464.7 MB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.315e-05/0.003716, allocations: 0.6562 kB / 464.7 MB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.00375, allocations: 48.66 kB / 464.7 MB, free: 14.71 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.003751, allocations: 1.469 kB / 464.7 MB, free: 14.71 MB / 426.7 MB Notification: Performance of Templates: time 0.001912/0.005663, allocations: 209.2 kB / 464.9 MB, free: 14.67 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.726987606380135]