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.001647/0.001647, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001724/0.001724, allocations: 198.7 kB / 16.26 MB, free: 6.625 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002575/0.002575, allocations: 290.9 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 178.6 MB / 0.507 GB, free: 4.695 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002836/0.002836, allocations: 108.5 kB / 0.6059 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1439, allocations: 89.14 MB / 0.693 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004387/0.1483, allocations: 3.106 MB / 0.696 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004479/0.1528, allocations: 3.206 MB / 0.6991 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1529, allocations: 3.938 kB / 0.6991 GB, free: 14.36 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.0002856/0.1532, allocations: 51.61 kB / 0.6992 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008914/0.1541, allocations: 378.4 kB / 0.6995 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.1548, allocations: 342.4 kB / 0.6999 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006935/0.1555, allocations: 0.7025 MB / 0.7006 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.1557, allocations: 126.8 kB / 0.7007 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.1561, allocations: 283.1 kB / 0.7009 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.1565, allocations: 326.8 kB / 0.7013 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.1566, allocations: 64 kB / 0.7013 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007442/0.1574, allocations: 0.4917 MB / 0.7018 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.1576, allocations: 167.5 kB / 0.702 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.1579, allocations: 294.5 kB / 0.7022 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.1589, allocations: 0.9584 MB / 0.7032 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1589, allocations: 0 / 0.7032 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1589, allocations: 0 / 0.7032 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.1589, allocations: 0 / 0.7032 GB, free: 10.21 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.001976/0.1609, allocations: 0.9218 MB / 0.7041 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.161, allocations: 8.031 kB / 0.7041 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.1643, allocations: 0.5505 MB / 0.7046 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.1656, allocations: 0.5545 MB / 0.7052 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.1658, allocations: 203.7 kB / 0.7054 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.1659, allocations: 47.94 kB / 0.7054 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.1674, allocations: 0.6752 MB / 0.7061 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1675, allocations: 4 kB / 0.7061 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.1676, allocations: 20 kB / 0.7061 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.1676, allocations: 16 kB / 0.7061 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.1695, allocations: 0.7689 MB / 0.7068 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003595/0.1731, allocations: 1.731 MB / 0.7085 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.1764, allocations: 1.023 MB / 0.7095 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008612/0.1773, allocations: 355.7 kB / 0.7099 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002115/0.1794, allocations: 1.773 MB / 0.7116 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.1805, allocations: 458.8 kB / 0.712 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.124e-06/0.1805, allocations: 0 / 0.712 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.00293/0.1834, allocations: 1.068 MB / 0.7131 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.1835, allocations: 115.4 kB / 0.7132 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.1839, allocations: 365.6 kB / 0.7135 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.455e-05/0.184, allocations: 37.7 kB / 0.7136 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.1842, allocations: 217 kB / 0.7138 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.1844, allocations: 212.8 kB / 0.714 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.1847, allocations: 154.5 kB / 0.7141 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1849, allocations: 350.8 kB / 0.7145 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008276/0.1857, allocations: 317.8 kB / 0.7148 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009587/0.1867, allocations: 449.5 kB / 0.7152 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.1885, allocations: 0.7165 MB / 0.7159 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.1885, allocations: 0 / 0.7159 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002117/0.1906, allocations: 0.8635 MB / 0.7168 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1906, allocations: 8 kB / 0.7168 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1907, allocations: 0 / 0.7168 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1907, allocations: 8 kB / 0.7168 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.1917, allocations: 191.9 kB / 0.7169 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.1917, allocations: 7.938 kB / 0.717 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000733/0.1925, allocations: 99.31 kB / 0.7171 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/0.1926, allocations: 31.97 kB / 0.7171 GB, free: 11.19 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.0002717/0.1929, allocations: 198.6 kB / 0.7173 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.193, allocations: 55.36 kB / 0.7173 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/0.1959, allocations: 1.12 MB / 0.7184 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.1959, allocations: 8 kB / 0.7184 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1959, allocations: 11.88 kB / 0.7184 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.1959, allocations: 3.984 kB / 0.7184 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.1991, allocations: 1.763 MB / 0.7202 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.1992, allocations: 4 kB / 0.7202 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.2002, allocations: 191.7 kB / 0.7203 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.2002, allocations: 7.938 kB / 0.7204 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/0.2003, allocations: 31.95 kB / 0.7204 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2003, allocations: 0 / 0.7204 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2003, allocations: 0 / 0.7204 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.2025, allocations: 1.007 MB / 0.7214 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.2027, allocations: 220.1 kB / 0.7216 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.2029, allocations: 19.94 kB / 0.7216 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006867/0.2036, allocations: 55.94 kB / 0.7217 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.2037, allocations: 56.92 kB / 0.7217 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.358e-05/0.2038, allocations: 31.97 kB / 0.7217 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000282/0.2041, allocations: 251.2 kB / 0.722 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2041, allocations: 0 / 0.722 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006824/0.2048, allocations: 227.8 kB / 0.7222 GB, free: 5.844 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.001694/0.2065, allocations: 0.5094 MB / 0.7227 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002543/0.209, allocations: 0.885 MB / 0.7236 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.209, allocations: 0 / 0.7236 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.2101, allocations: 473.9 kB / 0.724 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.2106, allocations: 70.05 kB / 0.7241 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.2128, allocations: 1.383 MB / 0.7254 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.2133, allocations: 0.87 MB / 0.7263 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008594/0.2142, allocations: 172.5 kB / 0.7264 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.2145, allocations: 95.3 kB / 0.7265 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of SimCode: time 2.014e-06/0.2145, allocations: 0 / 0.7265 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of Templates: time 0.01625/0.2308, allocations: 9.437 MB / 0.7357 GB, free: 8.117 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)