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.001409/0.001409, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001636/0.001636, allocations: 165 kB / 23.02 MB, free: 1.551 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.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.002927/0.002927, allocations: 237 kB / 260.2 MB, free: 12.82 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.7795/0.7795, allocations: 138.4 MB / 455.2 MB, free: 1.559 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.743e-06/1.743e-06, allocations: 0 / 0.5551 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.994e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001135/0.001155, allocations: 0.6079 MB / 0.5557 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.421e-05/0.0012, allocations: 7.922 kB / 0.5557 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.694e-05/0.001217, allocations: 0 / 0.5557 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.579e-05/0.001252, allocations: 0 / 0.5557 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.895e-06/0.00126, allocations: 0 / 0.5557 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.272e-05/0.001303, allocations: 4 kB / 0.5557 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.001366, allocations: 4 kB / 0.5557 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.001415, allocations: 7.984 kB / 0.5557 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.23e-05/0.001447, allocations: 0 / 0.5557 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.388e-05/0.001471, allocations: 0 / 0.5557 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.001486, allocations: 0 / 0.5557 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.85e-06/0.001491, allocations: 0 / 0.5557 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.001505, allocations: 0 / 0.5557 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.001523, allocations: 0 / 0.5557 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.746e-05/0.00158, allocations: 3.938 kB / 0.5557 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.001583, allocations: 4 kB / 0.5557 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.001583, allocations: 0 / 0.5557 GB, free: 15.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.001588, allocations: 4 kB / 0.5557 GB, free: 15.93 MB / 490.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.0002624/0.00185, allocations: 336.4 kB / 0.556 GB, free: 15.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.001893, allocations: 8.75 kB / 0.556 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.479e-05/0.001928, allocations: 4.922 kB / 0.556 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.135e-05/0.001989, allocations: 104.6 kB / 0.5561 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.002002, allocations: 8.359 kB / 0.5561 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.002015, allocations: 4.312 kB / 0.5561 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.709e-05/0.002103, allocations: 26.27 kB / 0.5562 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.002113, allocations: 192 / 0.5562 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.002121, allocations: 384 / 0.5562 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.00213, allocations: 384 / 0.5562 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.351e-05/0.002143, allocations: 11.94 kB / 0.5562 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.822e-05/0.002242, allocations: 104.6 kB / 0.5563 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.754e-05/0.002279, allocations: 31.09 kB / 0.5563 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.811e-05/0.002307, allocations: 15.61 kB / 0.5563 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.002313, allocations: 0 / 0.5563 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.002334, allocations: 37.45 kB / 0.5564 GB, free: 15.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.002335, allocations: 0 / 0.5564 GB, free: 15.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001001/0.002435, allocations: 29.7 kB / 0.5564 GB, free: 15.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.00246, allocations: 51.41 kB / 0.5564 GB, free: 15.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.904e-05/0.002499, allocations: 146.4 kB / 0.5566 GB, free: 14.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.002508, allocations: 25.7 kB / 0.5566 GB, free: 14.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.002539, allocations: 130.9 kB / 0.5567 GB, free: 14.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.002567, allocations: 12.23 kB / 0.5567 GB, free: 14.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.002589, allocations: 15.38 kB / 0.5568 GB, free: 14.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.002698, allocations: 0.4883 MB / 0.5572 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-06/0.002708, allocations: 7.938 kB / 0.5572 GB, free: 14.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-06/0.002712, allocations: 0 / 0.5572 GB, free: 14.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.586e-05/0.002738, allocations: 11.69 kB / 0.5572 GB, free: 14.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.00274, allocations: 4.062 kB / 0.5573 GB, free: 14.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.34e-05/0.002774, allocations: 37.7 kB / 0.5573 GB, free: 14.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.002784, allocations: 7.938 kB / 0.5573 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.002788, allocations: 0 / 0.5573 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.002804, allocations: 0 / 0.5573 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.247e-05/0.002856, allocations: 4 kB / 0.5573 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.002861, allocations: 0 / 0.5573 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.596e-06/0.00287, allocations: 3.938 kB / 0.5573 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.002874, allocations: 0 / 0.5573 GB, free: 14.08 MB / 490.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 5.743e-05/0.002931, allocations: 160.5 kB / 0.5575 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-06/0.002934, allocations: 8.031 kB / 0.5575 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.002953, allocations: 3 kB / 0.5575 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.002954, allocations: 0 / 0.5575 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.002956, allocations: 0 / 0.5575 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.002959, allocations: 0 / 0.5575 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.1e-05/0.00301, allocations: 108.6 kB / 0.5576 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.00301, allocations: 4 kB / 0.5576 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-06/0.003014, allocations: 0 / 0.5576 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.02e-07/0.003015, allocations: 0 / 0.5576 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.003019, allocations: 0 / 0.5576 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.003021, allocations: 3.984 kB / 0.5576 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.003021, allocations: 4 kB / 0.5576 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.809e-05/0.003069, allocations: 72.39 kB / 0.5577 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-06/0.003073, allocations: 0 / 0.5577 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-06/0.003082, allocations: 4 kB / 0.5577 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-06/0.003085, allocations: 0 / 0.5577 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.003097, allocations: 7.922 kB / 0.5577 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-07/0.003097, allocations: 0 / 0.5577 GB, free: 13.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.588e-05/0.003123, allocations: 119.2 kB / 0.5578 GB, free: 13.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003123, allocations: 0 / 0.5578 GB, free: 13.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001126/0.003236, allocations: 0 / 0.5578 GB, free: 13.52 MB / 490.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 7.449e-05/0.003311, allocations: 105.6 kB / 0.5579 GB, free: 13.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.974e-05/0.00338, allocations: 11.69 kB / 0.5579 GB, free: 13.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.003381, allocations: 4 kB / 0.5579 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.362e-06/0.003388, allocations: 7.688 kB / 0.5579 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.738e-05/0.003485, allocations: 0 / 0.5579 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001937/0.003679, allocations: 83.95 kB / 0.558 GB, free: 13.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.53e-05/0.003714, allocations: 59.28 kB / 0.558 GB, free: 13.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.246e-05/0.003727, allocations: 3.938 kB / 0.558 GB, free: 13.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.003748, allocations: 12.62 kB / 0.5581 GB, free: 13.18 MB / 490.7 MB Notification: Performance of SimCode: time 3.6e-07/0.003748, allocations: 4 kB / 0.5581 GB, free: 13.17 MB / 490.7 MB Notification: Performance of Templates: time 0.001564/0.005313, allocations: 184.9 kB / 0.5582 GB, free: 12.99 MB / 490.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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9125637030228972]