Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 111.5 kB / 17.08 MB, free: 6.016 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.001236/0.001236, allocations: 199 kB / 18.02 MB, free: 5.094 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.276/1.276, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6805/0.6805, allocations: 115.3 MB / 407.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.19 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1456, allocations: 76.19 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002992/0.1487, allocations: 1.469 MB / 0.6342 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1497, allocations: 470.8 kB / 0.6346 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.1498, allocations: 0 / 0.6346 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.1499, allocations: 0 / 0.6346 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.1502, allocations: 27.78 kB / 0.6347 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.1503, allocations: 15.98 kB / 0.6347 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1504, allocations: 55.77 kB / 0.6347 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.1505, allocations: 4 kB / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1507, allocations: 31.92 kB / 0.6348 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.764e-05/0.1508, allocations: 19.92 kB / 0.6348 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.1508, allocations: 4 kB / 0.6348 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.1508, allocations: 0 / 0.6348 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.1509, allocations: 19.91 kB / 0.6348 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.1509, allocations: 19.92 kB / 0.6348 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.1511, allocations: 39.83 kB / 0.6349 GB, free: 2.211 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1511, allocations: 7.938 kB / 0.6349 GB, free: 2.203 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1511, allocations: 0 / 0.6349 GB, free: 2.203 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.1511, allocations: 0 / 0.6349 GB, free: 2.203 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006713/0.1518, allocations: 351.4 kB / 0.6352 GB, free: 1.812 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1518, allocations: 8.031 kB / 0.6352 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.1519, allocations: 20.7 kB / 0.6352 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.1521, allocations: 168.4 kB / 0.6354 GB, free: 1.582 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1521, allocations: 4.375 kB / 0.6354 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.1521, allocations: 4.375 kB / 0.6354 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1523, allocations: 53.98 kB / 0.6354 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1523, allocations: 3.984 kB / 0.6355 GB, free: 1.512 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1523, allocations: 8 kB / 0.6355 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1523, allocations: 0 / 0.6355 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.863e-05/0.1524, allocations: 19.92 kB / 0.6355 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.1528, allocations: 272.8 kB / 0.6357 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.1529, allocations: 42.56 kB / 0.6358 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.153, allocations: 28.94 kB / 0.6358 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.153, allocations: 0 / 0.6358 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.1532, allocations: 71.33 kB / 0.6359 GB, free: 1.004 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.1532, allocations: 0 / 0.6359 GB, free: 1.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002119/0.1534, allocations: 77.67 kB / 0.636 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.1534, allocations: 55.41 kB / 0.636 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.338e-05/0.1535, allocations: 109.8 kB / 0.6361 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1535, allocations: 25.7 kB / 0.6361 GB, free: 0.707 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.1536, allocations: 92.05 kB / 0.6362 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.1536, allocations: 11.91 kB / 0.6362 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.1537, allocations: 17.7 kB / 0.6362 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1538, allocations: 322.8 kB / 0.6366 GB, free: 260 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.841e-05/0.1538, allocations: 8 kB / 0.6366 GB, free: 252 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.951e-05/0.1538, allocations: 19.92 kB / 0.6366 GB, free: 232 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.1539, allocations: 28.86 kB / 0.6366 GB, free: 200 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1539, allocations: 4 kB / 0.6366 GB, free: 196 kB / 478.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.88e-05/0.154, allocations: 61.59 kB / 0.6367 GB, free: 128 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.154, allocations: 4 kB / 0.6367 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.154, allocations: 4 kB / 0.6367 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.154, allocations: 0 / 0.6367 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.1541, allocations: 15.98 kB / 0.6367 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1541, allocations: 0 / 0.6367 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.1542, allocations: 7.938 kB / 0.6367 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1542, allocations: 0 / 0.6367 GB, free: 96 kB / 478.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: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 0.0001032/0.1543, allocations: 121.7 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.1544, allocations: 7.906 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.1544, allocations: 11.95 kB / 0.6368 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1544, allocations: 0 / 0.6368 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1544, allocations: 448 / 0.6368 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1544, allocations: 0 / 0.6368 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.1545, allocations: 181.5 kB / 0.637 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1546, allocations: 4 kB / 0.637 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.1546, allocations: 4 kB / 0.637 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1546, allocations: 0 / 0.637 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1546, allocations: 7.984 kB / 0.637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1546, allocations: 0 / 0.637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1546, allocations: 0 / 0.637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.1548, allocations: 97 kB / 0.6371 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.1548, allocations: 85.02 kB / 0.6372 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1548, allocations: 7.984 kB / 0.6372 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/0.1549, allocations: 4 kB / 0.6372 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.1549, allocations: 0 / 0.6372 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1549, allocations: 7.984 kB / 0.6372 GB, free: 15.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.95e-05/0.155, allocations: 91.27 kB / 0.6373 GB, free: 15.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.155, allocations: 4 kB / 0.6373 GB, free: 15.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001783/0.1552, allocations: 8 kB / 0.6373 GB, free: 15.36 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: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000108/0.1553, allocations: 103.2 kB / 0.6374 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.1554, allocations: 35.94 kB / 0.6375 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1554, allocations: 0 / 0.6375 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/0.1555, allocations: 19.92 kB / 0.6375 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.1556, allocations: 8 kB / 0.6375 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.156, allocations: 159.9 kB / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1563, allocations: 0.6807 MB / 0.6383 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.1563, allocations: 7.438 kB / 0.6383 GB, free: 14.29 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1563, allocations: 4 kB / 0.6383 GB, free: 14.28 MB / 494.1 MB Notification: Performance of Templates: time 0.002124/0.1584, allocations: 0.7564 MB / 0.639 GB, free: 13.53 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)