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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00087/0.00087, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008838/0.0008838, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8341/0.8341, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002533/0.002533, allocations: 236.7 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6412/0.6412, allocations: 138.4 MB / 455.2 MB, free: 1.516 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.555 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.61e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003993/0.004009, allocations: 3.049 MB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004417/0.008426, allocations: 3.471 MB / 0.5614 GB, free: 10.02 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.008581, allocations: 0 / 0.5614 GB, free: 10.02 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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.0003088/0.00889, allocations: 83.17 kB / 0.5615 GB, free: 9.934 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.009975, allocations: 497.1 kB / 0.562 GB, free: 9.445 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006972/0.01067, allocations: 390.9 kB / 0.5623 GB, free: 9.062 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006778/0.01135, allocations: 0.7296 MB / 0.5631 GB, free: 8.332 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.01153, allocations: 70.89 kB / 0.5631 GB, free: 8.258 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005236/0.01206, allocations: 427.1 kB / 0.5635 GB, free: 7.84 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.01243, allocations: 263.2 kB / 0.5638 GB, free: 7.582 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.874e-05/0.01252, allocations: 60 kB / 0.5638 GB, free: 7.523 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007529/0.01328, allocations: 0.5421 MB / 0.5644 GB, free: 6.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.01351, allocations: 167.4 kB / 0.5645 GB, free: 6.816 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.01365, allocations: 191.5 kB / 0.5647 GB, free: 6.629 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007695/0.01442, allocations: 0.8837 MB / 0.5656 GB, free: 5.742 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.01442, allocations: 4 kB / 0.5656 GB, free: 5.738 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.01442, allocations: 0 / 0.5656 GB, free: 5.738 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.01443, allocations: 0 / 0.5656 GB, free: 5.738 MB / 490.7 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.001119/0.01555, allocations: 0.9682 MB / 0.5665 GB, free: 4.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.01558, allocations: 16.73 kB / 0.5665 GB, free: 4.715 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.01667, allocations: 356 kB / 0.5669 GB, free: 4.367 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.01705, allocations: 382.8 kB / 0.5672 GB, free: 3.965 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.01721, allocations: 361.9 kB / 0.5676 GB, free: 3.539 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.01727, allocations: 44.38 kB / 0.5676 GB, free: 3.496 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.01798, allocations: 0.5816 MB / 0.5682 GB, free: 2.879 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01799, allocations: 3.984 kB / 0.5682 GB, free: 2.875 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.01803, allocations: 16 kB / 0.5682 GB, free: 2.859 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.01804, allocations: 15.94 kB / 0.5682 GB, free: 2.844 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/0.01859, allocations: 417.6 kB / 0.5686 GB, free: 2.438 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.02029, allocations: 1.307 MB / 0.5699 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.02136, allocations: 0.5509 MB / 0.5704 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.02161, allocations: 185.5 kB / 0.5706 GB, free: 356 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004593/0.02207, allocations: 192.5 kB / 0.5708 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003874/0.02246, allocations: 298 kB / 0.5711 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=66): time 1.924e-06/0.02246, allocations: 4 kB / 0.5711 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66): time 0.001055/0.02351, allocations: 0.6343 MB / 0.5717 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.02356, allocations: 115.5 kB / 0.5718 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.0238, allocations: 370.8 kB / 0.5722 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.02384, allocations: 37.7 kB / 0.5722 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.02396, allocations: 276 kB / 0.5725 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.02407, allocations: 229.9 kB / 0.5727 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.02422, allocations: 147.9 kB / 0.5728 GB, free: 14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.02434, allocations: 0.5312 MB / 0.5734 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.02457, allocations: 141.2 kB / 0.5735 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.02488, allocations: 350.7 kB / 0.5738 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/0.02543, allocations: 449.8 kB / 0.5743 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.02543, allocations: 0 / 0.5743 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007454/0.02618, allocations: 0.571 MB / 0.5748 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.02619, allocations: 4.281 kB / 0.5748 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.0262, allocations: 8 kB / 0.5748 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.02621, allocations: 4 kB / 0.5748 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.02665, allocations: 179.7 kB / 0.575 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.02665, allocations: 4 kB / 0.575 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.0269, allocations: 67.59 kB / 0.5751 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.02695, allocations: 39.91 kB / 0.5751 GB, free: 11.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (82): * Single equations (assignments): 82 * 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.0001512/0.0271, allocations: 204.3 kB / 0.5753 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.539e-05/0.02719, allocations: 71.7 kB / 0.5754 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.02825, allocations: 0.7995 MB / 0.5761 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.02825, allocations: 8 kB / 0.5762 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.02825, allocations: 0 / 0.5762 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.02826, allocations: 7.969 kB / 0.5762 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.02952, allocations: 1.242 MB / 0.5774 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.02952, allocations: 7.984 kB / 0.5774 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/0.02995, allocations: 179.7 kB / 0.5776 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.02995, allocations: 4 kB / 0.5776 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.02999, allocations: 23.97 kB / 0.5776 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.02999, allocations: 4 kB / 0.5776 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.02999, allocations: 0 / 0.5776 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009058/0.0309, allocations: 0.7757 MB / 0.5783 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.03106, allocations: 151.4 kB / 0.5785 GB, free: 8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.03112, allocations: 16 kB / 0.5785 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.03135, allocations: 35.97 kB / 0.5785 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.03144, allocations: 64.88 kB / 0.5786 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.03148, allocations: 27.98 kB / 0.5786 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001378/0.03162, allocations: 247 kB / 0.5789 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.03162, allocations: 0 / 0.5789 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004359/0.03205, allocations: 259.4 kB / 0.5791 GB, free: 7.363 MB / 0.4948 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.0009431/0.03299, allocations: 0.5861 MB / 0.5797 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006412/0.03364, allocations: 499.4 kB / 0.5802 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.03364, allocations: 0.5625 kB / 0.5802 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.03397, allocations: 319.2 kB / 0.5805 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.03428, allocations: 89.39 kB / 0.5805 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.03552, allocations: 0.9585 MB / 0.5815 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.484e-05/0.0356, allocations: 137.5 kB / 0.5816 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003603/0.03596, allocations: 156.5 kB / 0.5818 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.03617, allocations: 92.44 kB / 0.5819 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.03617, allocations: 0 / 0.5819 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of Templates: time 0.01121/0.04738, allocations: 10.87 MB / 0.5925 GB, free: 9.855 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.545204606372863]