Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001332/0.001332, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001105/0.001105, allocations: 172.1 kB / 25.05 MB, free: 9.238 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.9557/0.9557, allocations: 177.1 MB / 205.5 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.885/1.885, allocations: 389.6 MB / 0.6363 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7761 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.111e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001277/0.001298, allocations: 0.6708 MB / 0.7767 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 4.587e-05/0.001344, allocations: 0 / 0.7767 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.52e-05/0.001359, allocations: 4 kB / 0.7767 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.001393, allocations: 0 / 0.7767 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-06/0.0014, allocations: 0.6562 kB / 0.7767 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.196e-05/0.001432, allocations: 0 / 0.7767 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.733e-05/0.001479, allocations: 0 / 0.7767 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.001515, allocations: 0 / 0.7767 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.048e-05/0.001546, allocations: 8.656 kB / 0.7768 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.895e-05/0.001565, allocations: 3.25 kB / 0.7768 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.001575, allocations: 0 / 0.7768 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-06/0.001578, allocations: 0 / 0.7768 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.001592, allocations: 0.7656 kB / 0.7768 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.046e-05/0.001602, allocations: 0 / 0.7768 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 4.998e-05/0.001652, allocations: 3.984 kB / 0.7768 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.001654, allocations: 3.938 kB / 0.7768 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.001655, allocations: 0.875 kB / 0.7768 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.001659, allocations: 7.984 kB / 0.7768 GB, free: 4.652 MB / 0.7292 GB 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.0001789/0.001838, allocations: 208.6 kB / 0.777 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.001871, allocations: 9.344 kB / 0.777 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.961e-05/0.001891, allocations: 0.9375 kB / 0.777 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.775e-05/0.001949, allocations: 105.8 kB / 0.7771 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.001958, allocations: 384 / 0.7771 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.001966, allocations: 384 / 0.7771 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.741e-05/0.002023, allocations: 31.12 kB / 0.7771 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.00203, allocations: 192 / 0.7771 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-06/0.002035, allocations: 384 / 0.7771 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.00204, allocations: 4.375 kB / 0.7771 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.903e-06/0.002047, allocations: 5 kB / 0.7771 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.24e-05/0.002109, allocations: 64.98 kB / 0.7772 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.88e-05/0.002138, allocations: 19.17 kB / 0.7772 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.225e-05/0.00215, allocations: 8.609 kB / 0.7772 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.002156, allocations: 5.594 kB / 0.7772 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.002179, allocations: 30.56 kB / 0.7772 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.002179, allocations: 0 / 0.7772 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.132e-05/0.002261, allocations: 37.62 kB / 0.7773 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.002287, allocations: 51.41 kB / 0.7773 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.479e-05/0.002312, allocations: 89.86 kB / 0.7774 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.00232, allocations: 25.7 kB / 0.7774 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/0.002341, allocations: 84.14 kB / 0.7775 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.002369, allocations: 6.734 kB / 0.7775 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.002387, allocations: 9.719 kB / 0.7775 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.239e-05/0.002459, allocations: 322.8 kB / 0.7778 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-06/0.002464, allocations: 0 / 0.7778 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-06/0.002468, allocations: 0 / 0.7778 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/0.002487, allocations: 8.859 kB / 0.7779 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.002488, allocations: 1.875 kB / 0.7779 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.681e-05/0.002525, allocations: 37.62 kB / 0.7779 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.002534, allocations: 4 kB / 0.7779 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.002539, allocations: 0.5312 kB / 0.7779 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-06/0.002546, allocations: 0.9375 kB / 0.7779 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.692e-05/0.002583, allocations: 8 kB / 0.7779 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.002585, allocations: 0.875 kB / 0.7779 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-06/0.002592, allocations: 0.5 kB / 0.7779 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-06/0.002595, allocations: 0.875 kB / 0.7779 GB, free: 3.359 MB / 0.7292 GB 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 4.487e-05/0.00264, allocations: 109.8 kB / 0.778 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-06/0.002643, allocations: 5.438 kB / 0.778 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.242e-05/0.002656, allocations: 6.984 kB / 0.778 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.002657, allocations: 0 / 0.778 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.002658, allocations: 0.6562 kB / 0.778 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.00266, allocations: 0.6562 kB / 0.778 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.15e-05/0.002702, allocations: 66.88 kB / 0.7781 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.002703, allocations: 0 / 0.7781 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-06/0.002707, allocations: 1.719 kB / 0.7781 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-07/0.002707, allocations: 0 / 0.7781 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.00271, allocations: 0 / 0.7781 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.11e-07/0.002711, allocations: 0.875 kB / 0.7781 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.002712, allocations: 0 / 0.7781 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.268e-05/0.002754, allocations: 70.17 kB / 0.7782 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-06/0.002758, allocations: 0 / 0.7782 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-06/0.002765, allocations: 8.5 kB / 0.7782 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-06/0.002768, allocations: 0 / 0.7782 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-06/0.002776, allocations: 0.875 kB / 0.7782 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-07/0.002777, allocations: 0 / 0.7782 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.601e-06/0.002783, allocations: 7.609 kB / 0.7782 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.002783, allocations: 0 / 0.7782 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of remove unused functions: time 8.286e-05/0.002866, allocations: 0 / 0.7782 GB, free: 3.051 MB / 0.7292 GB 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 6.458e-05/0.00293, allocations: 82.62 kB / 0.7783 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.96e-05/0.00298, allocations: 12.84 kB / 0.7783 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.002982, allocations: 0 / 0.7783 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-06/0.002986, allocations: 10.02 kB / 0.7783 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.208e-05/0.003028, allocations: 7.938 kB / 0.7783 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001294/0.003158, allocations: 74.3 kB / 0.7784 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.367e-05/0.003181, allocations: 52.97 kB / 0.7784 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.107e-05/0.003192, allocations: 7.984 kB / 0.7784 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.003217, allocations: 48.44 kB / 0.7785 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.003218, allocations: 0 / 0.7785 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of Templates: time 0.001645/0.004863, allocations: 211.4 kB / 0.7787 GB, free: 2.5 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_13_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.917536963708699]