Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime") translateModel(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001052/0.001052, allocations: 109.7 kB / 16.64 MB, free: 6.812 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.001138/0.001138, allocations: 194 kB / 17.57 MB, free: 5.914 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.266/1.266, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.719/0.719, allocations: 122.9 MB / 414.2 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.89 kB / 0.4912 GB, free: 7.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3341, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001738/0.3358, allocations: 0.6393 MB / 0.5679 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 3.573e-05/0.3359, allocations: 10.56 kB / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.355e-05/0.3359, allocations: 0 / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.3359, allocations: 0 / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.749e-06/0.336, allocations: 2.594 kB / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.402e-05/0.336, allocations: 0 / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.234e-05/0.336, allocations: 5.625 kB / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.3361, allocations: 2.234 kB / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.214e-05/0.3361, allocations: 1.844 kB / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.493e-05/0.3361, allocations: 0 / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.216e-06/0.3361, allocations: 1.469 kB / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.246e-06/0.3362, allocations: 0 / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.3362, allocations: 0.625 kB / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.3362, allocations: 9.094 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 3.452e-05/0.3362, allocations: 1.969 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3362, allocations: 0.5625 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3362, allocations: 1 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.3363, allocations: 1.094 kB / 0.568 GB, free: 32.3 MB / 446.1 MB 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.0001741/0.3364, allocations: 309.4 kB / 0.5683 GB, free: 31.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.3365, allocations: 9.812 kB / 0.5683 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.014e-05/0.3365, allocations: 1.906 kB / 0.5683 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.807e-05/0.3366, allocations: 163 kB / 0.5684 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.3366, allocations: 384 / 0.5684 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-06/0.3366, allocations: 1.469 kB / 0.5684 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.55e-05/0.3366, allocations: 29.81 kB / 0.5685 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.3367, allocations: 5.062 kB / 0.5685 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.3367, allocations: 8.5 kB / 0.5685 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.3367, allocations: 1.062 kB / 0.5685 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.378e-05/0.3367, allocations: 1.281 kB / 0.5685 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.416e-05/0.3368, allocations: 149.2 kB / 0.5686 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.744e-05/0.3368, allocations: 19.72 kB / 0.5687 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.3368, allocations: 7.078 kB / 0.5687 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.3368, allocations: 5.094 kB / 0.5687 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.061e-05/0.3369, allocations: 33.12 kB / 0.5687 GB, free: 31.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.3369, allocations: 1 kB / 0.5687 GB, free: 31.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 9.13e-05/0.337, allocations: 39.48 kB / 0.5687 GB, free: 31.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.337, allocations: 51.97 kB / 0.5688 GB, free: 31.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.378e-05/0.337, allocations: 91.7 kB / 0.5689 GB, free: 31.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.961e-06/0.337, allocations: 27.09 kB / 0.5689 GB, free: 31.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.067e-06/0.337, allocations: 80.14 kB / 0.569 GB, free: 31.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.3371, allocations: 5.625 kB / 0.569 GB, free: 31.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.3371, allocations: 16.14 kB / 0.569 GB, free: 31.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.643e-05/0.3371, allocations: 313.2 kB / 0.5693 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-06/0.3371, allocations: 6.344 kB / 0.5693 GB, free: 30.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.758e-06/0.3372, allocations: 2.219 kB / 0.5693 GB, free: 30.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.987e-05/0.3372, allocations: 12.08 kB / 0.5693 GB, free: 30.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3372, allocations: 1.281 kB / 0.5693 GB, free: 30.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.76e-05/0.3372, allocations: 38.81 kB / 0.5693 GB, free: 30.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3372, allocations: 7.359 kB / 0.5694 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3372, allocations: 3.938 kB / 0.5694 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3373, allocations: 5.062 kB / 0.5694 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.338e-05/0.3373, allocations: 2.125 kB / 0.5694 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3373, allocations: 1.047 kB / 0.5694 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-06/0.3373, allocations: 1.969 kB / 0.5694 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.3373, allocations: 0 / 0.5694 GB, free: 30.74 MB / 446.1 MB 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 3.547e-05/0.3374, allocations: 110.2 kB / 0.5695 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-06/0.3374, allocations: 0 / 0.5695 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.138e-05/0.3374, allocations: 8.906 kB / 0.5695 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.3374, allocations: 1.125 kB / 0.5695 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3374, allocations: 0.75 kB / 0.5695 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3374, allocations: 2 kB / 0.5695 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.029e-05/0.3375, allocations: 145 kB / 0.5696 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3375, allocations: 0.6562 kB / 0.5696 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-06/0.3375, allocations: 6.969 kB / 0.5696 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3375, allocations: 0.8906 kB / 0.5696 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.3375, allocations: 3.938 kB / 0.5696 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3375, allocations: 1.094 kB / 0.5696 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.3375, allocations: 2.531 kB / 0.5696 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.336e-05/0.3376, allocations: 56.55 kB / 0.5697 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.3376, allocations: 78.83 kB / 0.5698 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.3376, allocations: 5.719 kB / 0.5698 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-06/0.3376, allocations: 5.656 kB / 0.5698 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.3376, allocations: 1.781 kB / 0.5698 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.3376, allocations: 0 / 0.5698 GB, free: 30.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.648e-06/0.3376, allocations: 75.28 kB / 0.5699 GB, free: 30.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3377, allocations: 1.5 kB / 0.5699 GB, free: 30.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001723/0.3378, allocations: 2.781 kB / 0.5699 GB, free: 30.18 MB / 446.1 MB 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 5.912e-05/0.3379, allocations: 99.67 kB / 0.57 GB, free: 30.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.351e-05/0.338, allocations: 8.188 kB / 0.57 GB, free: 30.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.338, allocations: 1.812 kB / 0.57 GB, free: 30.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.38e-06/0.338, allocations: 2.594 kB / 0.57 GB, free: 30.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.3381, allocations: 1.516 kB / 0.57 GB, free: 30.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001356/0.3382, allocations: 101.6 kB / 0.5701 GB, free: 29.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.086e-05/0.3383, allocations: 0.6712 MB / 0.5707 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/0.3383, allocations: 9.375 kB / 0.5707 GB, free: 29.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3384, allocations: 3.938 kB / 0.5707 GB, free: 29.26 MB / 446.1 MB Notification: Performance of Templates: time 0.001278/0.3396, allocations: 327.6 kB / 0.571 GB, free: 29.26 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)