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.0009534/0.0009535, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007553/0.007553, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 273.8 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9133/0.9133, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004073, allocations: 16.42 kB / 0.5986 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003112/0.1552, allocations: 2.727 MB / 0.6878 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004188/0.1594, allocations: 3.215 MB / 0.6909 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.1595, allocations: 0 / 0.6909 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.1598, allocations: 47.62 kB / 0.691 GB, free: 9.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007519/0.1606, allocations: 360.2 kB / 0.6913 GB, free: 8.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.1612, allocations: 339.5 kB / 0.6916 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005963/0.1618, allocations: 0.6593 MB / 0.6923 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.162, allocations: 119.9 kB / 0.6924 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.1623, allocations: 235.8 kB / 0.6926 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.1627, allocations: 290.9 kB / 0.6929 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/0.1628, allocations: 24 kB / 0.6929 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006766/0.1635, allocations: 467.4 kB / 0.6933 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.1636, allocations: 127.5 kB / 0.6935 GB, free: 6.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.1639, allocations: 272.3 kB / 0.6937 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008985/0.1648, allocations: 0.923 MB / 0.6946 GB, free: 5.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1648, allocations: 3.938 kB / 0.6946 GB, free: 5.316 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1648, allocations: 0 / 0.6946 GB, free: 5.316 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1648, allocations: 0 / 0.6946 GB, free: 5.316 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.001623/0.1664, allocations: 0.7973 MB / 0.6954 GB, free: 4.469 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1665, allocations: 8.031 kB / 0.6954 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/0.1696, allocations: 0.57 MB / 0.696 GB, free: 3.891 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.1708, allocations: 0.57 MB / 0.6965 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.171, allocations: 199.8 kB / 0.6967 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.322e-05/0.1711, allocations: 43.94 kB / 0.6968 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.1725, allocations: 0.6869 MB / 0.6974 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1725, allocations: 0 / 0.6974 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.786e-05/0.1726, allocations: 16 kB / 0.6975 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1726, allocations: 16 kB / 0.6975 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.1745, allocations: 0.7767 MB / 0.6982 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003184/0.1777, allocations: 1.735 MB / 0.6999 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.1807, allocations: 1.025 MB / 0.7009 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008401/0.1816, allocations: 370.2 kB / 0.7013 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001725/0.1833, allocations: 1.769 MB / 0.703 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009948/0.1843, allocations: 462.8 kB / 0.7034 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.144e-06/0.1844, allocations: 0 / 0.7034 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.002718/0.1871, allocations: 1.08 MB / 0.7045 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.1872, allocations: 111.4 kB / 0.7046 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.1875, allocations: 365.5 kB / 0.705 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.1876, allocations: 41.7 kB / 0.705 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.1878, allocations: 217 kB / 0.7052 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.1879, allocations: 212.8 kB / 0.7054 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.188, allocations: 65.69 kB / 0.7055 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1882, allocations: 350.8 kB / 0.7058 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008078/0.189, allocations: 321.8 kB / 0.7061 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008944/0.1899, allocations: 441.6 kB / 0.7065 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.1916, allocations: 0.7321 MB / 0.7072 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1916, allocations: 4 kB / 0.7072 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001978/0.1936, allocations: 0.8636 MB / 0.7081 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1936, allocations: 8 kB / 0.7081 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1937, allocations: 0 / 0.7081 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/0.1937, allocations: 8 kB / 0.7081 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000969/0.1947, allocations: 195.8 kB / 0.7083 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.1947, allocations: 11.94 kB / 0.7083 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.1954, allocations: 101.5 kB / 0.7084 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.1955, allocations: 35.97 kB / 0.7084 GB, free: 6.422 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.0002692/0.1958, allocations: 195 kB / 0.7086 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/0.1958, allocations: 51.34 kB / 0.7087 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.1986, allocations: 1.139 MB / 0.7098 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.1986, allocations: 8 kB / 0.7098 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1987, allocations: 3.938 kB / 0.7098 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.1987, allocations: 3.984 kB / 0.7098 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.2017, allocations: 1.767 MB / 0.7115 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2017, allocations: 0 / 0.7115 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009714/0.2027, allocations: 203.7 kB / 0.7117 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.2027, allocations: 7.938 kB / 0.7117 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.2028, allocations: 23.97 kB / 0.7117 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.2028, allocations: 4 kB / 0.7117 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.2028, allocations: 0 / 0.7117 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.2049, allocations: 1.007 MB / 0.7127 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.2051, allocations: 228.1 kB / 0.713 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.214e-05/0.2052, allocations: 19.94 kB / 0.713 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.2059, allocations: 63.94 kB / 0.713 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.206, allocations: 60.89 kB / 0.7131 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.011e-05/0.2061, allocations: 35.98 kB / 0.7131 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002729/0.2064, allocations: 251.2 kB / 0.7134 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.2064, allocations: 4 kB / 0.7134 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006968/0.2071, allocations: 223.8 kB / 0.7136 GB, free: 1.039 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.2083, allocations: 0.502 MB / 0.7141 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.2102, allocations: 0.8191 MB / 0.7149 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2102, allocations: 0 / 0.7149 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009728/0.2112, allocations: 481.5 kB / 0.7153 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.2117, allocations: 65.42 kB / 0.7154 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.2139, allocations: 1.423 MB / 0.7168 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.2143, allocations: 0.8704 MB / 0.7176 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008195/0.2151, allocations: 176.5 kB / 0.7178 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.2154, allocations: 87.36 kB / 0.7179 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.2154, allocations: 0 / 0.7179 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of Templates: time 0.01462/0.23, allocations: 9.056 MB / 0.7267 GB, free: 3.723 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)