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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007796/0.007796, allocations: 100.4 kB / 15.73 MB, free: 5.977 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.001709/0.001709, allocations: 195.8 kB / 16.67 MB, free: 5.914 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 282.5 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9217/0.9217, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 92.38 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1669, allocations: 86.99 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002855/0.1698, allocations: 1.61 MB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1709, allocations: 0.5381 MB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.387e-05/0.171, allocations: 0 / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.171, allocations: 11.92 kB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.1714, allocations: 39.72 kB / 0.7681 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.1715, allocations: 31.94 kB / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1716, allocations: 115.6 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1717, allocations: 20 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1719, allocations: 51.83 kB / 0.7683 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.172, allocations: 55.75 kB / 0.7683 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.172, allocations: 8 kB / 0.7683 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.754e-05/0.1721, allocations: 8 kB / 0.7683 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.1721, allocations: 15.98 kB / 0.7684 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.1722, allocations: 51.78 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.1723, allocations: 83.69 kB / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1723, allocations: 0 / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1723, allocations: 0 / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.1723, allocations: 7.938 kB / 0.7685 GB, free: 6.27 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.0006988/0.173, allocations: 411 kB / 0.7689 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1731, allocations: 12.03 kB / 0.7689 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/0.1731, allocations: 42.73 kB / 0.7689 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.1732, allocations: 8.844 kB / 0.769 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1733, allocations: 184.2 kB / 0.7691 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1734, allocations: 4.375 kB / 0.7691 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.1734, allocations: 8.375 kB / 0.7691 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1735, allocations: 87.31 kB / 0.7692 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1736, allocations: 0 / 0.7692 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1736, allocations: 7.938 kB / 0.7692 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1736, allocations: 0 / 0.7692 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1737, allocations: 47.97 kB / 0.7693 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.1742, allocations: 340.6 kB / 0.7696 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.1745, allocations: 110.7 kB / 0.7697 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.1746, allocations: 44.84 kB / 0.7697 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1746, allocations: 4 kB / 0.7698 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.1749, allocations: 107.2 kB / 0.7699 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1749, allocations: 0 / 0.7699 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0003534/0.1752, allocations: 141.6 kB / 0.77 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.1753, allocations: 55.41 kB / 0.77 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.353e-05/0.1754, allocations: 125.8 kB / 0.7702 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1754, allocations: 29.7 kB / 0.7702 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.1754, allocations: 92.28 kB / 0.7703 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.1755, allocations: 43.61 kB / 0.7703 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.1755, allocations: 29.7 kB / 0.7703 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.1757, allocations: 318.8 kB / 0.7707 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.1757, allocations: 27.98 kB / 0.7707 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.342e-05/0.1758, allocations: 29.88 kB / 0.7707 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1759, allocations: 64.78 kB / 0.7708 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1759, allocations: 0 / 0.7708 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000177/0.1761, allocations: 112.6 kB / 0.7709 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1761, allocations: 8 kB / 0.7709 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1761, allocations: 0 / 0.7709 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1761, allocations: 4 kB / 0.7709 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1762, allocations: 23.92 kB / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1763, allocations: 0 / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.1764, allocations: 15.92 kB / 0.7709 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1764, allocations: 3.938 kB / 0.7709 GB, free: 3.543 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 9.287e-05/0.1765, allocations: 130.5 kB / 0.7711 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.1765, allocations: 11.91 kB / 0.7711 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.1768, allocations: 138 kB / 0.7712 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1768, allocations: 3.938 kB / 0.7712 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1768, allocations: 0 / 0.7712 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1768, allocations: 7.938 kB / 0.7712 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.177, allocations: 217.5 kB / 0.7714 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.177, allocations: 0 / 0.7714 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.1771, allocations: 15.98 kB / 0.7714 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1771, allocations: 4 kB / 0.7714 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1771, allocations: 4 kB / 0.7714 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1771, allocations: 4 kB / 0.7714 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1771, allocations: 0 / 0.7714 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.1773, allocations: 160.9 kB / 0.7716 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.1774, allocations: 89 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1774, allocations: 4 kB / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1775, allocations: 11.98 kB / 0.7717 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.1776, allocations: 15.86 kB / 0.7717 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1776, allocations: 12 kB / 0.7717 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.282e-05/0.1777, allocations: 95.27 kB / 0.7718 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1777, allocations: 0 / 0.7718 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002068/0.1779, allocations: 31.84 kB / 0.7718 GB, free: 2.504 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.0005266/0.1784, allocations: 0.7009 MB / 0.7725 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1786, allocations: 87.97 kB / 0.7726 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1786, allocations: 0 / 0.7726 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.529e-05/0.1787, allocations: 47.92 kB / 0.7727 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.1789, allocations: 11.94 kB / 0.7727 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1803, allocations: 1.448 MB / 0.7741 GB, free: 104 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3014/0.4817, allocations: 0.6892 MB / 0.7748 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.818e-05/0.4819, allocations: 13.25 kB / 0.7748 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.437e-05/0.482, allocations: 33.17 kB / 0.7748 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.482, allocations: 0.75 kB / 0.7748 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.4987, allocations: 2.372 MB / 0.7771 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.532/8.03, allocations: 5.531 kB / 0.7771 GB, free: 14.02 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)