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.001452/0.001452, allocations: 116.1 kB / 16.42 MB, free: 6.5 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.001635/0.001635, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002277/0.002277, allocations: 292.4 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9453/0.9453, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 95.84 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3832, allocations: 86.97 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004221/0.3875, allocations: 3.064 MB / 0.77 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00462/0.3921, allocations: 3.251 MB / 0.7732 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.3924, allocations: 0 / 0.7732 GB, free: 13.59 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.0003904/0.3928, allocations: 63.33 kB / 0.7732 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.3941, allocations: 445 kB / 0.7737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008906/0.395, allocations: 373.1 kB / 0.774 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007944/0.3958, allocations: 0.7104 MB / 0.7747 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.396, allocations: 110.6 kB / 0.7748 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.3965, allocations: 295.1 kB / 0.7751 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005476/0.397, allocations: 318.8 kB / 0.7754 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.3972, allocations: 60 kB / 0.7755 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008869/0.3981, allocations: 0.4917 MB / 0.7759 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.3983, allocations: 171.5 kB / 0.7761 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.3986, allocations: 294.5 kB / 0.7764 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.3998, allocations: 0.9686 MB / 0.7773 GB, free: 9.332 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3999, allocations: 0 / 0.7773 GB, free: 9.332 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.257e-06/0.3999, allocations: 4 kB / 0.7773 GB, free: 9.328 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.3999, allocations: 3.938 kB / 0.7773 GB, free: 9.324 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.002103/0.402, allocations: 0.9102 MB / 0.7782 GB, free: 8.363 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.402, allocations: 8.031 kB / 0.7782 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/0.4054, allocations: 0.5544 MB / 0.7788 GB, free: 7.801 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.4067, allocations: 0.5505 MB / 0.7793 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/0.4069, allocations: 211.8 kB / 0.7795 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.407, allocations: 43.94 kB / 0.7796 GB, free: 6.922 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.4086, allocations: 0.6792 MB / 0.7802 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.4086, allocations: 0 / 0.7802 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.4087, allocations: 16 kB / 0.7802 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.4087, allocations: 8 kB / 0.7802 GB, free: 6.207 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.4107, allocations: 0.7805 MB / 0.781 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003579/0.4142, allocations: 1.728 MB / 0.7827 GB, free: 3.645 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/0.4174, allocations: 1.029 MB / 0.7837 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008505/0.4183, allocations: 362.3 kB / 0.784 GB, free: 2.238 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/0.4201, allocations: 1.773 MB / 0.7858 GB, free: 80 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.4211, allocations: 461.5 kB / 0.7862 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 3.176e-06/0.4211, allocations: 0 / 0.7862 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002814/0.424, allocations: 1.068 MB / 0.7873 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.424, allocations: 111.4 kB / 0.7874 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/0.4244, allocations: 357.5 kB / 0.7877 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.826e-05/0.4245, allocations: 37.7 kB / 0.7877 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.4247, allocations: 221.1 kB / 0.7879 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.4249, allocations: 216.8 kB / 0.7882 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/0.4251, allocations: 150.5 kB / 0.7883 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.4253, allocations: 354.8 kB / 0.7886 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008295/0.4261, allocations: 313.8 kB / 0.7889 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009234/0.427, allocations: 445.5 kB / 0.7894 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.4288, allocations: 0.7166 MB / 0.7901 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4288, allocations: 0 / 0.7901 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002115/0.4309, allocations: 0.8596 MB / 0.7909 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.4309, allocations: 8 kB / 0.7909 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4309, allocations: 3.984 kB / 0.7909 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.431, allocations: 12.19 kB / 0.7909 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.432, allocations: 187.7 kB / 0.7911 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/0.432, allocations: 4 kB / 0.7911 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007435/0.4328, allocations: 95.25 kB / 0.7912 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.868e-05/0.4329, allocations: 43.95 kB / 0.7912 GB, free: 10.32 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.0003151/0.4332, allocations: 204.5 kB / 0.7914 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.4333, allocations: 47.44 kB / 0.7915 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.4361, allocations: 1.112 MB / 0.7926 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.4362, allocations: 3.984 kB / 0.7926 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4362, allocations: 3.984 kB / 0.7926 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.4365, allocations: 228 kB / 0.7928 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.4366, allocations: 20 kB / 0.7928 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/0.4373, allocations: 55.94 kB / 0.7929 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.4374, allocations: 60.91 kB / 0.7929 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002609/0.4401, allocations: 1.044 MB / 0.7939 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00214/0.4422, allocations: 1.081 MB / 0.795 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009111/0.4431, allocations: 435.7 kB / 0.7954 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002718/0.4434, allocations: 255.2 kB / 0.7957 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of Backend: time 3.1e-07/0.4434, allocations: 0 / 0.7957 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003016/0.4465, allocations: 1.075 MB / 0.7967 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001512/0.448, allocations: 1.265 MB / 0.7979 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of Templates: time 0.01928/0.4673, allocations: 12.09 MB / 0.8098 GB, free: 7.512 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)