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.004161/0.004162, allocations: 101.4 kB / 15.73 MB, free: 5.508 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.00103/0.00103, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 286.6 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9495/0.9495, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 95.86 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1557, allocations: 86.97 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002505/0.1582, allocations: 1.605 MB / 0.768 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009068/0.1591, allocations: 0.5498 MB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.1592, allocations: 0 / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.1592, allocations: 7.922 kB / 0.7685 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1595, allocations: 39.72 kB / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.1596, allocations: 47.88 kB / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.1598, allocations: 103.6 kB / 0.7687 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1599, allocations: 23.91 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.16, allocations: 47.84 kB / 0.7688 GB, free: 6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1602, allocations: 59.75 kB / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.1602, allocations: 8 kB / 0.7688 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.263e-05/0.1602, allocations: 8 kB / 0.7688 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.1603, allocations: 15.98 kB / 0.7688 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.155e-05/0.1603, allocations: 47.78 kB / 0.7689 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.1605, allocations: 99.55 kB / 0.769 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1605, allocations: 0 / 0.769 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1605, allocations: 0 / 0.769 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1605, allocations: 0 / 0.769 GB, free: 5.766 MB / 0.5606 GB 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.0007765/0.1613, allocations: 407.1 kB / 0.7694 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1613, allocations: 8.031 kB / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.1614, allocations: 12.89 kB / 0.7694 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1616, allocations: 176.3 kB / 0.7696 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.1616, allocations: 8.375 kB / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.1616, allocations: 4.375 kB / 0.7696 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1618, allocations: 89.95 kB / 0.7697 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1618, allocations: 3.938 kB / 0.7697 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1618, allocations: 4 kB / 0.7697 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1618, allocations: 7.938 kB / 0.7697 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1619, allocations: 47.91 kB / 0.7697 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.1624, allocations: 336.7 kB / 0.77 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.1627, allocations: 114.6 kB / 0.7701 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.745e-05/0.1628, allocations: 40.84 kB / 0.7702 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.1628, allocations: 0 / 0.7702 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.163, allocations: 115.2 kB / 0.7703 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.1631, allocations: 0 / 0.7703 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0003376/0.1634, allocations: 141.6 kB / 0.7704 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.1635, allocations: 55.41 kB / 0.7705 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1636, allocations: 125.8 kB / 0.7706 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1636, allocations: 25.7 kB / 0.7706 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.1637, allocations: 100.4 kB / 0.7707 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.1637, allocations: 35.69 kB / 0.7708 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.1638, allocations: 25.7 kB / 0.7708 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1639, allocations: 322.8 kB / 0.7711 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.164, allocations: 31.98 kB / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.1641, allocations: 35.92 kB / 0.7712 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1642, allocations: 67.84 kB / 0.7712 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.1642, allocations: 4 kB / 0.7712 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001815/0.1644, allocations: 105.6 kB / 0.7713 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1644, allocations: 4 kB / 0.7713 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.1644, allocations: 3.984 kB / 0.7713 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1644, allocations: 0 / 0.7713 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1645, allocations: 23.92 kB / 0.7714 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.1646, allocations: 3.984 kB / 0.7714 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.1647, allocations: 11.89 kB / 0.7714 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.1647, allocations: 15.98 kB / 0.7714 GB, free: 3.074 MB / 0.5606 GB 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 8.935e-05/0.1648, allocations: 114.5 kB / 0.7715 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.1648, allocations: 7.953 kB / 0.7715 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.1651, allocations: 146 kB / 0.7716 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1651, allocations: 4 kB / 0.7716 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1651, allocations: 0 / 0.7716 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1652, allocations: 7.922 kB / 0.7717 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.1653, allocations: 209.6 kB / 0.7719 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1653, allocations: 4 kB / 0.7719 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.994e-05/0.1654, allocations: 16 kB / 0.7719 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1654, allocations: 4 kB / 0.7719 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1655, allocations: 7.922 kB / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1655, allocations: 0 / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1655, allocations: 0 / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.1657, allocations: 171.4 kB / 0.772 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.1658, allocations: 89 kB / 0.7721 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1658, allocations: 8 kB / 0.7721 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1659, allocations: 7.984 kB / 0.7721 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.166, allocations: 19.92 kB / 0.7722 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.166, allocations: 7.938 kB / 0.7722 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.786e-05/0.1661, allocations: 100.1 kB / 0.7723 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1661, allocations: 0 / 0.7723 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002261/0.1663, allocations: 24 kB / 0.7723 GB, free: 2.047 MB / 0.5606 GB 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.0001186/0.1664, allocations: 107.2 kB / 0.7724 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1666, allocations: 83.91 kB / 0.7725 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1667, allocations: 0 / 0.7725 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.181e-05/0.1667, allocations: 47.92 kB / 0.7725 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.1669, allocations: 10.25 kB / 0.7725 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.1673, allocations: 210.4 kB / 0.7727 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1676, allocations: 0.6963 MB / 0.7734 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.648e-05/0.1677, allocations: 16.41 kB / 0.7734 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.1677, allocations: 19.44 kB / 0.7734 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1677, allocations: 0 / 0.7734 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of Templates: time 0.3083/0.476, allocations: 1.087 MB / 0.7745 GB, free: 14.54 MB / 0.5606 GB 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)