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.001254/0.001254, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001228/0.001228, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.256/1.256, 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.002131/0.002131, allocations: 289.4 kB / 291.4 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.9156/0.9156, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003076/0.003076, allocations: 90.45 kB / 0.5966 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1502, allocations: 86.97 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004073/0.1543, allocations: 3.051 MB / 0.6846 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00427/0.1586, allocations: 3.252 MB / 0.6877 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.1588, allocations: 0 / 0.6877 GB, free: 1.148 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.000285/0.1592, allocations: 75.36 kB / 0.6878 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.1602, allocations: 421.8 kB / 0.6882 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007463/0.1609, allocations: 390.2 kB / 0.6886 GB, free: 288 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.2301/0.3911, allocations: 0.7006 MB / 0.6893 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.3914, allocations: 127.3 kB / 0.6894 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.3919, allocations: 279.3 kB / 0.6896 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005651/0.3925, allocations: 325.4 kB / 0.69 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.3926, allocations: 61 kB / 0.69 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009745/0.3936, allocations: 499.8 kB / 0.6905 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.3938, allocations: 172.5 kB / 0.6907 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.3942, allocations: 291.8 kB / 0.6909 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.3955, allocations: 0.972 MB / 0.6919 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3955, allocations: 5.969 kB / 0.6919 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3955, allocations: 1.031 kB / 0.6919 GB, free: 12.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.3956, allocations: 3.75 kB / 0.6919 GB, free: 12.43 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.002155/0.3977, allocations: 0.911 MB / 0.6928 GB, free: 11.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3978, allocations: 10.38 kB / 0.6928 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003319/0.4011, allocations: 0.549 MB / 0.6933 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.4025, allocations: 0.5632 MB / 0.6939 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.4026, allocations: 201.5 kB / 0.6941 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.4027, allocations: 42.78 kB / 0.6941 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.4043, allocations: 0.683 MB / 0.6948 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.4043, allocations: 6.188 kB / 0.6948 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-05/0.4044, allocations: 18.56 kB / 0.6948 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.4044, allocations: 10.48 kB / 0.6948 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.4062, allocations: 0.7724 MB / 0.6956 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.4096, allocations: 1.72 MB / 0.6972 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/0.4126, allocations: 1.013 MB / 0.6982 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008072/0.4135, allocations: 358.6 kB / 0.6986 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.4149, allocations: 1.772 MB / 0.7003 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.4159, allocations: 464.8 kB / 0.7008 GB, free: 7.953 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.585e-06/0.4159, allocations: 0 / 0.7008 GB, free: 7.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.002705/0.4186, allocations: 1.067 MB / 0.7018 GB, free: 7.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.4187, allocations: 111 kB / 0.7019 GB, free: 7.453 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.419, allocations: 360.6 kB / 0.7022 GB, free: 7.266 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/0.4191, allocations: 39.95 kB / 0.7023 GB, free: 7.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.4192, allocations: 218.3 kB / 0.7025 GB, free: 7.043 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.4194, allocations: 220.8 kB / 0.7027 GB, free: 6.875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.4196, allocations: 149.3 kB / 0.7028 GB, free: 6.809 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.474e-05/0.4197, allocations: 360.3 kB / 0.7032 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008005/0.4205, allocations: 322.9 kB / 0.7035 GB, free: 6.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008709/0.4214, allocations: 437.6 kB / 0.7039 GB, free: 6.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.4231, allocations: 0.7179 MB / 0.7046 GB, free: 5.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4231, allocations: 5.031 kB / 0.7046 GB, free: 5.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002061/0.4251, allocations: 0.8553 MB / 0.7055 GB, free: 5.504 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4252, allocations: 5.375 kB / 0.7055 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4252, allocations: 3.125 kB / 0.7055 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4252, allocations: 9.969 kB / 0.7055 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4262, allocations: 188 kB / 0.7057 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.4263, allocations: 6.047 kB / 0.7057 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.427, allocations: 110.3 kB / 0.7058 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.585e-05/0.4271, allocations: 38.05 kB / 0.7058 GB, free: 5.434 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.0002434/0.4273, allocations: 194.9 kB / 0.706 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.4275, allocations: 46.31 kB / 0.706 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/0.4302, allocations: 1.132 MB / 0.7071 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.4302, allocations: 9.531 kB / 0.7071 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4303, allocations: 0.8438 kB / 0.7071 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.4303, allocations: 13.7 kB / 0.7072 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.4334, allocations: 1.759 MB / 0.7089 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4334, allocations: 0 / 0.7089 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.4344, allocations: 199.4 kB / 0.7091 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.4344, allocations: 3.875 kB / 0.7091 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.938e-05/0.4345, allocations: 29.3 kB / 0.7091 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.4345, allocations: 3 kB / 0.7091 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4345, allocations: 0 / 0.7091 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.4365, allocations: 1.002 MB / 0.7101 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.4368, allocations: 224 kB / 0.7103 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.437, allocations: 20.06 kB / 0.7103 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006695/0.4376, allocations: 54.89 kB / 0.7104 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.4378, allocations: 58.69 kB / 0.7104 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/0.4379, allocations: 28.8 kB / 0.7104 GB, free: 3.301 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002423/0.4381, allocations: 257.7 kB / 0.7107 GB, free: 3.164 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4381, allocations: 0 / 0.7107 GB, free: 3.164 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007262/0.4388, allocations: 224.7 kB / 0.7109 GB, free: 3.109 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.001104/0.44, allocations: 0.5048 MB / 0.7114 GB, free: 2.902 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.4418, allocations: 0.8216 MB / 0.7122 GB, free: 2.664 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4418, allocations: 0 / 0.7122 GB, free: 2.664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009394/0.4428, allocations: 473.5 kB / 0.7127 GB, free: 2.543 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.4433, allocations: 73.05 kB / 0.7127 GB, free: 2.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.4452, allocations: 1.138 MB / 0.7138 GB, free: 1.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.4455, allocations: 0.8671 MB / 0.7147 GB, free: 1.215 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006414/0.4461, allocations: 169.5 kB / 0.7148 GB, free: 1.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.4464, allocations: 92.02 kB / 0.7149 GB, free: 1.133 MB / 494.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4464, allocations: 0 / 0.7149 GB, free: 1.133 MB / 494.1 MB Notification: Performance of Templates: time 0.01428/0.4607, allocations: 9.441 MB / 0.7241 GB, free: 13.27 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)