Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001636/0.001636, allocations: 105 kB / 15.98 MB, free: 6.352 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.001817/0.001817, allocations: 195.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 62.06 kB / 0.6716 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.243, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001807/0.2448, allocations: 0.6705 MB / 0.7842 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.629e-05/0.2449, allocations: 4 kB / 0.7842 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.2449, allocations: 0 / 0.7842 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.245, allocations: 0 / 0.7842 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.245, allocations: 0 / 0.7842 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.711e-05/0.245, allocations: 0 / 0.7842 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.689e-05/0.2451, allocations: 4 kB / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.2451, allocations: 0 / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.33e-05/0.2451, allocations: 0 / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.601e-05/0.2452, allocations: 0 / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.2452, allocations: 0 / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.897e-06/0.2452, allocations: 4 kB / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.2452, allocations: 0 / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.2452, allocations: 0 / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 3.865e-05/0.2453, allocations: 4 kB / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2453, allocations: 0 / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2453, allocations: 0 / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2453, allocations: 0 / 0.7842 GB, free: 13.23 MB / 0.6075 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.0002671/0.2455, allocations: 315.6 kB / 0.7845 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2456, allocations: 15.91 kB / 0.7845 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.2456, allocations: 0.9375 kB / 0.7845 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.138e-05/0.2457, allocations: 168.3 kB / 0.7847 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.2457, allocations: 384 / 0.7847 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-06/0.2457, allocations: 384 / 0.7847 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.614e-05/0.2458, allocations: 30.27 kB / 0.7847 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.2458, allocations: 192 / 0.7847 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.2458, allocations: 3.938 kB / 0.7847 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2458, allocations: 0 / 0.7847 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.585e-05/0.2459, allocations: 3.984 kB / 0.7847 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.246, allocations: 153.7 kB / 0.7848 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.654e-05/0.246, allocations: 22.52 kB / 0.7849 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.2461, allocations: 8.953 kB / 0.7849 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.2461, allocations: 0 / 0.7849 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.2461, allocations: 30.56 kB / 0.7849 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.2461, allocations: 0 / 0.7849 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.2462, allocations: 41.62 kB / 0.7849 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.2463, allocations: 59.53 kB / 0.785 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4e-05/0.2463, allocations: 89.86 kB / 0.7851 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.2463, allocations: 25.7 kB / 0.7851 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.2464, allocations: 80.14 kB / 0.7852 GB, free: 12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.2464, allocations: 7.844 kB / 0.7852 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.2464, allocations: 9.719 kB / 0.7852 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2465, allocations: 318.8 kB / 0.7855 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-06/0.2465, allocations: 0 / 0.7855 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.2465, allocations: 8 kB / 0.7855 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.277e-05/0.2466, allocations: 8.859 kB / 0.7855 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2466, allocations: 0 / 0.7855 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.316e-05/0.2466, allocations: 33.69 kB / 0.7855 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2466, allocations: 4 kB / 0.7856 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2466, allocations: 0 / 0.7856 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2467, allocations: 7.938 kB / 0.7856 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.891e-05/0.2467, allocations: 0 / 0.7856 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2467, allocations: 4.031 kB / 0.7856 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.827e-06/0.2467, allocations: 4 kB / 0.7856 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.2468, allocations: 0 / 0.7856 GB, free: 11.57 MB / 0.6075 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 5.742e-05/0.2468, allocations: 118.1 kB / 0.7857 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-06/0.2468, allocations: 0 / 0.7857 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.442e-05/0.2468, allocations: 7.062 kB / 0.7857 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2468, allocations: 3.984 kB / 0.7857 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2469, allocations: 3.984 kB / 0.7857 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.2469, allocations: 0 / 0.7857 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.123e-05/0.2469, allocations: 149.6 kB / 0.7858 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2469, allocations: 4 kB / 0.7858 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-06/0.247, allocations: 0 / 0.7858 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.247, allocations: 0 / 0.7858 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.247, allocations: 3.938 kB / 0.7858 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.247, allocations: 0 / 0.7858 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.247, allocations: 0 / 0.7858 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.334e-05/0.247, allocations: 61.12 kB / 0.7859 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.2471, allocations: 85.08 kB / 0.786 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.2471, allocations: 7.875 kB / 0.786 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.2471, allocations: 0 / 0.786 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-06/0.2471, allocations: 4 kB / 0.786 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/0.2471, allocations: 0 / 0.786 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.085e-05/0.2472, allocations: 75.28 kB / 0.7861 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2472, allocations: 0 / 0.7861 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001637/0.2473, allocations: 0 / 0.7861 GB, free: 10.96 MB / 0.6075 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 8.545e-05/0.2474, allocations: 99.23 kB / 0.7862 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.135e-05/0.2475, allocations: 8 kB / 0.7862 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2475, allocations: 4 kB / 0.7862 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.699e-06/0.2475, allocations: 0 / 0.7862 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.2476, allocations: 3.094 kB / 0.7862 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001779/0.2478, allocations: 110.6 kB / 0.7863 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.248, allocations: 0.6729 MB / 0.7869 GB, free: 10 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.2481, allocations: 7.438 kB / 0.7869 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2481, allocations: 128 / 0.7869 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of Templates: time 0.001208/0.2493, allocations: 331.8 kB / 0.7873 GB, free: 9.672 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)