Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001097/0.001097, allocations: 196 kB / 17.34 MB, free: 5.719 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7092/0.7092, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 65.17 kB / 0.5577 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1355, allocations: 76.18 MB / 0.6321 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00263/0.1381, allocations: 1.587 MB / 0.6336 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009288/0.1391, allocations: 0.5337 MB / 0.6342 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.1391, allocations: 0 / 0.6342 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.1392, allocations: 15.86 kB / 0.6342 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1395, allocations: 35.78 kB / 0.6342 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.1396, allocations: 43.88 kB / 0.6343 GB, free: 2.277 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1398, allocations: 103.6 kB / 0.6344 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1399, allocations: 35.84 kB / 0.6344 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.14, allocations: 43.84 kB / 0.6344 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1402, allocations: 55.75 kB / 0.6345 GB, free: 2.043 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1402, allocations: 12 kB / 0.6345 GB, free: 2.031 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.912e-05/0.1402, allocations: 8 kB / 0.6345 GB, free: 2.023 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.1402, allocations: 19.92 kB / 0.6345 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1404, allocations: 47.78 kB / 0.6346 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1405, allocations: 95.61 kB / 0.6347 GB, free: 1.863 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1405, allocations: 0 / 0.6347 GB, free: 1.863 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1405, allocations: 4 kB / 0.6347 GB, free: 1.859 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1405, allocations: 0 / 0.6347 GB, free: 1.859 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006787/0.1412, allocations: 395.2 kB / 0.635 GB, free: 1.426 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1413, allocations: 12.03 kB / 0.635 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.1413, allocations: 8.844 kB / 0.6351 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.1414, allocations: 184.2 kB / 0.6352 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1415, allocations: 8.375 kB / 0.6352 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.1415, allocations: 8.375 kB / 0.6352 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1417, allocations: 92.98 kB / 0.6353 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1417, allocations: 0 / 0.6353 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1417, allocations: 4 kB / 0.6353 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1417, allocations: 3.984 kB / 0.6353 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.1418, allocations: 47.97 kB / 0.6354 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.1423, allocations: 340.6 kB / 0.6357 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.1426, allocations: 110.7 kB / 0.6358 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.1427, allocations: 44.84 kB / 0.6359 GB, free: 488 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1427, allocations: 4 kB / 0.6359 GB, free: 484 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.1429, allocations: 95.25 kB / 0.636 GB, free: 376 kB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.1429, allocations: 4 kB / 0.636 GB, free: 372 kB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003726/0.1433, allocations: 149.5 kB / 0.6361 GB, free: 216 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.1434, allocations: 55.41 kB / 0.6362 GB, free: 148 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.1435, allocations: 118.6 kB / 0.6363 GB, free: 20 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.1435, allocations: 29.7 kB / 0.6363 GB, free: 15.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.1436, allocations: 100.3 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.1436, allocations: 27.56 kB / 0.6364 GB, free: 15.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.1437, allocations: 29.7 kB / 0.6365 GB, free: 15.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.1439, allocations: 326.8 kB / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.144, allocations: 27.98 kB / 0.6368 GB, free: 15.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.144, allocations: 34.73 kB / 0.6368 GB, free: 15.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.1442, allocations: 64.8 kB / 0.6369 GB, free: 15.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1442, allocations: 7.938 kB / 0.6369 GB, free: 15.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001785/0.1444, allocations: 113.5 kB / 0.637 GB, free: 15.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1444, allocations: 5.406 kB / 0.637 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1444, allocations: 0 / 0.637 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1444, allocations: 4 kB / 0.637 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1445, allocations: 19.98 kB / 0.637 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1445, allocations: 4 kB / 0.637 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.1447, allocations: 15.84 kB / 0.637 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1447, allocations: 3.984 kB / 0.6371 GB, free: 15.19 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.672e-05/0.1448, allocations: 125.8 kB / 0.6372 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.1448, allocations: 4 kB / 0.6372 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.1451, allocations: 147.7 kB / 0.6373 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1451, allocations: 0 / 0.6373 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1451, allocations: 4 kB / 0.6373 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1451, allocations: 7.922 kB / 0.6373 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.1453, allocations: 213.5 kB / 0.6375 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1453, allocations: 0 / 0.6375 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.971e-05/0.1454, allocations: 15.94 kB / 0.6375 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1454, allocations: 4 kB / 0.6375 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1454, allocations: 7.984 kB / 0.6376 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1454, allocations: 0 / 0.6376 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1455, allocations: 0 / 0.6376 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1457, allocations: 160.9 kB / 0.6377 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.1458, allocations: 85.02 kB / 0.6378 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.1458, allocations: 8 kB / 0.6378 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1459, allocations: 7.984 kB / 0.6378 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.146, allocations: 7.984 kB / 0.6378 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.381e-05/0.146, allocations: 11.94 kB / 0.6378 GB, free: 14.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.195e-05/0.1461, allocations: 99.31 kB / 0.6379 GB, free: 14.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1461, allocations: 0 / 0.6379 GB, free: 14.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.1463, allocations: 24 kB / 0.6379 GB, free: 14.17 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002017/0.1466, allocations: 111.2 kB / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.1468, allocations: 90.78 kB / 0.6381 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1468, allocations: 0 / 0.6381 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.986e-05/0.1469, allocations: 51.92 kB / 0.6382 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.1471, allocations: 8 kB / 0.6382 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.1476, allocations: 218.5 kB / 0.6384 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1479, allocations: 0.7002 MB / 0.6391 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.03e-05/0.148, allocations: 12.53 kB / 0.6391 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.1481, allocations: 15.44 kB / 0.6391 GB, free: 12.91 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1481, allocations: 4 kB / 0.6391 GB, free: 12.91 MB / 494.1 MB Notification: Performance of Templates: time 0.003765/0.1518, allocations: 1.093 MB / 0.6402 GB, free: 11.82 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)