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.001311/0.001311, allocations: 100.2 kB / 16.41 MB, free: 6.008 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.001269/0.001269, allocations: 189.8 kB / 17.34 MB, free: 5.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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002177/0.002177, allocations: 282.8 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9521/0.9521, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 91.84 kB / 0.6821 GB, free: 7.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4364, allocations: 86.99 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003972/0.4404, allocations: 3.052 MB / 0.77 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004405/0.4448, allocations: 3.257 MB / 0.7732 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.445, allocations: 0 / 0.7732 GB, free: 13.61 MB / 0.545 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.0002807/0.4453, allocations: 63.36 kB / 0.7732 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009205/0.4462, allocations: 437.7 kB / 0.7737 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007397/0.4469, allocations: 382.4 kB / 0.774 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006277/0.4476, allocations: 0.7025 MB / 0.7747 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.4478, allocations: 122.6 kB / 0.7748 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.4481, allocations: 283.1 kB / 0.7751 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004452/0.4486, allocations: 326.8 kB / 0.7754 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.249e-05/0.4487, allocations: 60 kB / 0.7755 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007762/0.4495, allocations: 0.4917 MB / 0.7759 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.4496, allocations: 167.5 kB / 0.7761 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.4499, allocations: 290.5 kB / 0.7764 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.4509, allocations: 0.9725 MB / 0.7773 GB, free: 9.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.4509, allocations: 0 / 0.7773 GB, free: 9.352 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.02e-07/0.451, allocations: 0 / 0.7773 GB, free: 9.352 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.451, allocations: 4 kB / 0.7773 GB, free: 9.348 MB / 0.545 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.001867/0.4528, allocations: 0.9063 MB / 0.7782 GB, free: 8.391 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4529, allocations: 16.02 kB / 0.7782 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003174/0.4561, allocations: 0.5426 MB / 0.7788 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.4573, allocations: 0.57 MB / 0.7793 GB, free: 7.223 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.4575, allocations: 199.8 kB / 0.7795 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.343e-05/0.4576, allocations: 43.94 kB / 0.7795 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.459, allocations: 0.683 MB / 0.7802 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.459, allocations: 4 kB / 0.7802 GB, free: 6.246 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/0.4591, allocations: 16 kB / 0.7802 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.4591, allocations: 12 kB / 0.7802 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.4609, allocations: 0.7728 MB / 0.781 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003298/0.4642, allocations: 1.712 MB / 0.7827 GB, free: 3.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/0.4673, allocations: 1.031 MB / 0.7837 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008118/0.4681, allocations: 366.3 kB / 0.784 GB, free: 2.262 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001856/0.47, allocations: 1.773 MB / 0.7858 GB, free: 104 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000985/0.471, allocations: 458.8 kB / 0.7862 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 2.174e-06/0.471, allocations: 0 / 0.7862 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002743/0.4738, allocations: 1.06 MB / 0.7872 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.4738, allocations: 119.3 kB / 0.7873 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.4743, allocations: 365.5 kB / 0.7877 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/0.4743, allocations: 37.7 kB / 0.7877 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.4745, allocations: 217.1 kB / 0.7879 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.4747, allocations: 216.8 kB / 0.7881 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.475, allocations: 146.5 kB / 0.7883 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4751, allocations: 354.8 kB / 0.7886 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007951/0.4759, allocations: 317.8 kB / 0.7889 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008924/0.4768, allocations: 433.6 kB / 0.7893 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.4786, allocations: 0.7321 MB / 0.7901 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4786, allocations: 0 / 0.7901 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002045/0.4807, allocations: 0.8597 MB / 0.7909 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4807, allocations: 4 kB / 0.7909 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4807, allocations: 8 kB / 0.7909 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4807, allocations: 4 kB / 0.7909 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.4818, allocations: 195.8 kB / 0.7911 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/0.4818, allocations: 11.92 kB / 0.7911 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/0.4825, allocations: 95.31 kB / 0.7912 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/0.4826, allocations: 31.97 kB / 0.7912 GB, free: 10.34 MB / 0.5606 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.0002541/0.4828, allocations: 201.2 kB / 0.7914 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.4829, allocations: 51.44 kB / 0.7915 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/0.4856, allocations: 1.12 MB / 0.7926 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.4857, allocations: 8 kB / 0.7926 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4857, allocations: 3.938 kB / 0.7926 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.4857, allocations: 3.984 kB / 0.7926 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.4887, allocations: 1.778 MB / 0.7943 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4887, allocations: 0 / 0.7943 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.4897, allocations: 195.7 kB / 0.7945 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.4897, allocations: 7.938 kB / 0.7945 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/0.4898, allocations: 27.97 kB / 0.7945 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.4898, allocations: 4 kB / 0.7945 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4898, allocations: 3.938 kB / 0.7945 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.4918, allocations: 1.001 MB / 0.7955 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.4921, allocations: 216.2 kB / 0.7957 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.4922, allocations: 23.92 kB / 0.7957 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/0.4929, allocations: 59.94 kB / 0.7958 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.493, allocations: 52.92 kB / 0.7959 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.075e-05/0.4931, allocations: 31.98 kB / 0.7959 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003021/0.4934, allocations: 251.2 kB / 0.7961 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.607e-06/0.4934, allocations: 0 / 0.7961 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007617/0.4942, allocations: 231.7 kB / 0.7963 GB, free: 4.988 MB / 0.5606 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.001124/0.4953, allocations: 0.5082 MB / 0.7968 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.4972, allocations: 0.8033 MB / 0.7976 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4972, allocations: 0 / 0.7976 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009697/0.4982, allocations: 477.7 kB / 0.7981 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.4987, allocations: 75.83 kB / 0.7982 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.5008, allocations: 1.17 MB / 0.7993 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.5012, allocations: 0.8739 MB / 0.8002 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/0.5016, allocations: 99.34 kB / 0.8002 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5016, allocations: 0 / 0.8002 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of Templates: time 0.0137/0.5153, allocations: 10.31 MB / 0.8103 GB, free: 6.777 MB / 0.5762 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)