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.001413/0.001414, allocations: 112.6 kB / 16.37 MB, free: 6 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.001239/0.001239, allocations: 196 kB / 17.31 MB, free: 5.613 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.272/1.272, 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.001993/0.001993, allocations: 291.9 kB / 291.4 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.8837/0.8837, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 89.56 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1619, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003968/0.1659, allocations: 3.051 MB / 0.6846 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003906/0.1698, allocations: 3.248 MB / 0.6877 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.17, allocations: 4 kB / 0.6877 GB, free: 1.129 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.0002768/0.1702, allocations: 67.36 kB / 0.6878 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007886/0.171, allocations: 425.7 kB / 0.6882 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.1717, allocations: 391.1 kB / 0.6886 GB, free: 272 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.3114/0.4831, allocations: 0.6987 MB / 0.6893 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004283/0.4835, allocations: 121.5 kB / 0.6894 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008543/0.4844, allocations: 288.5 kB / 0.6897 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008811/0.4853, allocations: 323.9 kB / 0.69 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002656/0.4856, allocations: 60.72 kB / 0.69 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.487, allocations: 0.4908 MB / 0.6905 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002992/0.4873, allocations: 168 kB / 0.6907 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005132/0.4879, allocations: 293.5 kB / 0.6909 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.4897, allocations: 0.9715 MB / 0.6919 GB, free: 12.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4897, allocations: 0 / 0.6919 GB, free: 12.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4897, allocations: 1.5 kB / 0.6919 GB, free: 12.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.4897, allocations: 0.9062 kB / 0.6919 GB, free: 12.41 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.002152/0.4919, allocations: 0.9099 MB / 0.6928 GB, free: 11.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4919, allocations: 9.422 kB / 0.6928 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.4953, allocations: 0.5539 MB / 0.6933 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.4966, allocations: 0.5602 MB / 0.6939 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.4968, allocations: 200.2 kB / 0.6941 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.4969, allocations: 47.22 kB / 0.6941 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.4985, allocations: 0.6853 MB / 0.6948 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.4985, allocations: 0 / 0.6948 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/0.4986, allocations: 18.72 kB / 0.6948 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.4986, allocations: 10.94 kB / 0.6948 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.5007, allocations: 0.7684 MB / 0.6956 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.5044, allocations: 1.722 MB / 0.6972 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.5074, allocations: 1.016 MB / 0.6982 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008493/0.5083, allocations: 368.8 kB / 0.6986 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/0.5099, allocations: 1.774 MB / 0.7003 GB, free: 8.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.511, allocations: 454.2 kB / 0.7008 GB, free: 7.941 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 3.707e-06/0.511, allocations: 4 kB / 0.7008 GB, free: 7.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.002941/0.5139, allocations: 1.071 MB / 0.7018 GB, free: 7.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.514, allocations: 111.2 kB / 0.7019 GB, free: 7.438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005092/0.5145, allocations: 356.6 kB / 0.7023 GB, free: 7.254 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/0.5146, allocations: 40.33 kB / 0.7023 GB, free: 7.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.5147, allocations: 215.9 kB / 0.7025 GB, free: 7.027 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.5149, allocations: 226.1 kB / 0.7027 GB, free: 6.855 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.5152, allocations: 144.8 kB / 0.7029 GB, free: 6.793 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.5153, allocations: 364 kB / 0.7032 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008022/0.5161, allocations: 315.2 kB / 0.7035 GB, free: 6.355 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009385/0.5171, allocations: 445.1 kB / 0.7039 GB, free: 6.125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.5188, allocations: 0.723 MB / 0.7046 GB, free: 5.785 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5188, allocations: 0.6562 kB / 0.7046 GB, free: 5.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002213/0.521, allocations: 0.8536 MB / 0.7055 GB, free: 5.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.521, allocations: 6.531 kB / 0.7055 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.5211, allocations: 6.406 kB / 0.7055 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.5211, allocations: 4.812 kB / 0.7055 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.5221, allocations: 193.5 kB / 0.7057 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.5222, allocations: 7.25 kB / 0.7057 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.5229, allocations: 103.2 kB / 0.7058 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/0.523, allocations: 35.02 kB / 0.7058 GB, free: 5.422 MB / 494.1 MB 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.0003591/0.5234, allocations: 203.6 kB / 0.706 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.5235, allocations: 46.34 kB / 0.706 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/0.5265, allocations: 1.124 MB / 0.7071 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.5265, allocations: 10.97 kB / 0.7072 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5265, allocations: 1.375 kB / 0.7072 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.5265, allocations: 8.531 kB / 0.7072 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.53, allocations: 1.768 MB / 0.7089 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.53, allocations: 0 / 0.7089 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009966/0.531, allocations: 192.2 kB / 0.7091 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/0.531, allocations: 3.094 kB / 0.7091 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.5311, allocations: 32.19 kB / 0.7091 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.5311, allocations: 8 kB / 0.7091 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5311, allocations: 0 / 0.7091 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.5332, allocations: 0.999 MB / 0.7101 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.5335, allocations: 223.1 kB / 0.7103 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-05/0.5337, allocations: 21.69 kB / 0.7103 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006243/0.5343, allocations: 57.52 kB / 0.7104 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.5344, allocations: 56.83 kB / 0.7104 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.5345, allocations: 28.7 kB / 0.7105 GB, free: 3.281 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002896/0.5348, allocations: 255 kB / 0.7107 GB, free: 3.148 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5348, allocations: 0 / 0.7107 GB, free: 3.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009002/0.5357, allocations: 228.7 kB / 0.7109 GB, free: 3.09 MB / 494.1 MB 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.5369, allocations: 0.5019 MB / 0.7114 GB, free: 2.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.5388, allocations: 0.8136 MB / 0.7122 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5388, allocations: 0.625 kB / 0.7122 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009495/0.5398, allocations: 475.7 kB / 0.7127 GB, free: 2.527 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.5402, allocations: 72.86 kB / 0.7127 GB, free: 2.484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.5423, allocations: 1.132 MB / 0.7138 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.5426, allocations: 0.8671 MB / 0.7147 GB, free: 1.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006403/0.5432, allocations: 173.8 kB / 0.7148 GB, free: 1.133 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/0.5436, allocations: 91.86 kB / 0.7149 GB, free: 1.113 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5436, allocations: 0 / 0.7149 GB, free: 1.113 MB / 494.1 MB Notification: Performance of Templates: time 0.01506/0.5586, allocations: 9.455 MB / 0.7242 GB, free: 13.24 MB / 0.4981 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)