Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009114/0.0009116, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008797/0.008797, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.538/1.538, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005935/0.0005936, allocations: 8.094 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3776, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0008296/0.3785, allocations: 323.5 kB / 1.074 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.141e-05/0.3785, allocations: 3.938 kB / 1.074 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.205e-05/0.3785, allocations: 4 kB / 1.074 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.3786, allocations: 3.938 kB / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.499e-06/0.3786, allocations: 0 / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.666e-05/0.3786, allocations: 0 / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.917e-05/0.3787, allocations: 0 / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.558e-05/0.3787, allocations: 0 / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.48e-05/0.3787, allocations: 0 / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.002e-05/0.3788, allocations: 4 kB / 1.074 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.3788, allocations: 4 kB / 1.074 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-06/0.3788, allocations: 0 / 1.074 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.3788, allocations: 4 kB / 1.074 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.3789, allocations: 29.69 kB / 1.074 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.62e-05/0.3789, allocations: 0 / 1.074 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.379, allocations: 0 / 1.074 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.379, allocations: 0 / 1.074 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.379, allocations: 0 / 1.074 GB, free: 7.133 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.0003121/0.3793, allocations: 311.6 kB / 1.075 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3793, allocations: 8.031 kB / 1.075 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.3794, allocations: 4.938 kB / 1.075 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.3795, allocations: 160.4 kB / 1.075 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3795, allocations: 384 / 1.075 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.3795, allocations: 4.375 kB / 1.075 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.35e-05/0.3796, allocations: 30.2 kB / 1.075 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3796, allocations: 4.125 kB / 1.075 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3796, allocations: 3.938 kB / 1.075 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3796, allocations: 0 / 1.075 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.3797, allocations: 8 kB / 1.075 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.3798, allocations: 149.7 kB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.088e-05/0.3799, allocations: 14.58 kB / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.3799, allocations: 8.953 kB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.3799, allocations: 3.984 kB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.38, allocations: 42.44 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.38, allocations: 0 / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001218/0.3801, allocations: 41.62 kB / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.3802, allocations: 55.41 kB / 1.075 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.583e-05/0.3802, allocations: 89.86 kB / 1.075 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.3802, allocations: 25.7 kB / 1.075 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.3803, allocations: 80.14 kB / 1.075 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.3803, allocations: 2.172 kB / 1.075 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.3803, allocations: 9.719 kB / 1.075 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3805, allocations: 314.8 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-06/0.3805, allocations: 8.125 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-06/0.3805, allocations: 0 / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.3805, allocations: 12.8 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3805, allocations: 0 / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.452e-05/0.3806, allocations: 33.69 kB / 1.076 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3806, allocations: 5.406 kB / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3806, allocations: 0 / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3806, allocations: 3.938 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/0.3807, allocations: 4 kB / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3807, allocations: 8.078 kB / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.028e-05/0.3807, allocations: 0 / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.3807, allocations: 0 / 1.076 GB, free: 5.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 8.329e-05/0.3808, allocations: 114.5 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.3809, allocations: 7.906 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2e-05/0.3809, allocations: 7.062 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3809, allocations: 0 / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3809, allocations: 0 / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3809, allocations: 0 / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.381, allocations: 153.6 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.381, allocations: 7.938 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.381, allocations: 4 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.381, allocations: 0 / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3811, allocations: 3.938 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3811, allocations: 0 / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3811, allocations: 0 / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.186e-05/0.3812, allocations: 61.12 kB / 1.076 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.3812, allocations: 81.14 kB / 1.076 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.3812, allocations: 3.938 kB / 1.076 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.3812, allocations: 0 / 1.076 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.3812, allocations: 0 / 1.076 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.3812, allocations: 0 / 1.076 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.3813, allocations: 79.28 kB / 1.076 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3813, allocations: 3.938 kB / 1.076 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001745/0.3815, allocations: 0 / 1.076 GB, free: 4.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 9.937e-05/0.3816, allocations: 99.52 kB / 1.076 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.312e-05/0.3817, allocations: 11.94 kB / 1.076 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3817, allocations: 0 / 1.076 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.783e-06/0.3817, allocations: 4 kB / 1.076 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.3818, allocations: 0 / 1.076 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002036/0.382, allocations: 74.7 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.3823, allocations: 0.6731 MB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.186e-05/0.3823, allocations: 0 / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.3823, allocations: 11.56 kB / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of SimCode: time 1.603e-06/0.3823, allocations: 0 / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of Templates: time 0.001966/0.3843, allocations: 157.2 kB / 1.077 GB, free: 3.789 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_1.6_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_1.6_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)