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.8138/0.8138, allocations: 128.6 MB / 143.8 MB, free: 2.238 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.0009581/0.0009582, allocations: 179.3 kB / 173.7 MB, free: 6.254 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.691/1.691, allocations: 205 MB / 408.3 MB, free: 10.72 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.0007477/0.0007477, allocations: 82.12 kB / 485.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003211, allocations: 15.69 kB / 0.5587 GB, free: 98.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1328, allocations: 76.14 MB / 0.633 GB, free: 32.94 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime): time 0.001696/0.1345, allocations: 0.6652 MB / 0.6337 GB, free: 32.27 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 3.205e-05/0.1346, allocations: 8 kB / 0.6337 GB, free: 32.26 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.421e-05/0.1346, allocations: 0 / 0.6337 GB, free: 32.26 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.1346, allocations: 4 kB / 0.6337 GB, free: 32.26 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.459e-06/0.1347, allocations: 3.938 kB / 0.6337 GB, free: 32.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.064e-05/0.1347, allocations: 0 / 0.6337 GB, free: 32.25 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.205e-05/0.1347, allocations: 0 / 0.6337 GB, free: 32.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.1348, allocations: 0 / 0.6337 GB, free: 32.25 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.286e-05/0.1348, allocations: 0 / 0.6337 GB, free: 32.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.709e-05/0.1348, allocations: 0 / 0.6337 GB, free: 32.25 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.1348, allocations: 4 kB / 0.6337 GB, free: 32.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.387e-06/0.1348, allocations: 0 / 0.6337 GB, free: 32.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.1349, allocations: 4 kB / 0.6337 GB, free: 32.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.1349, allocations: 0 / 0.6337 GB, free: 32.25 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 4.166e-05/0.1349, allocations: 0 / 0.6337 GB, free: 32.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1349, allocations: 0 / 0.6337 GB, free: 32.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1349, allocations: 0 / 0.6337 GB, free: 32.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1349, allocations: 0 / 0.6337 GB, free: 32.25 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.0001959/0.1351, allocations: 315.6 kB / 0.634 GB, free: 31.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1352, allocations: 8.031 kB / 0.634 GB, free: 31.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.1352, allocations: 0.9375 kB / 0.634 GB, free: 31.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.423e-05/0.1353, allocations: 160.4 kB / 0.6342 GB, free: 31.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.1353, allocations: 8.375 kB / 0.6342 GB, free: 31.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-06/0.1353, allocations: 4.312 kB / 0.6342 GB, free: 31.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.07e-05/0.1354, allocations: 26.27 kB / 0.6342 GB, free: 31.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1354, allocations: 192 / 0.6342 GB, free: 31.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1354, allocations: 15.8 kB / 0.6342 GB, free: 31.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1354, allocations: 0 / 0.6342 GB, free: 31.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.385e-05/0.1354, allocations: 4 kB / 0.6342 GB, free: 31.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.442e-05/0.1355, allocations: 145.7 kB / 0.6344 GB, free: 31.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.281e-05/0.1356, allocations: 22.61 kB / 0.6344 GB, free: 31.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.889e-05/0.1356, allocations: 8.797 kB / 0.6344 GB, free: 31.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.1356, allocations: 0 / 0.6344 GB, free: 31.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.1356, allocations: 34.62 kB / 0.6344 GB, free: 31.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.1356, allocations: 0 / 0.6344 GB, free: 31.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 9.805e-05/0.1357, allocations: 41.62 kB / 0.6345 GB, free: 31.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.1357, allocations: 51.53 kB / 0.6345 GB, free: 31.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.699e-05/0.1358, allocations: 93.86 kB / 0.6346 GB, free: 31.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.1358, allocations: 25.7 kB / 0.6346 GB, free: 31.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.159e-05/0.1358, allocations: 84.12 kB / 0.6347 GB, free: 31.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.1358, allocations: 0 / 0.6347 GB, free: 31.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.1358, allocations: 13.72 kB / 0.6347 GB, free: 31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.1359, allocations: 314.8 kB / 0.635 GB, free: 30.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-06/0.1359, allocations: 3.938 kB / 0.635 GB, free: 30.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-06/0.1359, allocations: 0 / 0.635 GB, free: 30.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.952e-05/0.1359, allocations: 12.92 kB / 0.6351 GB, free: 30.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1359, allocations: 0 / 0.6351 GB, free: 30.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.481e-05/0.136, allocations: 33.69 kB / 0.6351 GB, free: 30.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.136, allocations: 9.875 kB / 0.6351 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.136, allocations: 0 / 0.6351 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.136, allocations: 3.938 kB / 0.6351 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.426e-05/0.1361, allocations: 0 / 0.6351 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.1361, allocations: 0 / 0.6351 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.847e-06/0.1361, allocations: 4 kB / 0.6351 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.1361, allocations: 4.031 kB / 0.6351 GB, free: 30.6 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 3.984e-05/0.1361, allocations: 117.8 kB / 0.6352 GB, free: 30.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-06/0.1362, allocations: 3.984 kB / 0.6352 GB, free: 30.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.24e-05/0.1362, allocations: 11.05 kB / 0.6352 GB, free: 30.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.1362, allocations: 0 / 0.6352 GB, free: 30.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1362, allocations: 4 kB / 0.6352 GB, free: 30.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.1362, allocations: 0 / 0.6352 GB, free: 30.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.245e-05/0.1362, allocations: 141.7 kB / 0.6354 GB, free: 30.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.1362, allocations: 3.938 kB / 0.6354 GB, free: 30.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-06/0.1363, allocations: 8 kB / 0.6354 GB, free: 30.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-06/0.1363, allocations: 0 / 0.6354 GB, free: 30.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.1363, allocations: 7.938 kB / 0.6354 GB, free: 30.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.1363, allocations: 0 / 0.6354 GB, free: 30.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1363, allocations: 3.984 kB / 0.6354 GB, free: 30.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.908e-05/0.1363, allocations: 61.06 kB / 0.6355 GB, free: 30.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.1363, allocations: 77.11 kB / 0.6355 GB, free: 30.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.1364, allocations: 7.969 kB / 0.6355 GB, free: 30.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.711e-06/0.1364, allocations: 4 kB / 0.6355 GB, free: 30.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.1364, allocations: 0 / 0.6355 GB, free: 30.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-06/0.1364, allocations: 3.938 kB / 0.6355 GB, free: 30.06 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.076e-05/0.1364, allocations: 75.28 kB / 0.6356 GB, free: 29.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1364, allocations: 0 / 0.6356 GB, free: 29.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001722/0.1366, allocations: 0 / 0.6356 GB, free: 29.99 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 6.088e-05/0.1367, allocations: 99.23 kB / 0.6357 GB, free: 29.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.566e-05/0.1367, allocations: 12 kB / 0.6357 GB, free: 29.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1367, allocations: 0 / 0.6357 GB, free: 29.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.107e-06/0.1367, allocations: 0 / 0.6357 GB, free: 29.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.1369, allocations: 4 kB / 0.6357 GB, free: 29.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001323/0.137, allocations: 74.67 kB / 0.6358 GB, free: 29.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.361e-05/0.1371, allocations: 0.6731 MB / 0.6365 GB, free: 29.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.62e-05/0.1371, allocations: 0 / 0.6365 GB, free: 29.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/0.1371, allocations: 7.438 kB / 0.6365 GB, free: 29.06 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1371, allocations: 128 / 0.6365 GB, free: 29.06 MB / 442.7 MB Notification: Performance of Templates: time 0.001346/0.1385, allocations: 165 kB / 0.6366 GB, free: 28.9 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)