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.001551/0.001551, allocations: 108 kB / 16.41 MB, free: 6.504 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.001653/0.001653, allocations: 189.2 kB / 17.34 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.412/1.412, 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.002575/0.002575, allocations: 296.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 99.83 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4692, allocations: 86.97 MB / 0.767 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004965/0.4742, allocations: 3.068 MB / 0.77 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005483/0.4796, allocations: 3.259 MB / 0.7732 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.4799, allocations: 3.938 kB / 0.7732 GB, free: 13.51 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.0003766/0.4803, allocations: 67.36 kB / 0.7732 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.4815, allocations: 435.8 kB / 0.7737 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008994/0.4824, allocations: 386.4 kB / 0.774 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007904/0.4832, allocations: 0.7142 MB / 0.7747 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.4834, allocations: 78.41 kB / 0.7748 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003678/0.4838, allocations: 291.1 kB / 0.7751 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005104/0.4843, allocations: 322.8 kB / 0.7754 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.679e-05/0.4844, allocations: 64 kB / 0.7754 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008821/0.4852, allocations: 499.5 kB / 0.7759 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.4854, allocations: 171.5 kB / 0.7761 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.4857, allocations: 286.6 kB / 0.7764 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.487, allocations: 0.9789 MB / 0.7773 GB, free: 9.277 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.487, allocations: 4 kB / 0.7773 GB, free: 9.273 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.487, allocations: 0 / 0.7773 GB, free: 9.273 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.587e-06/0.487, allocations: 0 / 0.7773 GB, free: 9.273 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.002173/0.4892, allocations: 0.9321 MB / 0.7782 GB, free: 8.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.4892, allocations: 8.031 kB / 0.7782 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.4925, allocations: 0.5585 MB / 0.7788 GB, free: 7.723 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.4939, allocations: 0.5625 MB / 0.7793 GB, free: 7.121 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.4941, allocations: 203.8 kB / 0.7795 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.974e-05/0.4942, allocations: 43.94 kB / 0.7796 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.4957, allocations: 0.683 MB / 0.7802 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.4957, allocations: 0 / 0.7802 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/0.4958, allocations: 16 kB / 0.7803 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.4958, allocations: 12 kB / 0.7803 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.4978, allocations: 0.7689 MB / 0.781 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.5014, allocations: 1.716 MB / 0.7827 GB, free: 3.578 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/0.5047, allocations: 0.988 MB / 0.7837 GB, free: 2.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008885/0.5055, allocations: 338.2 kB / 0.784 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002117/0.5077, allocations: 1.777 MB / 0.7857 GB, free: 72 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.5087, allocations: 462.8 kB / 0.7862 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 2.425e-06/0.5087, allocations: 0 / 0.7862 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002968/0.5117, allocations: 1.065 MB / 0.7872 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/0.5118, allocations: 111.4 kB / 0.7873 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.5122, allocations: 361.7 kB / 0.7876 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.522e-05/0.5123, allocations: 41.7 kB / 0.7877 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.5125, allocations: 217.4 kB / 0.7879 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.5127, allocations: 234 kB / 0.7881 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.513, allocations: 146.5 kB / 0.7883 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.5132, allocations: 362.8 kB / 0.7886 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008581/0.514, allocations: 309.8 kB / 0.7889 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000971/0.515, allocations: 441.6 kB / 0.7893 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.5168, allocations: 0.7244 MB / 0.79 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5168, allocations: 4 kB / 0.79 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002179/0.519, allocations: 0.8677 MB / 0.7909 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.519, allocations: 4 kB / 0.7909 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.519, allocations: 4 kB / 0.7909 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.5191, allocations: 4 kB / 0.7909 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.5201, allocations: 187.9 kB / 0.7911 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.5201, allocations: 15.88 kB / 0.7911 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.5208, allocations: 91.5 kB / 0.7912 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.043e-05/0.5209, allocations: 43.95 kB / 0.7912 GB, free: 10.29 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.0003099/0.5212, allocations: 196.9 kB / 0.7914 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.5213, allocations: 47.67 kB / 0.7914 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/0.5242, allocations: 1.127 MB / 0.7925 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.5242, allocations: 12 kB / 0.7926 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5242, allocations: 3.938 kB / 0.7926 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.5242, allocations: 3.984 kB / 0.7926 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.5276, allocations: 1.766 MB / 0.7943 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5276, allocations: 0 / 0.7943 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.5287, allocations: 191.7 kB / 0.7945 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.5287, allocations: 11.88 kB / 0.7945 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.65e-05/0.5287, allocations: 27.98 kB / 0.7945 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.601e-05/0.5288, allocations: 4 kB / 0.7945 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5288, allocations: 3.938 kB / 0.7945 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.531, allocations: 1.006 MB / 0.7955 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.5313, allocations: 220.5 kB / 0.7957 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.5314, allocations: 23.94 kB / 0.7957 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/0.532, allocations: 55.92 kB / 0.7958 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.5322, allocations: 60.91 kB / 0.7958 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.787e-05/0.5323, allocations: 27.98 kB / 0.7959 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000305/0.5326, allocations: 255.2 kB / 0.7961 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5326, allocations: 0 / 0.7961 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007825/0.5333, allocations: 235.5 kB / 0.7963 GB, free: 4.922 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.0017/0.535, allocations: 0.4987 MB / 0.7968 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002046/0.5371, allocations: 0.7762 MB / 0.7976 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5371, allocations: 4.062 kB / 0.7976 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.5381, allocations: 441.4 kB / 0.798 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.5386, allocations: 79.53 kB / 0.7981 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.5409, allocations: 1.152 MB / 0.7992 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.5414, allocations: 0.87 MB / 0.8001 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006616/0.5421, allocations: 172.6 kB / 0.8002 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.5424, allocations: 83.38 kB / 0.8003 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of SimCode: time 5.72e-07/0.5424, allocations: 4 kB / 0.8003 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of Templates: time 0.01793/0.5603, allocations: 9.623 MB / 0.8097 GB, free: 7.387 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)