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.0008745/0.0008745, 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.0008794/0.0008794, allocations: 169 kB / 23.02 MB, free: 1.543 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.9017/0.9017, 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.001661/0.001661, allocations: 234 kB / 260.2 MB, free: 12.83 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.6977/0.6977, allocations: 138.4 MB / 455.2 MB, free: 1.523 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.282e-06/1.282e-06, allocations: 0 / 0.555 GB, free: 0.582 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.939e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004302/0.004322, allocations: 3.045 MB / 0.558 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004724/0.009046, allocations: 3.475 MB / 0.5614 GB, free: 10.02 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.009232, allocations: 4 kB / 0.5614 GB, free: 10.01 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.0003322/0.009564, allocations: 71.19 kB / 0.5615 GB, free: 9.941 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.01072, allocations: 0.4894 MB / 0.562 GB, free: 9.449 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.01153, allocations: 386.9 kB / 0.5623 GB, free: 9.07 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006914/0.01222, allocations: 0.7296 MB / 0.5631 GB, free: 8.34 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.01241, allocations: 81.62 kB / 0.5631 GB, free: 8.258 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/0.01294, allocations: 415.1 kB / 0.5635 GB, free: 7.852 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004007/0.01334, allocations: 271.2 kB / 0.5638 GB, free: 7.586 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.484e-05/0.01344, allocations: 64 kB / 0.5638 GB, free: 7.523 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008208/0.01426, allocations: 0.542 MB / 0.5644 GB, free: 6.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.01443, allocations: 175.4 kB / 0.5645 GB, free: 6.809 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.01464, allocations: 203.5 kB / 0.5647 GB, free: 6.609 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.01576, allocations: 0.9032 MB / 0.5656 GB, free: 5.703 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01576, allocations: 0 / 0.5656 GB, free: 5.703 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01576, allocations: 0 / 0.5656 GB, free: 5.703 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.01577, allocations: 4 kB / 0.5656 GB, free: 5.699 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.001599/0.01737, allocations: 0.9683 MB / 0.5666 GB, free: 4.691 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.01741, allocations: 8.75 kB / 0.5666 GB, free: 4.684 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.01946, allocations: 476 kB / 0.567 GB, free: 4.219 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008937/0.02035, allocations: 475.5 kB / 0.5675 GB, free: 3.727 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.02056, allocations: 358 kB / 0.5678 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.02065, allocations: 40.38 kB / 0.5679 GB, free: 3.262 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.02174, allocations: 0.6219 MB / 0.5685 GB, free: 2.598 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.02175, allocations: 0 / 0.5685 GB, free: 2.598 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/0.02181, allocations: 20 kB / 0.5685 GB, free: 2.578 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.02183, allocations: 16 kB / 0.5685 GB, free: 2.562 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008899/0.02272, allocations: 409.6 kB / 0.5689 GB, free: 2.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/0.02555, allocations: 1.303 MB / 0.5702 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.02669, allocations: 0.548 MB / 0.5707 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.02695, allocations: 189.5 kB / 0.5709 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004986/0.02745, allocations: 188.5 kB / 0.5711 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003949/0.02785, allocations: 297.9 kB / 0.5713 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=66): time 2.064e-06/0.02785, allocations: 0 / 0.5713 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66): time 0.001002/0.02885, allocations: 0.6421 MB / 0.572 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.0289, allocations: 115.4 kB / 0.5721 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.02915, allocations: 374.8 kB / 0.5724 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.02919, allocations: 33.7 kB / 0.5725 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.02932, allocations: 280 kB / 0.5727 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.02945, allocations: 226 kB / 0.573 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.02961, allocations: 152.2 kB / 0.5731 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.02975, allocations: 0.5351 MB / 0.5736 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.02999, allocations: 149.9 kB / 0.5738 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.03032, allocations: 353.8 kB / 0.5741 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005824/0.03091, allocations: 461.4 kB / 0.5745 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.03091, allocations: 0 / 0.5745 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008024/0.03171, allocations: 0.5867 MB / 0.5751 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.03173, allocations: 4 kB / 0.5751 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.03173, allocations: 7.984 kB / 0.5751 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.03175, allocations: 4 kB / 0.5751 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.03222, allocations: 171.7 kB / 0.5753 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.03223, allocations: 4 kB / 0.5753 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.0325, allocations: 79.75 kB / 0.5754 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.03255, allocations: 39.95 kB / 0.5754 GB, free: 11.21 MB / 0.4948 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.0001513/0.0327, allocations: 192.4 kB / 0.5756 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.0328, allocations: 75.61 kB / 0.5757 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.03394, allocations: 0.7995 MB / 0.5765 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.03394, allocations: 8 kB / 0.5765 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.03395, allocations: 0 / 0.5765 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.03396, allocations: 7.984 kB / 0.5765 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.03534, allocations: 1.254 MB / 0.5777 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.03534, allocations: 0 / 0.5777 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.03592, allocations: 179.8 kB / 0.5779 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.03592, allocations: 0 / 0.5779 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.03596, allocations: 23.98 kB / 0.5779 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.03597, allocations: 4 kB / 0.5779 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.03597, allocations: 0 / 0.5779 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/0.03682, allocations: 0.7796 MB / 0.5787 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.037, allocations: 151.2 kB / 0.5788 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.03706, allocations: 23.92 kB / 0.5788 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.03732, allocations: 35.97 kB / 0.5789 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.0374, allocations: 60.89 kB / 0.5789 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.03744, allocations: 27.97 kB / 0.5789 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001525/0.0376, allocations: 259 kB / 0.5792 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0376, allocations: 0 / 0.5792 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004694/0.03807, allocations: 251.4 kB / 0.5794 GB, free: 7.023 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.00103/0.0391, allocations: 0.5743 MB / 0.58 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006825/0.03978, allocations: 0.4925 MB / 0.5805 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.03978, allocations: 3.938 kB / 0.5805 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.04014, allocations: 307.2 kB / 0.5808 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.04049, allocations: 95.75 kB / 0.5809 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.04186, allocations: 0.9666 MB / 0.5818 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.083e-05/0.04195, allocations: 137.5 kB / 0.5819 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003822/0.04233, allocations: 160.5 kB / 0.5821 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.04255, allocations: 96.36 kB / 0.5822 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.04255, allocations: 0 / 0.5822 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of Templates: time 0.01128/0.05383, allocations: 10.12 MB / 0.5921 GB, free: 10.25 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: 4.027977006044239]