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.001284/0.001284, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 195.8 kB / 16.63 MB, free: 6.609 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.317/1.317, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002184/0.002184, allocations: 287 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9388/0.9388, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 96.09 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1544, allocations: 86.98 MB / 0.7663 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002447/0.1569, allocations: 1.606 MB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.1577, allocations: 0.542 MB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.1578, allocations: 0 / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.1578, allocations: 7.875 kB / 0.7684 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.1581, allocations: 45.77 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.1582, allocations: 39.88 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1583, allocations: 111.6 kB / 0.7686 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.1584, allocations: 19.94 kB / 0.7686 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1586, allocations: 47.83 kB / 0.7687 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1587, allocations: 55.75 kB / 0.7687 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1587, allocations: 12 kB / 0.7688 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.1587, allocations: 8 kB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.1588, allocations: 19.97 kB / 0.7688 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.1588, allocations: 47.8 kB / 0.7688 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.159, allocations: 91.67 kB / 0.7689 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.159, allocations: 0 / 0.7689 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.159, allocations: 0 / 0.7689 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.159, allocations: 0 / 0.7689 GB, free: 5.793 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.000759/0.1597, allocations: 407 kB / 0.7693 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1598, allocations: 8.031 kB / 0.7693 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.1599, allocations: 8.844 kB / 0.7693 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.16, allocations: 184.2 kB / 0.7695 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1601, allocations: 4.375 kB / 0.7695 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1601, allocations: 12.36 kB / 0.7695 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1603, allocations: 85.91 kB / 0.7696 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1603, allocations: 0 / 0.7696 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1603, allocations: 7.984 kB / 0.7696 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1603, allocations: 4 kB / 0.7696 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1605, allocations: 51.91 kB / 0.7697 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.161, allocations: 336.6 kB / 0.77 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.1613, allocations: 106.7 kB / 0.7701 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.1614, allocations: 44.84 kB / 0.7701 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.1615, allocations: 0 / 0.7701 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.1617, allocations: 115.2 kB / 0.7702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1617, allocations: 0 / 0.7702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0003562/0.1621, allocations: 149.5 kB / 0.7704 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.1621, allocations: 51.41 kB / 0.7704 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1622, allocations: 125.8 kB / 0.7705 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1623, allocations: 29.7 kB / 0.7706 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.1623, allocations: 92.38 kB / 0.7707 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.1624, allocations: 39.58 kB / 0.7707 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.1624, allocations: 29.7 kB / 0.7707 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1626, allocations: 326.7 kB / 0.771 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.1626, allocations: 24 kB / 0.7711 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.479e-05/0.1627, allocations: 27.98 kB / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1628, allocations: 67.16 kB / 0.7711 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1628, allocations: 4 kB / 0.7712 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001764/0.163, allocations: 109.7 kB / 0.7713 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.163, allocations: 4 kB / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.163, allocations: 0 / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1631, allocations: 0 / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1632, allocations: 19.98 kB / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1632, allocations: 0 / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1633, allocations: 19.83 kB / 0.7713 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.1633, allocations: 4 kB / 0.7713 GB, free: 3.117 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 0.0001144/0.1634, allocations: 126.4 kB / 0.7714 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.1635, allocations: 7.906 kB / 0.7714 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.1638, allocations: 150 kB / 0.7716 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1638, allocations: 4 kB / 0.7716 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1638, allocations: 0 / 0.7716 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.1638, allocations: 3.938 kB / 0.7716 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.164, allocations: 213.5 kB / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.164, allocations: 0 / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.25e-05/0.1641, allocations: 19.92 kB / 0.7718 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1641, allocations: 4 kB / 0.7718 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1641, allocations: 4 kB / 0.7718 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1641, allocations: 0 / 0.7718 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1641, allocations: 0 / 0.7718 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1644, allocations: 164.1 kB / 0.772 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.1644, allocations: 89 kB / 0.7721 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.1644, allocations: 0 / 0.7721 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1645, allocations: 15.98 kB / 0.7721 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.1646, allocations: 11.98 kB / 0.7721 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1646, allocations: 11.88 kB / 0.7721 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.1647, allocations: 107.1 kB / 0.7722 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1647, allocations: 0 / 0.7722 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002054/0.1649, allocations: 27.91 kB / 0.7722 GB, free: 2.078 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 9.426e-05/0.165, allocations: 103.2 kB / 0.7723 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1652, allocations: 91.89 kB / 0.7724 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1652, allocations: 4 kB / 0.7724 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.13e-05/0.1653, allocations: 47.98 kB / 0.7725 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.1655, allocations: 8 kB / 0.7725 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.166, allocations: 202.6 kB / 0.7727 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.1663, allocations: 0.7002 MB / 0.7733 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.719e-05/0.1664, allocations: 12.42 kB / 0.7734 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.1664, allocations: 19.42 kB / 0.7734 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.1665, allocations: 0 / 0.7734 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of Templates: time 0.2825/0.449, allocations: 1.081 MB / 0.7744 GB, free: 14.49 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)