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.0009108/0.0009108, allocations: 73.88 kB / 20.65 MB, free: 3.848 MB / 18.57 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.000929/0.000929, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.8854/0.8854, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.001648/0.001648, allocations: 233.7 kB / 261.3 MB, free: 12.68 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.6773/0.6773, allocations: 138.4 MB / 456.3 MB, free: 1.414 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.473e-06/1.473e-06, allocations: 0 / 0.5563 GB, free: 328 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.76e-05, allocations: 9.828 kB / 0.5563 GB, free: 320 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003595/0.003623, allocations: 2.998 MB / 0.5592 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003284/0.006907, allocations: 3.459 MB / 0.5626 GB, free: 9.816 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.007049, allocations: 11.94 kB / 0.5626 GB, free: 9.805 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.0002373/0.007286, allocations: 67.25 kB / 0.5627 GB, free: 9.738 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008279/0.008114, allocations: 0.4893 MB / 0.5632 GB, free: 9.246 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.008635, allocations: 386.9 kB / 0.5635 GB, free: 8.867 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.009098, allocations: 0.7296 MB / 0.5642 GB, free: 8.137 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.009238, allocations: 77.45 kB / 0.5643 GB, free: 8.059 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003798/0.009618, allocations: 423.1 kB / 0.5647 GB, free: 7.645 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.009902, allocations: 263.2 kB / 0.565 GB, free: 7.387 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.009965, allocations: 64 kB / 0.565 GB, free: 7.324 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006375/0.0106, allocations: 0.5381 MB / 0.5656 GB, free: 6.785 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.01072, allocations: 163.5 kB / 0.5657 GB, free: 6.625 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.01086, allocations: 199.4 kB / 0.5659 GB, free: 6.43 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008915/0.01175, allocations: 0.8837 MB / 0.5668 GB, free: 5.543 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01175, allocations: 4 kB / 0.5668 GB, free: 5.539 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01175, allocations: 0 / 0.5668 GB, free: 5.539 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.01176, allocations: 0 / 0.5668 GB, free: 5.539 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.001079/0.01284, allocations: 0.976 MB / 0.5677 GB, free: 4.523 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.498e-05/0.01286, allocations: 8.75 kB / 0.5677 GB, free: 4.516 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.01393, allocations: 312.1 kB / 0.568 GB, free: 4.211 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.0143, allocations: 390.7 kB / 0.5684 GB, free: 3.801 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.01445, allocations: 354 kB / 0.5687 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/0.01451, allocations: 44.38 kB / 0.5688 GB, free: 3.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.0151, allocations: 0.5346 MB / 0.5693 GB, free: 2.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.01511, allocations: 0 / 0.5693 GB, free: 2.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.01515, allocations: 20 kB / 0.5693 GB, free: 2.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.01516, allocations: 8 kB / 0.5693 GB, free: 2.742 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004074/0.01557, allocations: 338.6 kB / 0.5697 GB, free: 2.414 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.0172, allocations: 1.241 MB / 0.5709 GB, free: 1.145 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009012/0.0181, allocations: 0.4896 MB / 0.5714 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.01829, allocations: 167.8 kB / 0.5715 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004511/0.01874, allocations: 180.5 kB / 0.5717 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003038/0.01905, allocations: 273.8 kB / 0.5719 GB, free: 16 kB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 1.804e-06/0.01905, allocations: 0 / 0.5719 GB, free: 16 kB / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.0007921/0.01984, allocations: 0.5523 MB / 0.5725 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.01988, allocations: 111.5 kB / 0.5726 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.02016, allocations: 374.6 kB / 0.5729 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.02021, allocations: 33.7 kB / 0.573 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.02033, allocations: 276 kB / 0.5732 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.02045, allocations: 230 kB / 0.5735 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.02061, allocations: 151.8 kB / 0.5736 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.02073, allocations: 0.5312 MB / 0.5741 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.0209, allocations: 109.2 kB / 0.5742 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.02115, allocations: 318.7 kB / 0.5745 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.02159, allocations: 397.7 kB / 0.5749 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.02159, allocations: 0 / 0.5749 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006525/0.02224, allocations: 0.5126 MB / 0.5754 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.02226, allocations: 11.12 kB / 0.5754 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.02226, allocations: 4 kB / 0.5754 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.02227, allocations: 4 kB / 0.5754 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/0.02272, allocations: 167.7 kB / 0.5756 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.02273, allocations: 4 kB / 0.5756 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.02299, allocations: 67.59 kB / 0.5757 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.02303, allocations: 27.97 kB / 0.5757 GB, free: 12 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 (radiationOneAxisTracked.outsidePolarCircle,radiationFixed.outsidePolarCircle,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1) * 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.0001603/0.02319, allocations: 211.3 kB / 0.5759 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.0233, allocations: 67.72 kB / 0.576 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009759/0.02427, allocations: 0.7253 MB / 0.5767 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.02428, allocations: 12 kB / 0.5767 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.02428, allocations: 3.938 kB / 0.5767 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.02429, allocations: 3.984 kB / 0.5767 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.02545, allocations: 1.134 MB / 0.5778 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.02545, allocations: 8 kB / 0.5778 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.02588, allocations: 167.8 kB / 0.578 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.02589, allocations: 4 kB / 0.578 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.02593, allocations: 23.98 kB / 0.578 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.02593, allocations: 4 kB / 0.578 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.02593, allocations: 0 / 0.578 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006809/0.02662, allocations: 0.7169 MB / 0.5787 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.02678, allocations: 143.4 kB / 0.5788 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.02684, allocations: 16 kB / 0.5788 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.02709, allocations: 35.97 kB / 0.5789 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.02716, allocations: 60.89 kB / 0.5789 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.02721, allocations: 23.97 kB / 0.579 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001191/0.02733, allocations: 235 kB / 0.5792 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.02733, allocations: 0 / 0.5792 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004817/0.02781, allocations: 255.4 kB / 0.5794 GB, free: 8.098 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.0009816/0.02879, allocations: 0.5764 MB / 0.58 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000599/0.02939, allocations: 431.8 kB / 0.5804 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02939, allocations: 4.125 kB / 0.5804 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.02968, allocations: 271.2 kB / 0.5807 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.03001, allocations: 97.27 kB / 0.5807 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.03118, allocations: 0.931 MB / 0.5817 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.123e-05/0.03127, allocations: 145.4 kB / 0.5818 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003984/0.03166, allocations: 148.6 kB / 0.5819 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/0.03204, allocations: 222.1 kB / 0.5822 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.03204, allocations: 3.938 kB / 0.5822 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of Templates: time 0.01232/0.04436, allocations: 11.3 MB / 0.5932 GB, free: 10.16 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.7794690909795463]