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.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001614/0.001614, allocations: 196.2 kB / 16.14 MB, free: 6.707 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 / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 287 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9458/0.9458, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 90.17 kB / 0.5945 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1552, allocations: 86.99 MB / 0.6794 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002533/0.1578, allocations: 1.657 MB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007896/0.1586, allocations: 0.5263 MB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.1586, allocations: 0 / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.1587, allocations: 7.922 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1589, allocations: 37.89 kB / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.392e-05/0.159, allocations: 27.97 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.1591, allocations: 111.6 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.1592, allocations: 21.56 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1593, allocations: 52.64 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.036e-05/0.1594, allocations: 43.83 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.1595, allocations: 4.625 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.018e-05/0.1595, allocations: 4 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.1595, allocations: 25.2 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.1596, allocations: 39.8 kB / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.1597, allocations: 87.73 kB / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1597, allocations: 0.75 kB / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1597, allocations: 0 / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.1597, allocations: 4 kB / 0.682 GB, free: 14.5 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.0006817/0.1604, allocations: 395.2 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.1605, allocations: 16.02 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.1605, allocations: 8.844 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.1606, allocations: 184.2 kB / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1607, allocations: 4.375 kB / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1607, allocations: 8.375 kB / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1609, allocations: 93.89 kB / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1609, allocations: 0 / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.1609, allocations: 8 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1609, allocations: 3.984 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.161, allocations: 47.91 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.1615, allocations: 352.5 kB / 0.6831 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.1618, allocations: 106.7 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.1619, allocations: 52.78 kB / 0.6832 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.1619, allocations: 0 / 0.6832 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.1621, allocations: 95.36 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.1621, allocations: 0 / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003278/0.1624, allocations: 149.4 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.1625, allocations: 55.41 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/0.1626, allocations: 130.2 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1626, allocations: 25.7 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.1627, allocations: 92.28 kB / 0.6838 GB, free: 12.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.1627, allocations: 35.69 kB / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.1628, allocations: 29.7 kB / 0.6838 GB, free: 12.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.1629, allocations: 322.8 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-05/0.1629, allocations: 27.98 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.474e-05/0.163, allocations: 27.98 kB / 0.6842 GB, free: 12.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1631, allocations: 67.84 kB / 0.6843 GB, free: 11.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1631, allocations: 3.938 kB / 0.6843 GB, free: 11.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000183/0.1633, allocations: 109.6 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1633, allocations: 8 kB / 0.6844 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1633, allocations: 0 / 0.6844 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.1633, allocations: 4 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1635, allocations: 15.98 kB / 0.6844 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1635, allocations: 4 kB / 0.6844 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.1636, allocations: 15.92 kB / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1636, allocations: 4 kB / 0.6844 GB, free: 11.82 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.082e-05/0.1637, allocations: 119.1 kB / 0.6845 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.1637, allocations: 7.906 kB / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.164, allocations: 150 kB / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.164, allocations: 0 / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.164, allocations: 0 / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.164, allocations: 3.938 kB / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.1642, allocations: 213.4 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1642, allocations: 0 / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.1643, allocations: 31.86 kB / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1643, allocations: 0 / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1643, allocations: 0 / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1643, allocations: 0 / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1643, allocations: 4 kB / 0.6849 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1646, allocations: 168.3 kB / 0.6851 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.1646, allocations: 85 kB / 0.6852 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.1647, allocations: 11.94 kB / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1648, allocations: 4 kB / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.1648, allocations: 15.97 kB / 0.6852 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1649, allocations: 15.92 kB / 0.6852 GB, free: 10.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.016e-05/0.1649, allocations: 99.27 kB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1649, allocations: 7.938 kB / 0.6853 GB, free: 10.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002058/0.1652, allocations: 20 kB / 0.6853 GB, free: 10.79 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.0001081/0.1653, allocations: 103.2 kB / 0.6854 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1655, allocations: 83.95 kB / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1655, allocations: 3.938 kB / 0.6855 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.1656, allocations: 47.98 kB / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.1657, allocations: 4 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.1662, allocations: 252.2 kB / 0.6858 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1664, allocations: 0.7004 MB / 0.6865 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.967e-05/0.1665, allocations: 8.562 kB / 0.6865 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.1665, allocations: 23.42 kB / 0.6865 GB, free: 9.512 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1666, allocations: 0 / 0.6865 GB, free: 9.512 MB / 494.1 MB Notification: Performance of Templates: time 0.003032/0.1696, allocations: 1.005 MB / 0.6875 GB, free: 8.523 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)