Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.007048/0.007048, allocations: 101.3 kB / 15.73 MB, free: 6.066 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.001637/0.001638, allocations: 196.3 kB / 16.68 MB, free: 5.973 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002224/0.002224, allocations: 289.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9576/0.9576, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 91.86 kB / 0.6814 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4752, allocations: 86.98 MB / 0.7664 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001525/0.4767, allocations: 0.5826 MB / 0.7669 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 3.57e-05/0.4768, allocations: 4 kB / 0.7669 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.4768, allocations: 4 kB / 0.7669 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.4768, allocations: 4 kB / 0.7669 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-06/0.4769, allocations: 0 / 0.7669 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.715e-05/0.4769, allocations: 0 / 0.7669 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.534e-05/0.477, allocations: 0 / 0.7669 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.477, allocations: 3.938 kB / 0.7669 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.457e-05/0.477, allocations: 0 / 0.7669 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.952e-05/0.4771, allocations: 4 kB / 0.7669 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.4771, allocations: 0 / 0.7669 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.098e-06/0.4771, allocations: 0 / 0.7669 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.4771, allocations: 0 / 0.7669 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.4771, allocations: 7.938 kB / 0.767 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.782e-05/0.4772, allocations: 11.97 kB / 0.767 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4772, allocations: 3.938 kB / 0.767 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4772, allocations: 0 / 0.767 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.4772, allocations: 0 / 0.767 GB, free: 3.348 MB / 0.5294 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.000259/0.4775, allocations: 307.6 kB / 0.7673 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.4775, allocations: 8.031 kB / 0.7673 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.4775, allocations: 4.938 kB / 0.7673 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.916e-05/0.4777, allocations: 160.4 kB / 0.7674 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4777, allocations: 4.359 kB / 0.7674 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-06/0.4777, allocations: 384 / 0.7674 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.623e-05/0.4778, allocations: 30.27 kB / 0.7675 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.4778, allocations: 192 / 0.7675 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4778, allocations: 11.94 kB / 0.7675 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4778, allocations: 0 / 0.7675 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.714e-05/0.4778, allocations: 3.938 kB / 0.7675 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.4779, allocations: 149.5 kB / 0.7676 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.557e-05/0.478, allocations: 18.61 kB / 0.7676 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.478, allocations: 12.86 kB / 0.7676 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.478, allocations: 3.984 kB / 0.7677 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.4781, allocations: 34.62 kB / 0.7677 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.4781, allocations: 0 / 0.7677 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001027/0.4782, allocations: 37.58 kB / 0.7677 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.4782, allocations: 51.41 kB / 0.7678 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.666e-05/0.4783, allocations: 89.86 kB / 0.7679 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.4783, allocations: 29.83 kB / 0.7679 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.229e-05/0.4783, allocations: 80.14 kB / 0.768 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.4783, allocations: 3.953 kB / 0.768 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.4784, allocations: 17.72 kB / 0.768 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.4785, allocations: 314.8 kB / 0.7683 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.4785, allocations: 3.984 kB / 0.7683 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.4785, allocations: 4 kB / 0.7683 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.954e-05/0.4785, allocations: 8.922 kB / 0.7683 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4785, allocations: 0 / 0.7683 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.392e-05/0.4786, allocations: 41.64 kB / 0.7683 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4786, allocations: 4 kB / 0.7683 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.4786, allocations: 0 / 0.7683 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.4786, allocations: 3.938 kB / 0.7683 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.532e-05/0.4786, allocations: 4 kB / 0.7683 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.4787, allocations: 0 / 0.7683 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-06/0.4787, allocations: 0 / 0.7683 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.4787, allocations: 0 / 0.7683 GB, free: 1.711 MB / 0.5294 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 7.017e-05/0.4788, allocations: 116.3 kB / 0.7685 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-06/0.4788, allocations: 0 / 0.7685 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.301e-05/0.4788, allocations: 11 kB / 0.7685 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.4788, allocations: 4 kB / 0.7685 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.4788, allocations: 0 / 0.7685 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.4788, allocations: 0 / 0.7685 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.714e-05/0.4789, allocations: 141.7 kB / 0.7686 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.4789, allocations: 0 / 0.7686 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.4789, allocations: 7.984 kB / 0.7686 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.4789, allocations: 0 / 0.7686 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.4789, allocations: 7.938 kB / 0.7686 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.4789, allocations: 0 / 0.7686 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4789, allocations: 0 / 0.7686 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.261e-05/0.479, allocations: 57.08 kB / 0.7687 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.479, allocations: 85.09 kB / 0.7688 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.4791, allocations: 7.922 kB / 0.7688 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-06/0.4791, allocations: 0 / 0.7688 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.4791, allocations: 4.031 kB / 0.7688 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.4791, allocations: 4 kB / 0.7688 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.146e-05/0.4791, allocations: 75.28 kB / 0.7688 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4791, allocations: 0 / 0.7688 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001697/0.4793, allocations: 8 kB / 0.7689 GB, free: 1.102 MB / 0.5294 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.367e-05/0.4794, allocations: 91.25 kB / 0.7689 GB, free: 1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 5.908e-05/0.4794, allocations: 11.88 kB / 0.769 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4795, allocations: 0 / 0.769 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.192e-06/0.4795, allocations: 8.062 kB / 0.769 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.4796, allocations: 6.281 kB / 0.769 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001506/0.4797, allocations: 81.05 kB / 0.769 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.48, allocations: 0.6729 MB / 0.7697 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.377e-06/0.48, allocations: 0 / 0.7697 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/0.48, allocations: 7.438 kB / 0.7697 GB, free: 168 kB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.48, allocations: 0 / 0.7697 GB, free: 168 kB / 0.5294 GB Notification: Performance of Templates: time 0.001691/0.4817, allocations: 168.9 kB / 0.7699 GB, free: 0 / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)