Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8436/0.8436, allocations: 128.7 MB / 144.5 MB, free: 1.387 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001646, allocations: 191.3 kB / 174.2 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 408.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001246/0.001246, allocations: 106.3 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 57.44 kB / 0.558 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1808, allocations: 75.48 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime): time 0.002802/0.1837, allocations: 0.6581 MB / 0.6323 GB, free: 32.4 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 5.638e-05/0.1838, allocations: 4 kB / 0.6323 GB, free: 32.39 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.1838, allocations: 4 kB / 0.6323 GB, free: 32.39 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.1839, allocations: 3.938 kB / 0.6323 GB, free: 32.39 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.314e-06/0.1839, allocations: 3.938 kB / 0.6323 GB, free: 32.38 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.108e-05/0.184, allocations: 0 / 0.6323 GB, free: 32.38 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.764e-05/0.1841, allocations: 4 kB / 0.6323 GB, free: 32.38 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.693e-05/0.1841, allocations: 0 / 0.6323 GB, free: 32.38 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.1842, allocations: 0 / 0.6323 GB, free: 32.38 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.655e-05/0.1842, allocations: 3.938 kB / 0.6323 GB, free: 32.38 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1842, allocations: 0 / 0.6323 GB, free: 32.38 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-06/0.1842, allocations: 0 / 0.6323 GB, free: 32.38 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.1843, allocations: 7.984 kB / 0.6323 GB, free: 32.37 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.1843, allocations: 4 kB / 0.6324 GB, free: 32.36 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.303e-05/0.1844, allocations: 4 kB / 0.6324 GB, free: 32.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1844, allocations: 0 / 0.6324 GB, free: 32.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1844, allocations: 0 / 0.6324 GB, free: 32.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1844, allocations: 0 / 0.6324 GB, free: 32.36 MB / 442.7 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.0002709/0.1847, allocations: 311.6 kB / 0.6327 GB, free: 32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1847, allocations: 8.031 kB / 0.6327 GB, free: 32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1848, allocations: 0.9375 kB / 0.6327 GB, free: 32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.201e-05/0.1849, allocations: 160.4 kB / 0.6328 GB, free: 31.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1849, allocations: 4.375 kB / 0.6328 GB, free: 31.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.1849, allocations: 4.375 kB / 0.6328 GB, free: 31.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.185, allocations: 26.27 kB / 0.6328 GB, free: 31.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.185, allocations: 4.125 kB / 0.6329 GB, free: 31.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1851, allocations: 3.938 kB / 0.6329 GB, free: 31.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1851, allocations: 0 / 0.6329 GB, free: 31.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.1851, allocations: 11.92 kB / 0.6329 GB, free: 31.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.1853, allocations: 145.7 kB / 0.633 GB, free: 31.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.269e-05/0.1853, allocations: 18.58 kB / 0.633 GB, free: 31.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.1854, allocations: 8.953 kB / 0.633 GB, free: 31.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.1854, allocations: 0 / 0.633 GB, free: 31.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1854, allocations: 34.56 kB / 0.6331 GB, free: 31.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1854, allocations: 0 / 0.6331 GB, free: 31.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.1856, allocations: 45.56 kB / 0.6331 GB, free: 31.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.1856, allocations: 51.41 kB / 0.6332 GB, free: 31.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.998e-05/0.1857, allocations: 93.98 kB / 0.6332 GB, free: 31.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.1857, allocations: 25.7 kB / 0.6333 GB, free: 31.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.141e-05/0.1857, allocations: 80.14 kB / 0.6333 GB, free: 31.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1857, allocations: 0 / 0.6333 GB, free: 31.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.1858, allocations: 17.72 kB / 0.6334 GB, free: 31.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.1858, allocations: 310.8 kB / 0.6337 GB, free: 30.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.1859, allocations: 0 / 0.6337 GB, free: 30.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.1859, allocations: 0 / 0.6337 GB, free: 30.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.1859, allocations: 12.92 kB / 0.6337 GB, free: 30.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1859, allocations: 3.938 kB / 0.6337 GB, free: 30.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.439e-05/0.186, allocations: 37.62 kB / 0.6337 GB, free: 30.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.186, allocations: 8 kB / 0.6337 GB, free: 30.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.186, allocations: 0 / 0.6337 GB, free: 30.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1861, allocations: 3.938 kB / 0.6337 GB, free: 30.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.1861, allocations: 0 / 0.6337 GB, free: 30.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1861, allocations: 0 / 0.6337 GB, free: 30.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.1862, allocations: 4 kB / 0.6337 GB, free: 30.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.1862, allocations: 8.031 kB / 0.6337 GB, free: 30.72 MB / 442.7 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.957e-05/0.1862, allocations: 109.8 kB / 0.6338 GB, free: 30.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.1863, allocations: 0 / 0.6338 GB, free: 30.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.776e-05/0.1863, allocations: 7.062 kB / 0.6338 GB, free: 30.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1863, allocations: 0 / 0.6338 GB, free: 30.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1863, allocations: 3.984 kB / 0.6339 GB, free: 30.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1863, allocations: 3.984 kB / 0.6339 GB, free: 30.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.396e-05/0.1864, allocations: 149.6 kB / 0.634 GB, free: 30.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1864, allocations: 0 / 0.634 GB, free: 30.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.1864, allocations: 4 kB / 0.634 GB, free: 30.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1864, allocations: 4 kB / 0.634 GB, free: 30.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.1865, allocations: 3.938 kB / 0.634 GB, free: 30.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1865, allocations: 4 kB / 0.634 GB, free: 30.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1865, allocations: 0 / 0.634 GB, free: 30.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.1867, allocations: 0.6044 MB / 0.6346 GB, free: 29.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.1868, allocations: 81.14 kB / 0.6347 GB, free: 29.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1868, allocations: 0 / 0.6347 GB, free: 29.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.049e-05/0.1868, allocations: 7.938 kB / 0.6347 GB, free: 29.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.1868, allocations: 0 / 0.6347 GB, free: 29.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.1868, allocations: 0 / 0.6347 GB, free: 29.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.509e-05/0.1869, allocations: 75.28 kB / 0.6348 GB, free: 29.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1869, allocations: 0 / 0.6348 GB, free: 29.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004925/0.1874, allocations: 0 / 0.6348 GB, free: 29.54 MB / 442.7 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 0.0001235/0.1875, allocations: 99.25 kB / 0.6349 GB, free: 29.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.025e-05/0.1876, allocations: 4 kB / 0.6349 GB, free: 29.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1876, allocations: 0 / 0.6349 GB, free: 29.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.506e-06/0.1876, allocations: 3.984 kB / 0.6349 GB, free: 29.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.1878, allocations: 7.938 kB / 0.6349 GB, free: 29.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.1881, allocations: 181.3 kB / 0.635 GB, free: 29.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.1883, allocations: 0.6731 MB / 0.6357 GB, free: 28.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.985e-05/0.1883, allocations: 4 kB / 0.6357 GB, free: 28.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.1883, allocations: 11.56 kB / 0.6357 GB, free: 28.48 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1883, allocations: 0 / 0.6357 GB, free: 28.48 MB / 442.7 MB Notification: Performance of Templates: time 0.002395/0.1907, allocations: 157.1 kB / 0.6359 GB, free: 28.33 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)