Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001082/0.001082, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001264/0.001264, allocations: 189.4 kB / 16.25 MB, free: 6.586 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 290.9 kB / 290.4 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9524/0.9524, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 88.02 kB / 0.5947 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1493, allocations: 86.99 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002827/0.1521, allocations: 1.66 MB / 0.6813 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008846/0.153, allocations: 0.5213 MB / 0.6818 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.1531, allocations: 7.938 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.719e-05/0.1532, allocations: 4.562 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.1535, allocations: 39.91 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.1536, allocations: 35.89 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1537, allocations: 115.6 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1539, allocations: 20.22 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.154, allocations: 47.83 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1541, allocations: 47.83 kB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.1541, allocations: 8 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.797e-05/0.1542, allocations: 8 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.268e-05/0.1542, allocations: 27.91 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.1543, allocations: 51.78 kB / 0.6822 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1544, allocations: 87.69 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1544, allocations: 0 / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1544, allocations: 0 / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1544, allocations: 0 / 0.6822 GB, free: 14.38 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006915/0.1551, allocations: 400.9 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1552, allocations: 12.03 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.1552, allocations: 8.844 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.1554, allocations: 184.2 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1554, allocations: 4.375 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1554, allocations: 8.375 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1556, allocations: 93.83 kB / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1556, allocations: 0 / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1557, allocations: 0 / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1557, allocations: 4 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.1558, allocations: 51.95 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/0.1563, allocations: 344.6 kB / 0.6833 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.1566, allocations: 110.6 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.1567, allocations: 48.84 kB / 0.6835 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.1567, allocations: 0 / 0.6835 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.1569, allocations: 103.3 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 2.695e-06/0.157, allocations: 0 / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002995/0.1573, allocations: 149.5 kB / 0.6837 GB, free: 12.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.1573, allocations: 51.41 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.1574, allocations: 121.8 kB / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1574, allocations: 33.7 kB / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.1575, allocations: 96.27 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.1575, allocations: 35.62 kB / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.1576, allocations: 29.7 kB / 0.6841 GB, free: 12.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1577, allocations: 318.8 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.1578, allocations: 27.98 kB / 0.6844 GB, free: 11.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.1578, allocations: 35.92 kB / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.158, allocations: 64.78 kB / 0.6845 GB, free: 11.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.158, allocations: 8 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001691/0.1581, allocations: 112.2 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1582, allocations: 4 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1582, allocations: 0 / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1582, allocations: 0 / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1583, allocations: 27.92 kB / 0.6846 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1583, allocations: 0 / 0.6846 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.1584, allocations: 11.92 kB / 0.6846 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1584, allocations: 4 kB / 0.6846 GB, free: 11.7 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.211e-05/0.1585, allocations: 123.2 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.1586, allocations: 7.906 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.1588, allocations: 145.9 kB / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1589, allocations: 4 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1589, allocations: 0 / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.1589, allocations: 3.938 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.159, allocations: 217.4 kB / 0.6851 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1591, allocations: 0 / 0.6851 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.1591, allocations: 12 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1591, allocations: 7.984 kB / 0.6851 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1592, allocations: 8 kB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1592, allocations: 0 / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1592, allocations: 0 / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.1594, allocations: 164.9 kB / 0.6853 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.1595, allocations: 85.02 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.1595, allocations: 3.984 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1596, allocations: 12 kB / 0.6854 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.1597, allocations: 11.98 kB / 0.6854 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.1597, allocations: 15.92 kB / 0.6854 GB, free: 10.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.845e-05/0.1598, allocations: 100.1 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1598, allocations: 0 / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.16, allocations: 24 kB / 0.6855 GB, free: 10.68 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.0001109/0.1601, allocations: 103.2 kB / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1603, allocations: 91.16 kB / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1603, allocations: 4 kB / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.1604, allocations: 55.91 kB / 0.6858 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.1606, allocations: 8.266 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.161, allocations: 248.7 kB / 0.686 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.1613, allocations: 0.704 MB / 0.6867 GB, free: 9.418 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.977e-05/0.1613, allocations: 8.547 kB / 0.6867 GB, free: 9.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.1614, allocations: 23.42 kB / 0.6867 GB, free: 9.387 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1614, allocations: 4 kB / 0.6868 GB, free: 9.383 MB / 494.1 MB Notification: Performance of Templates: time 0.002977/0.1644, allocations: 1.052 MB / 0.6878 GB, free: 8.344 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)