Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",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.001259/0.001259, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001262/0.001262, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.613 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: 282.6 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9027/0.9027, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001606, allocations: 92.52 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1404, allocations: 86.98 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003903/0.1443, allocations: 3.086 MB / 0.6825 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004116/0.1485, allocations: 3.262 MB / 0.6857 GB, free: 10.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1486, allocations: 7.938 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.1489, allocations: 47.64 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000736/0.1497, allocations: 354.5 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006204/0.1503, allocations: 343.6 kB / 0.6864 GB, free: 10 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.1508, allocations: 0.6556 MB / 0.6871 GB, free: 9.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.151, allocations: 122.5 kB / 0.6872 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.1513, allocations: 247.1 kB / 0.6874 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.1517, allocations: 309 kB / 0.6877 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.1518, allocations: 28 kB / 0.6878 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006891/0.1524, allocations: 475.5 kB / 0.6882 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.1526, allocations: 139.5 kB / 0.6883 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.1528, allocations: 258.5 kB / 0.6886 GB, free: 7.797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008639/0.1537, allocations: 0.931 MB / 0.6895 GB, free: 6.863 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1537, allocations: 0 / 0.6895 GB, free: 6.863 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1537, allocations: 3.938 kB / 0.6895 GB, free: 6.859 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1537, allocations: 4 kB / 0.6895 GB, free: 6.855 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001769/0.1555, allocations: 0.914 MB / 0.6904 GB, free: 5.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1555, allocations: 12.03 kB / 0.6904 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.858e-05/0.1556, allocations: 90.7 kB / 0.6905 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/0.1587, allocations: 0.5426 MB / 0.691 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.1598, allocations: 0.5622 MB / 0.6916 GB, free: 4.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.16, allocations: 203.5 kB / 0.6918 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.1601, allocations: 44 kB / 0.6918 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.1614, allocations: 0.6792 MB / 0.6925 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1615, allocations: 0 / 0.6925 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.299e-05/0.1615, allocations: 16 kB / 0.6925 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.1615, allocations: 12 kB / 0.6925 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.1633, allocations: 0.7766 MB / 0.6933 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.1664, allocations: 1.731 MB / 0.695 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.1694, allocations: 1.019 MB / 0.6959 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007857/0.1702, allocations: 358.3 kB / 0.6963 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001637/0.1718, allocations: 1.769 MB / 0.698 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009708/0.1728, allocations: 460.5 kB / 0.6985 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 3.546e-06/0.1728, allocations: 0 / 0.6985 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.002594/0.1754, allocations: 1.068 MB / 0.6995 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.1755, allocations: 119.3 kB / 0.6996 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.1758, allocations: 357.7 kB / 0.7 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.1759, allocations: 41.7 kB / 0.7 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.176, allocations: 213 kB / 0.7002 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.1762, allocations: 224.8 kB / 0.7004 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.1764, allocations: 146.5 kB / 0.7006 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1766, allocations: 354.8 kB / 0.7009 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007596/0.1773, allocations: 317.8 kB / 0.7012 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.1782, allocations: 449.5 kB / 0.7016 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.1798, allocations: 0.7166 MB / 0.7023 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1798, allocations: 0 / 0.7023 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00191/0.1817, allocations: 0.8595 MB / 0.7032 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1817, allocations: 8.312 kB / 0.7032 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1817, allocations: 4 kB / 0.7032 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1818, allocations: 8 kB / 0.7032 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000956/0.1827, allocations: 187.7 kB / 0.7034 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.1827, allocations: 7.938 kB / 0.7034 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.1834, allocations: 99.31 kB / 0.7035 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.976e-05/0.1835, allocations: 35.97 kB / 0.7035 GB, free: 7.758 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiationFixed.outsidePolarCircle,radiationOneAxisTracked.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0002383/0.1837, allocations: 194.3 kB / 0.7037 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1839, allocations: 51.42 kB / 0.7037 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.1865, allocations: 1.131 MB / 0.7048 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.1865, allocations: 15.94 kB / 0.7049 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1865, allocations: 3.938 kB / 0.7049 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1865, allocations: 3.984 kB / 0.7049 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.1893, allocations: 1.751 MB / 0.7066 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1894, allocations: 0 / 0.7066 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009442/0.1903, allocations: 191.7 kB / 0.7068 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.1903, allocations: 7.938 kB / 0.7068 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.898e-05/0.1904, allocations: 31.97 kB / 0.7068 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.1904, allocations: 4 kB / 0.7068 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1904, allocations: 0 / 0.7068 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.1923, allocations: 1.003 MB / 0.7078 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.1926, allocations: 228 kB / 0.708 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.1927, allocations: 20 kB / 0.708 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/0.1933, allocations: 54 kB / 0.7081 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.1935, allocations: 52.92 kB / 0.7081 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.1935, allocations: 35.97 kB / 0.7081 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002398/0.1938, allocations: 251.2 kB / 0.7084 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1938, allocations: 0 / 0.7084 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006461/0.1944, allocations: 227.8 kB / 0.7086 GB, free: 2.422 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.003166/0.1976, allocations: 1.962 MB / 0.7105 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.1994, allocations: 0.8112 MB / 0.7113 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1994, allocations: 0 / 0.7113 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009271/0.2004, allocations: 477.7 kB / 0.7118 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.2009, allocations: 65.34 kB / 0.7118 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008174/0.209, allocations: 5.404 MB / 0.7171 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.2094, allocations: 0.8665 MB / 0.718 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008139/0.2102, allocations: 176.6 kB / 0.7181 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/0.2107, allocations: 223.3 kB / 0.7183 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.2107, allocations: 0 / 0.7183 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.2382, allocations: 13.84 MB / 0.7319 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.2384, allocations: 254.4 kB / 0.7321 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.196, allocations: 0 / 0.7321 GB, free: 10.46 MB / 0.5294 GB (rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation.fmu > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)