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.001045/0.001045, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009605/0.0009605, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00207/0.00207, allocations: 286.7 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9351/0.9351, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 96.36 kB / 0.5947 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1479, allocations: 86.98 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003947/0.1519, allocations: 3.093 MB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003904/0.1558, allocations: 3.206 MB / 0.6858 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1559, allocations: 4 kB / 0.6858 GB, free: 10.76 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.0002888/0.1562, allocations: 51.61 kB / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008001/0.157, allocations: 378.4 kB / 0.6862 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006288/0.1577, allocations: 338.4 kB / 0.6865 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005735/0.1583, allocations: 0.7102 MB / 0.6872 GB, free: 9.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.1585, allocations: 118.5 kB / 0.6873 GB, free: 9.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.1587, allocations: 291.1 kB / 0.6876 GB, free: 8.891 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.1592, allocations: 334.8 kB / 0.6879 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.223e-05/0.1593, allocations: 67.94 kB / 0.688 GB, free: 8.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006527/0.1599, allocations: 495.5 kB / 0.6884 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.1601, allocations: 179.4 kB / 0.6886 GB, free: 7.836 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.1603, allocations: 286.6 kB / 0.6889 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.1612, allocations: 0.9622 MB / 0.6898 GB, free: 6.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1612, allocations: 0 / 0.6898 GB, free: 6.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1612, allocations: 0 / 0.6898 GB, free: 6.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.1612, allocations: 0 / 0.6898 GB, free: 6.59 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.00182/0.1631, allocations: 0.9063 MB / 0.6907 GB, free: 5.633 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1631, allocations: 16.02 kB / 0.6907 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/0.1663, allocations: 0.5505 MB / 0.6913 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.1675, allocations: 0.5583 MB / 0.6918 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.1677, allocations: 199.8 kB / 0.692 GB, free: 4.238 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-05/0.1677, allocations: 43.94 kB / 0.692 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.1691, allocations: 0.6791 MB / 0.6927 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1691, allocations: 0 / 0.6927 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.1692, allocations: 24 kB / 0.6927 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1692, allocations: 12 kB / 0.6927 GB, free: 3.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.171, allocations: 0.7728 MB / 0.6935 GB, free: 2.691 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/0.1742, allocations: 1.735 MB / 0.6952 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/0.1774, allocations: 1.019 MB / 0.6962 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008157/0.1782, allocations: 358.3 kB / 0.6965 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/0.18, allocations: 1.777 MB / 0.6983 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.181, allocations: 454.8 kB / 0.6987 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.315e-06/0.181, allocations: 0 / 0.6987 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.002683/0.1837, allocations: 1.064 MB / 0.6997 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.1838, allocations: 115.3 kB / 0.6998 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.1841, allocations: 365.6 kB / 0.7002 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.1842, allocations: 37.7 kB / 0.7002 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1844, allocations: 209.1 kB / 0.7004 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.1845, allocations: 228.7 kB / 0.7006 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.1848, allocations: 146.5 kB / 0.7008 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1849, allocations: 358.8 kB / 0.7011 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007926/0.1857, allocations: 309.8 kB / 0.7014 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008695/0.1866, allocations: 441.6 kB / 0.7018 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.1883, allocations: 0.7243 MB / 0.7025 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1883, allocations: 4 kB / 0.7026 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002013/0.1903, allocations: 0.8519 MB / 0.7034 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1903, allocations: 8 kB / 0.7034 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1903, allocations: 4 kB / 0.7034 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1904, allocations: 4.188 kB / 0.7034 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.1914, allocations: 195.6 kB / 0.7036 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.1914, allocations: 23.84 kB / 0.7036 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00073/0.1921, allocations: 87.31 kB / 0.7037 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.1922, allocations: 43.97 kB / 0.7037 GB, free: 7.578 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.0002583/0.1925, allocations: 198.2 kB / 0.7039 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.1926, allocations: 43.44 kB / 0.704 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/0.1954, allocations: 1.127 MB / 0.7051 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.1954, allocations: 12 kB / 0.7051 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1954, allocations: 7.875 kB / 0.7051 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1954, allocations: 3.984 kB / 0.7051 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.1984, allocations: 1.755 MB / 0.7068 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1985, allocations: 0 / 0.7068 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009994/0.1995, allocations: 195.7 kB / 0.707 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.1995, allocations: 7.938 kB / 0.707 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.837e-05/0.1996, allocations: 27.97 kB / 0.707 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.1996, allocations: 4 kB / 0.707 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1996, allocations: 4 kB / 0.707 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.2016, allocations: 0.9994 MB / 0.708 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.2019, allocations: 220.1 kB / 0.7082 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.202, allocations: 23.92 kB / 0.7082 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006938/0.2027, allocations: 55.94 kB / 0.7083 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.2028, allocations: 60.92 kB / 0.7084 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.2029, allocations: 27.98 kB / 0.7084 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002466/0.2032, allocations: 255.2 kB / 0.7086 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2032, allocations: 3.938 kB / 0.7086 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006693/0.2039, allocations: 219.8 kB / 0.7088 GB, free: 2.25 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.00116/0.205, allocations: 0.5036 MB / 0.7093 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002475/0.2075, allocations: 0.8848 MB / 0.7102 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2075, allocations: 0.625 kB / 0.7102 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009629/0.2085, allocations: 469.5 kB / 0.7106 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.209, allocations: 69.39 kB / 0.7107 GB, free: 480 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.2112, allocations: 1.375 MB / 0.712 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.2116, allocations: 0.8662 MB / 0.7129 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008243/0.2124, allocations: 172.5 kB / 0.7131 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.2127, allocations: 95.36 kB / 0.7132 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of SimCode: time 1.492e-06/0.2127, allocations: 0 / 0.7132 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.01519/0.2279, allocations: 9.44 MB / 0.7224 GB, free: 4.531 MB / 0.5137 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)