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: translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, 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.001312/0.001312, allocations: 193.6 kB / 16.14 MB, free: 6.684 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002638/0.002638, allocations: 274.8 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.128/1.128, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002895/0.002896, allocations: 97.41 kB / 0.6057 GB, free: 25.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1879, allocations: 89.15 MB / 0.6928 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004814/0.1928, allocations: 3.105 MB / 0.6958 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005192/0.198, allocations: 3.256 MB / 0.699 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.1983, allocations: 4 kB / 0.699 GB, free: 14.48 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.0004222/0.1987, allocations: 51.62 kB / 0.699 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.1999, allocations: 354.5 kB / 0.6994 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009219/0.2008, allocations: 350.7 kB / 0.6997 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007029/0.2016, allocations: 0.6595 MB / 0.7004 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.2018, allocations: 114.8 kB / 0.7005 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.2022, allocations: 247.1 kB / 0.7007 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004876/0.2027, allocations: 302.8 kB / 0.701 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.757e-05/0.2027, allocations: 28 kB / 0.701 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009413/0.2037, allocations: 475.4 kB / 0.7015 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.2039, allocations: 139.5 kB / 0.7016 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.2042, allocations: 258.5 kB / 0.7019 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.2054, allocations: 0.9388 MB / 0.7028 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2054, allocations: 0 / 0.7028 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2055, allocations: 0 / 0.7028 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.2055, allocations: 0 / 0.7028 GB, free: 10.61 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.002161/0.2076, allocations: 0.9102 MB / 0.7037 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.2077, allocations: 8.031 kB / 0.7037 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/0.2111, allocations: 0.5544 MB / 0.7042 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.2125, allocations: 0.5583 MB / 0.7048 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.2128, allocations: 199.8 kB / 0.7049 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.615e-05/0.2129, allocations: 43.94 kB / 0.705 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.2145, allocations: 0.6792 MB / 0.7056 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.2145, allocations: 0 / 0.7056 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/0.2146, allocations: 16 kB / 0.7057 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.2146, allocations: 19.92 kB / 0.7057 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.2166, allocations: 0.7728 MB / 0.7064 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/0.2203, allocations: 1.731 MB / 0.7081 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003315/0.2236, allocations: 1.012 MB / 0.7091 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008947/0.2245, allocations: 370.3 kB / 0.7095 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002081/0.2266, allocations: 1.769 MB / 0.7112 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.2278, allocations: 462.8 kB / 0.7116 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.926e-06/0.2278, allocations: 0 / 0.7116 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.003016/0.2308, allocations: 1.064 MB / 0.7127 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.2309, allocations: 115.4 kB / 0.7128 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.2314, allocations: 361.6 kB / 0.7131 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/0.2314, allocations: 41.7 kB / 0.7132 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.2316, allocations: 213 kB / 0.7134 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.2319, allocations: 220.7 kB / 0.7136 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.2321, allocations: 146.5 kB / 0.7137 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.2323, allocations: 354.8 kB / 0.7141 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008748/0.2332, allocations: 317.8 kB / 0.7144 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009716/0.2342, allocations: 441.5 kB / 0.7148 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.236, allocations: 0.7243 MB / 0.7155 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.236, allocations: 0 / 0.7155 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002268/0.2383, allocations: 0.8635 MB / 0.7163 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.2383, allocations: 11.98 kB / 0.7163 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2383, allocations: 0 / 0.7163 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.2384, allocations: 8 kB / 0.7164 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.2394, allocations: 187.9 kB / 0.7165 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.2394, allocations: 7.938 kB / 0.7165 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007753/0.2402, allocations: 99.25 kB / 0.7166 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.908e-05/0.2403, allocations: 35.95 kB / 0.7167 GB, free: 11.59 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.0003594/0.2407, allocations: 194.3 kB / 0.7169 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.2408, allocations: 51.44 kB / 0.7169 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.2438, allocations: 1.123 MB / 0.718 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.2438, allocations: 8 kB / 0.718 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.2438, allocations: 11.88 kB / 0.718 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.2439, allocations: 7.969 kB / 0.718 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/0.2473, allocations: 1.763 MB / 0.7198 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2473, allocations: 0 / 0.7198 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.2483, allocations: 195.7 kB / 0.7199 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.2484, allocations: 7.938 kB / 0.7199 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.889e-05/0.2484, allocations: 19.98 kB / 0.72 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.2484, allocations: 4 kB / 0.72 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2485, allocations: 0 / 0.72 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.2507, allocations: 1.007 MB / 0.721 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.2511, allocations: 216.1 kB / 0.7212 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.2512, allocations: 23.94 kB / 0.7212 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/0.2519, allocations: 55.92 kB / 0.7212 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.252, allocations: 64.89 kB / 0.7213 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.372e-05/0.2521, allocations: 31.98 kB / 0.7213 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003137/0.2525, allocations: 247.2 kB / 0.7216 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2525, allocations: 0 / 0.7216 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008003/0.2533, allocations: 231.8 kB / 0.7218 GB, free: 6.246 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.00176/0.255, allocations: 0.4966 MB / 0.7223 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002153/0.2572, allocations: 0.815 MB / 0.7231 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2572, allocations: 0 / 0.7231 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.2583, allocations: 481.7 kB / 0.7235 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.2588, allocations: 64.47 kB / 0.7236 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.2613, allocations: 1.385 MB / 0.7249 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.2618, allocations: 0.8626 MB / 0.7258 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008885/0.2627, allocations: 180.5 kB / 0.726 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.263, allocations: 91.31 kB / 0.726 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.263, allocations: 4 kB / 0.726 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of Templates: time 0.01668/0.2797, allocations: 9.127 MB / 0.735 GB, free: 8.902 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile (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 & ./BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)