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.001561/0.001561, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001663/0.001664, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 287.7 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9486/0.9486, allocations: 169.3 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 101.7 kB / 0.5959 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1579, allocations: 86.97 MB / 0.6808 GB, free: 8.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004527/0.1625, allocations: 3.048 MB / 0.6838 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004676/0.1672, allocations: 3.244 MB / 0.687 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003078/0.1676, allocations: 4 kB / 0.687 GB, free: 1.875 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.0003731/0.1679, allocations: 67.3 kB / 0.687 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.1692, allocations: 437.7 kB / 0.6875 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008658/0.1701, allocations: 370.4 kB / 0.6878 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007751/0.1709, allocations: 0.7064 MB / 0.6885 GB, free: 320 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.1711, allocations: 122.5 kB / 0.6886 GB, free: 192 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2786/0.4497, allocations: 281.9 kB / 0.6889 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006695/0.4504, allocations: 326.3 kB / 0.6892 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.4506, allocations: 61.56 kB / 0.6893 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.4517, allocations: 495.4 kB / 0.6897 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.4519, allocations: 174.7 kB / 0.6899 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.4522, allocations: 288.7 kB / 0.6902 GB, free: 12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.4534, allocations: 0.9562 MB / 0.6911 GB, free: 11.9 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4535, allocations: 0.5 kB / 0.6911 GB, free: 11.9 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4535, allocations: 0 / 0.6911 GB, free: 11.9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.4535, allocations: 2.719 kB / 0.6911 GB, free: 11.9 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.001901/0.4554, allocations: 0.9112 MB / 0.692 GB, free: 11.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4554, allocations: 11.69 kB / 0.692 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.4588, allocations: 0.5527 MB / 0.6925 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.4601, allocations: 0.562 MB / 0.6931 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.4603, allocations: 199.3 kB / 0.6933 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.92e-05/0.4604, allocations: 40.44 kB / 0.6933 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.4619, allocations: 0.6875 MB / 0.694 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.462, allocations: 1.219 kB / 0.694 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.462, allocations: 16.05 kB / 0.694 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.4621, allocations: 10.84 kB / 0.694 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.464, allocations: 0.773 MB / 0.6948 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/0.4674, allocations: 1.727 MB / 0.6965 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/0.4706, allocations: 1.008 MB / 0.6974 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008436/0.4714, allocations: 367.3 kB / 0.6978 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001463/0.4729, allocations: 1.771 MB / 0.6995 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.474, allocations: 461.3 kB / 0.7 GB, free: 7.754 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.745e-06/0.474, allocations: 1.25 kB / 0.7 GB, free: 7.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.003078/0.4771, allocations: 1.067 MB / 0.701 GB, free: 7.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4771, allocations: 116.1 kB / 0.7011 GB, free: 7.254 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/0.4776, allocations: 356.8 kB / 0.7015 GB, free: 7.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.4776, allocations: 36.39 kB / 0.7015 GB, free: 7.031 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.4778, allocations: 220.7 kB / 0.7017 GB, free: 6.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.4779, allocations: 221.2 kB / 0.7019 GB, free: 6.676 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.4782, allocations: 145.5 kB / 0.7021 GB, free: 6.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.4783, allocations: 363.5 kB / 0.7024 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008343/0.4791, allocations: 322.7 kB / 0.7027 GB, free: 6.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009256/0.4801, allocations: 440.5 kB / 0.7031 GB, free: 5.949 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.4818, allocations: 0.7279 MB / 0.7038 GB, free: 5.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4818, allocations: 0 / 0.7038 GB, free: 5.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002091/0.4839, allocations: 0.8561 MB / 0.7047 GB, free: 5.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4839, allocations: 7 kB / 0.7047 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4839, allocations: 1.969 kB / 0.7047 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.484, allocations: 5.938 kB / 0.7047 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.485, allocations: 195.2 kB / 0.7049 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.485, allocations: 9.984 kB / 0.7049 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/0.4858, allocations: 99.64 kB / 0.705 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.4859, allocations: 39.66 kB / 0.705 GB, free: 5.234 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.0002611/0.4861, allocations: 192.8 kB / 0.7052 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.4863, allocations: 50.19 kB / 0.7053 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/0.4892, allocations: 1.13 MB / 0.7064 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4892, allocations: 10.39 kB / 0.7064 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.4892, allocations: 1.344 kB / 0.7064 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.4893, allocations: 8.297 kB / 0.7064 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.4925, allocations: 1.742 MB / 0.7081 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4925, allocations: 1.078 kB / 0.7081 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.4935, allocations: 200.4 kB / 0.7083 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.4936, allocations: 2.75 kB / 0.7083 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-05/0.4936, allocations: 29.72 kB / 0.7083 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.4936, allocations: 3.406 kB / 0.7083 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4936, allocations: 0 / 0.7083 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.4958, allocations: 1 MB / 0.7093 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.4961, allocations: 222.7 kB / 0.7095 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.4962, allocations: 25.17 kB / 0.7095 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006679/0.4969, allocations: 56.75 kB / 0.7096 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.497, allocations: 58.69 kB / 0.7096 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.4971, allocations: 33.98 kB / 0.7097 GB, free: 3.113 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002597/0.4973, allocations: 250.4 kB / 0.7099 GB, free: 2.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4973, allocations: 0 / 0.7099 GB, free: 2.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008686/0.4982, allocations: 230.4 kB / 0.7101 GB, free: 2.922 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.001131/0.4994, allocations: 0.4964 MB / 0.7106 GB, free: 2.727 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.5019, allocations: 0.883 MB / 0.7115 GB, free: 2.477 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.502, allocations: 1.719 kB / 0.7115 GB, free: 2.477 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009743/0.5029, allocations: 472.7 kB / 0.7119 GB, free: 2.352 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.5034, allocations: 79.91 kB / 0.712 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.5055, allocations: 1.189 MB / 0.7132 GB, free: 1.688 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.5059, allocations: 0.8666 MB / 0.714 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/0.5062, allocations: 104.1 kB / 0.7141 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5062, allocations: 0 / 0.7141 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of Templates: time 0.01397/0.5202, allocations: 10.17 MB / 0.724 GB, free: 12.6 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)