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.001302/0.001302, allocations: 108 kB / 15.61 MB, free: 152 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.001271/0.001271, allocations: 197 kB / 16.53 MB, free: 6.664 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 267.1 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004554/0.004554, allocations: 101.2 kB / 0.6065 GB, free: 24.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1814, allocations: 89.15 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.0045/0.1859, allocations: 3.047 MB / 0.6966 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.1908, allocations: 3.253 MB / 0.6997 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.1909, allocations: 0 / 0.6997 GB, free: 13.92 MB / 0.4981 GB [/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.0003251/0.1913, allocations: 63.38 kB / 0.6998 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1923, allocations: 437.7 kB / 0.7002 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008022/0.1931, allocations: 383.5 kB / 0.7006 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006966/0.1938, allocations: 0.6986 MB / 0.7013 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.1941, allocations: 118.5 kB / 0.7014 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.1944, allocations: 279.2 kB / 0.7016 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.1949, allocations: 326.8 kB / 0.702 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.1951, allocations: 60 kB / 0.702 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008756/0.1959, allocations: 0.4956 MB / 0.7025 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.1961, allocations: 167.5 kB / 0.7027 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000291/0.1964, allocations: 290.5 kB / 0.7029 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.1976, allocations: 0.9584 MB / 0.7039 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1976, allocations: 4 kB / 0.7039 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1976, allocations: 0 / 0.7039 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.1976, allocations: 0 / 0.7039 GB, free: 9.676 MB / 0.4981 GB 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.002033/0.1996, allocations: 0.9102 MB / 0.7048 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1997, allocations: 8.031 kB / 0.7048 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.1998, allocations: 86.7 kB / 0.7049 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003387/0.2032, allocations: 0.5583 MB / 0.7054 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.2046, allocations: 0.5622 MB / 0.706 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.2048, allocations: 199.5 kB / 0.7061 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.2049, allocations: 44 kB / 0.7062 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.2064, allocations: 0.6791 MB / 0.7068 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.2064, allocations: 0 / 0.7068 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.53e-05/0.2065, allocations: 20 kB / 0.7069 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.2065, allocations: 15.94 kB / 0.7069 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.2085, allocations: 0.7767 MB / 0.7076 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.2121, allocations: 1.724 MB / 0.7093 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.2154, allocations: 1.015 MB / 0.7103 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009209/0.2163, allocations: 370.3 kB / 0.7107 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002006/0.2184, allocations: 1.765 MB / 0.7124 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.2195, allocations: 462.8 kB / 0.7128 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.795e-06/0.2195, allocations: 3.938 kB / 0.7128 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.00299/0.2225, allocations: 1.064 MB / 0.7139 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.2226, allocations: 119.2 kB / 0.714 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.223, allocations: 361.7 kB / 0.7143 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.2231, allocations: 37.7 kB / 0.7144 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.2233, allocations: 217 kB / 0.7146 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.2235, allocations: 216.8 kB / 0.7148 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.2237, allocations: 146.5 kB / 0.7149 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2239, allocations: 354.8 kB / 0.7153 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008663/0.2248, allocations: 317.8 kB / 0.7156 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009864/0.2258, allocations: 437.6 kB / 0.716 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.2276, allocations: 0.7283 MB / 0.7167 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2277, allocations: 0 / 0.7167 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002201/0.2299, allocations: 0.8558 MB / 0.7175 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2299, allocations: 8 kB / 0.7175 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2299, allocations: 0 / 0.7175 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-05/0.23, allocations: 8 kB / 0.7175 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.231, allocations: 199.8 kB / 0.7177 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.231, allocations: 7.938 kB / 0.7177 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007319/0.2318, allocations: 91.31 kB / 0.7178 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/0.2319, allocations: 35.97 kB / 0.7179 GB, free: 10.57 MB / 0.5137 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.0003024/0.2322, allocations: 203.1 kB / 0.7181 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.2323, allocations: 55.28 kB / 0.7181 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/0.2353, allocations: 1.123 MB / 0.7192 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.2353, allocations: 8 kB / 0.7192 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2353, allocations: 3.938 kB / 0.7192 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.2354, allocations: 11.97 kB / 0.7192 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003338/0.2387, allocations: 1.759 MB / 0.7209 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2387, allocations: 4 kB / 0.721 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.2397, allocations: 199.7 kB / 0.7211 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.2398, allocations: 7.938 kB / 0.7211 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/0.2398, allocations: 19.98 kB / 0.7212 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.2398, allocations: 4 kB / 0.7212 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2399, allocations: 0 / 0.7212 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.2421, allocations: 0.9995 MB / 0.7221 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.2425, allocations: 228 kB / 0.7224 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.2426, allocations: 23.94 kB / 0.7224 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006756/0.2433, allocations: 55.94 kB / 0.7224 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.2434, allocations: 56.92 kB / 0.7225 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-05/0.2435, allocations: 35.97 kB / 0.7225 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003043/0.2438, allocations: 247.2 kB / 0.7228 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.994e-06/0.2438, allocations: 0 / 0.7228 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007297/0.2446, allocations: 231.8 kB / 0.723 GB, free: 5.211 MB / 0.5137 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.004139/0.2487, allocations: 1.945 MB / 0.7249 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002762/0.2515, allocations: 0.8852 MB / 0.7258 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2515, allocations: 0 / 0.7258 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.2526, allocations: 473.4 kB / 0.7262 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.2531, allocations: 83.89 kB / 0.7263 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009293/0.2624, allocations: 5.176 MB / 0.7313 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.2629, allocations: 0.8662 MB / 0.7322 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008554/0.2638, allocations: 172.6 kB / 0.7323 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.2642, allocations: 219.3 kB / 0.7326 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.2643, allocations: 0 / 0.7326 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04179/0.306, allocations: 14.29 MB / 0.7465 GB, free: 13.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.502, allocations: 3.281 kB / 0.7465 GB, free: 13.21 MB / 0.545 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation.fmu > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)