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.001362/0.001362, allocations: 104.8 kB / 16.37 MB, free: 6.469 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.001575/0.001576, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 280.7 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8947/0.8947, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 91.17 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1496, allocations: 86.98 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001586/0.1512, allocations: 0.5949 MB / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 3.085e-05/0.1513, allocations: 0 / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.1513, allocations: 4 kB / 0.6822 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.1513, allocations: 4 kB / 0.6822 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.998e-06/0.1513, allocations: 3.938 kB / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.886e-05/0.1514, allocations: 0 / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.708e-05/0.1514, allocations: 0 / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.1514, allocations: 11.92 kB / 0.6822 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.17e-05/0.1515, allocations: 0 / 0.6822 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.464e-05/0.1515, allocations: 4 kB / 0.6822 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.1515, allocations: 0 / 0.6822 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.966e-06/0.1515, allocations: 0 / 0.6822 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.1515, allocations: 0 / 0.6822 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.479e-05/0.1515, allocations: 0 / 0.6822 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.987e-05/0.1516, allocations: 4 kB / 0.6822 GB, free: 6.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1516, allocations: 0 / 0.6822 GB, free: 6.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1516, allocations: 3.938 kB / 0.6822 GB, free: 6.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1516, allocations: 0 / 0.6822 GB, free: 6.84 MB / 494.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.0002229/0.1518, allocations: 315.6 kB / 0.6825 GB, free: 6.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.1519, allocations: 8.031 kB / 0.6825 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.065e-05/0.1519, allocations: 4.938 kB / 0.6825 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.378e-05/0.152, allocations: 164.4 kB / 0.6827 GB, free: 6.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.152, allocations: 384 / 0.6827 GB, free: 6.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-06/0.152, allocations: 384 / 0.6827 GB, free: 6.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.687e-05/0.1521, allocations: 34.25 kB / 0.6827 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.1521, allocations: 192 / 0.6827 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1521, allocations: 7.938 kB / 0.6827 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.1521, allocations: 0 / 0.6827 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.422e-05/0.1521, allocations: 3.938 kB / 0.6827 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.1522, allocations: 141.7 kB / 0.6829 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.465e-05/0.1523, allocations: 22.61 kB / 0.6829 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.1523, allocations: 8.859 kB / 0.6829 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.1523, allocations: 0 / 0.6829 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1523, allocations: 34.62 kB / 0.6829 GB, free: 5.945 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.1523, allocations: 0 / 0.6829 GB, free: 5.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.447e-05/0.1524, allocations: 41.56 kB / 0.683 GB, free: 5.898 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.1525, allocations: 51.41 kB / 0.683 GB, free: 5.836 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.237e-05/0.1525, allocations: 93.86 kB / 0.6831 GB, free: 5.734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.1525, allocations: 29.83 kB / 0.6831 GB, free: 5.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.1525, allocations: 80.14 kB / 0.6832 GB, free: 5.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1526, allocations: 7.922 kB / 0.6832 GB, free: 5.609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.1526, allocations: 13.72 kB / 0.6832 GB, free: 5.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.1527, allocations: 310.8 kB / 0.6835 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-06/0.1527, allocations: 0 / 0.6835 GB, free: 5.277 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-06/0.1527, allocations: 4 kB / 0.6835 GB, free: 5.273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.098e-05/0.1527, allocations: 8.922 kB / 0.6835 GB, free: 5.262 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1527, allocations: 11.92 kB / 0.6835 GB, free: 5.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.37e-05/0.1528, allocations: 37.64 kB / 0.6836 GB, free: 5.207 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.1528, allocations: 4 kB / 0.6836 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1528, allocations: 0 / 0.6836 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1528, allocations: 3.938 kB / 0.6836 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.1529, allocations: 4 kB / 0.6836 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.1529, allocations: 3.938 kB / 0.6836 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-06/0.1529, allocations: 0 / 0.6836 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.1529, allocations: 0 / 0.6836 GB, free: 5.191 MB / 494.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 5.82e-05/0.153, allocations: 109.9 kB / 0.6837 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-06/0.153, allocations: 0 / 0.6837 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.735e-05/0.153, allocations: 11.05 kB / 0.6837 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.153, allocations: 4 kB / 0.6837 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.153, allocations: 0 / 0.6837 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.153, allocations: 0 / 0.6837 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.533e-05/0.1531, allocations: 145.7 kB / 0.6839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1531, allocations: 0 / 0.6839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/0.1531, allocations: 8 kB / 0.6839 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1531, allocations: 0 / 0.6839 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.1531, allocations: 7.938 kB / 0.6839 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1531, allocations: 3.984 kB / 0.6839 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1532, allocations: 0 / 0.6839 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.881e-05/0.1532, allocations: 57.08 kB / 0.6839 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.1532, allocations: 81.11 kB / 0.684 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.1533, allocations: 3.938 kB / 0.684 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-06/0.1533, allocations: 0 / 0.684 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-06/0.1533, allocations: 4.031 kB / 0.684 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.1533, allocations: 3.984 kB / 0.684 GB, free: 4.664 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.525e-05/0.1533, allocations: 75.28 kB / 0.6841 GB, free: 4.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1533, allocations: 0 / 0.6841 GB, free: 4.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001765/0.1535, allocations: 4 kB / 0.6841 GB, free: 4.586 MB / 494.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 7.232e-05/0.1536, allocations: 91.25 kB / 0.6842 GB, free: 4.484 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.24e-05/0.1536, allocations: 7.938 kB / 0.6842 GB, free: 4.477 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1536, allocations: 0 / 0.6842 GB, free: 4.477 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.1537, allocations: 8.062 kB / 0.6842 GB, free: 4.469 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.1538, allocations: 2.5 kB / 0.6842 GB, free: 4.469 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000177/0.154, allocations: 80.92 kB / 0.6843 GB, free: 4.363 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.1542, allocations: 0.6729 MB / 0.6849 GB, free: 3.664 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.848e-06/0.1542, allocations: 0 / 0.6849 GB, free: 3.664 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.1542, allocations: 7.438 kB / 0.6849 GB, free: 3.656 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1542, allocations: 0 / 0.6849 GB, free: 3.656 MB / 494.1 MB Notification: Performance of Templates: time 0.001568/0.1558, allocations: 172.9 kB / 0.6851 GB, free: 3.488 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)