Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.485/1.485, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 179.8 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008173/0.000817, allocations: 93.86 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 10.53 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3436, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00123/0.3449, allocations: 339.2 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 5.082e-05/0.345, allocations: 5.281 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.345, allocations: 0 / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.3451, allocations: 0 / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.141e-06/0.3451, allocations: 0 / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.371e-05/0.3452, allocations: 0 / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.3452, allocations: 11.94 kB / 0.9018 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.146e-05/0.3453, allocations: 3.984 kB / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.498e-05/0.3454, allocations: 0 / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.889e-05/0.3454, allocations: 0 / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.3455, allocations: 3.938 kB / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-06/0.3455, allocations: 0 / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.3455, allocations: 0 / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.3456, allocations: 25.7 kB / 0.9018 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.484e-05/0.3456, allocations: 8 kB / 0.9018 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3457, allocations: 0 / 0.9018 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3457, allocations: 0 / 0.9018 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3457, allocations: 4 kB / 0.9018 GB, free: 63.1 MB / 0.6042 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.000299/0.346, allocations: 303.6 kB / 0.9021 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.3461, allocations: 16.08 kB / 0.9021 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.3461, allocations: 8.828 kB / 0.9021 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3463, allocations: 160.4 kB / 0.9023 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.3463, allocations: 384 / 0.9023 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.3464, allocations: 384 / 0.9023 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.3465, allocations: 26.27 kB / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3465, allocations: 4.188 kB / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3465, allocations: 11.94 kB / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3466, allocations: 0 / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.666e-05/0.3466, allocations: 3.938 kB / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.3467, allocations: 149.7 kB / 0.9025 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.407e-05/0.3468, allocations: 18.61 kB / 0.9025 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.3469, allocations: 4.859 kB / 0.9025 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.3469, allocations: 8 kB / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.3469, allocations: 34.56 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.024e-06/0.3469, allocations: 0 / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001933/0.3471, allocations: 41.58 kB / 0.9026 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3472, allocations: 51.41 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.546e-05/0.3472, allocations: 89.86 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.3473, allocations: 25.7 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.467e-05/0.3473, allocations: 84.08 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.3473, allocations: 8.109 kB / 0.9028 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.3474, allocations: 4 kB / 0.9028 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.3474, allocations: 310.8 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.3475, allocations: 0 / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.3475, allocations: 4 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.835e-05/0.3475, allocations: 8.859 kB / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3476, allocations: 0 / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.563e-05/0.3476, allocations: 33.64 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3477, allocations: 8.094 kB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3477, allocations: 4 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3477, allocations: 3.938 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.658e-05/0.3478, allocations: 0 / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3479, allocations: 3.984 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.3479, allocations: 0 / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.3479, allocations: 4 kB / 0.9032 GB, free: 61.47 MB / 0.6042 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 0.0001148/0.348, allocations: 109.8 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.3481, allocations: 0 / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.3481, allocations: 11.06 kB / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3481, allocations: 0 / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3482, allocations: 0 / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3482, allocations: 4 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.506e-05/0.3483, allocations: 145.7 kB / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3483, allocations: 0 / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.3483, allocations: 0 / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3484, allocations: 0 / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3484, allocations: 3.938 kB / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3484, allocations: 4 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3484, allocations: 0 / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.742e-05/0.3485, allocations: 65.02 kB / 0.9035 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.3486, allocations: 81.09 kB / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3486, allocations: 3.938 kB / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.431e-05/0.3486, allocations: 4 kB / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.3487, allocations: 0 / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3487, allocations: 0 / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.758e-05/0.3487, allocations: 75.28 kB / 0.9037 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3e-07/0.3487, allocations: 4.031 kB / 0.9037 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003065/0.349, allocations: 0 / 0.9037 GB, free: 60.88 MB / 0.6042 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.0001385/0.3492, allocations: 95.25 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.114e-05/0.3493, allocations: 4 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3493, allocations: 0 / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.765e-05/0.3493, allocations: 3.938 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.3496, allocations: 16.03 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.3498, allocations: 108.5 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.35, allocations: 0.6692 MB / 0.9046 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.3501, allocations: 7.438 kB / 0.9046 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/0.3501, allocations: 0 / 0.9046 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.001988/0.3521, allocations: 319.9 kB / 0.9049 GB, free: 59.6 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)