Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 195.6 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 65.52 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3158, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001929/0.3177, allocations: 0.6393 MB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 3.817e-05/0.3178, allocations: 7.938 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.577e-05/0.3178, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.3179, allocations: 4 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.479e-06/0.3179, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.764e-05/0.3179, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.833e-05/0.318, allocations: 3.984 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.318, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.982e-05/0.318, allocations: 7.984 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.108e-05/0.3181, allocations: 7.938 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.3181, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-06/0.3181, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.3181, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.3181, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.293e-05/0.3182, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3182, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3182, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3182, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 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.0002554/0.3185, allocations: 311.5 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3185, allocations: 12.06 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.3186, allocations: 4.922 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.049e-05/0.3187, allocations: 160.4 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3187, allocations: 384 / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-06/0.3187, allocations: 8.312 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.034e-05/0.3188, allocations: 34.2 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.3188, allocations: 4.188 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3188, allocations: 3.938 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3188, allocations: 0 / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.3188, allocations: 3.938 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.319, allocations: 145.7 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.077e-05/0.319, allocations: 18.61 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.319, allocations: 12.86 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.3191, allocations: 4.062 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.3191, allocations: 30.56 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3191, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.3192, allocations: 37.58 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3193, allocations: 51.41 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.421e-05/0.3193, allocations: 93.97 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3193, allocations: 29.7 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.3193, allocations: 82.31 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.3194, allocations: 8 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.3194, allocations: 13.72 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.3195, allocations: 310.8 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.3195, allocations: 0 / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-06/0.3195, allocations: 4 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.3196, allocations: 8.922 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3196, allocations: 0 / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.682e-05/0.3196, allocations: 41.64 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3197, allocations: 9.234 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3197, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3197, allocations: 3.938 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.765e-05/0.3198, allocations: 4 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3198, allocations: 3.984 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.408e-06/0.3198, allocations: 0 / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.3198, allocations: 0 / 1.07 GB, free: 8.492 MB / 0.8262 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 6.257e-05/0.3199, allocations: 109.9 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.3199, allocations: 3.906 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.913e-05/0.3199, allocations: 11.06 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3199, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3199, allocations: 3.938 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3199, allocations: 0 / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.457e-05/0.32, allocations: 149.7 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.32, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.32, allocations: 4 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.32, allocations: 4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3201, allocations: 3.938 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3201, allocations: 7.938 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3201, allocations: 0 / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.436e-05/0.3201, allocations: 61.06 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.3202, allocations: 77.11 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.3202, allocations: 3.938 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-06/0.3202, allocations: 4 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.3202, allocations: 4.031 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.3202, allocations: 0 / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.218e-05/0.3202, allocations: 75.28 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3203, allocations: 0 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001752/0.3204, allocations: 4 kB / 1.07 GB, free: 7.879 MB / 0.8262 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 0.0001147/0.3206, allocations: 91.53 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.27e-05/0.3206, allocations: 7.984 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3206, allocations: 8 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.114e-06/0.3207, allocations: 4 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.3208, allocations: 0.5625 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001823/0.321, allocations: 84.88 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.3212, allocations: 0.6729 MB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.125e-05/0.3212, allocations: 0 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.3212, allocations: 7.438 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3212, allocations: 0 / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of Templates: time 0.001761/0.323, allocations: 165.2 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)