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.00134/0.00134, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001498/0.001498, allocations: 165.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.442/1.442, allocations: 177.2 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.002506/0.002506, allocations: 232 kB / 259.4 MB, free: 492 kB / 238.1 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 1.095/1.095, allocations: 138.4 MB / 454.3 MB, free: 2.023 MB / 366.1 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.573e-06/1.573e-06, allocations: 0 / 0.6467 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.968e-05, allocations: 10.16 kB / 0.6467 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004741/0.004771, allocations: 2.906 MB / 0.6496 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2612/0.266, allocations: 3.312 MB / 0.6528 GB, free: 53.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.2662, allocations: 5.062 kB / 0.6528 GB, free: 53.15 MB / 0.5606 GB [/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.0003557/0.2666, allocations: 76.95 kB / 0.6529 GB, free: 53.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.2678, allocations: 494.7 kB / 0.6534 GB, free: 53.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007747/0.2686, allocations: 386.3 kB / 0.6537 GB, free: 53.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.2691, allocations: 0.7372 MB / 0.6545 GB, free: 52.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.2693, allocations: 68.94 kB / 0.6545 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.2697, allocations: 422 kB / 0.6549 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.27, allocations: 273.3 kB / 0.6552 GB, free: 52.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-05/0.2701, allocations: 61.66 kB / 0.6552 GB, free: 52.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008683/0.271, allocations: 0.5432 MB / 0.6558 GB, free: 52.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.2712, allocations: 172.5 kB / 0.6559 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.2713, allocations: 204.3 kB / 0.6561 GB, free: 52.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.2724, allocations: 1.143 MB / 0.6572 GB, free: 52.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2724, allocations: 2.344 kB / 0.6572 GB, free: 52.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2724, allocations: 0.5312 kB / 0.6572 GB, free: 52.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.2725, allocations: 0 / 0.6572 GB, free: 52.54 MB / 0.5606 GB 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.001827/0.2743, allocations: 0.8869 MB / 0.6581 GB, free: 51.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2743, allocations: 8.688 kB / 0.6581 GB, free: 51.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003424/0.2777, allocations: 0.5813 MB / 0.6587 GB, free: 51.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.279, allocations: 0.5096 MB / 0.6592 GB, free: 51.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.2792, allocations: 355 kB / 0.6595 GB, free: 51.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.2792, allocations: 45.31 kB / 0.6596 GB, free: 51.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.2806, allocations: 0.7502 MB / 0.6603 GB, free: 50.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.2806, allocations: 6.75 kB / 0.6603 GB, free: 50.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/0.2807, allocations: 21.78 kB / 0.6603 GB, free: 50.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.2807, allocations: 9.75 kB / 0.6603 GB, free: 50.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.2824, allocations: 0.7684 MB / 0.6611 GB, free: 50.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003064/0.2855, allocations: 1.506 MB / 0.6626 GB, free: 49.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/0.2884, allocations: 0.8976 MB / 0.6634 GB, free: 49.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007719/0.2892, allocations: 336.9 kB / 0.6638 GB, free: 49.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/0.2903, allocations: 200.6 kB / 0.6639 GB, free: 49.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009742/0.2913, allocations: 462.1 kB / 0.6644 GB, free: 49.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 2.935e-06/0.2913, allocations: 0 / 0.6644 GB, free: 49.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002722/0.294, allocations: 1.075 MB / 0.6654 GB, free: 48.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.2941, allocations: 109.2 kB / 0.6655 GB, free: 48.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.2944, allocations: 361.5 kB / 0.6659 GB, free: 48.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.2945, allocations: 40.28 kB / 0.6659 GB, free: 48.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.2946, allocations: 221.7 kB / 0.6661 GB, free: 48.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.2947, allocations: 238.8 kB / 0.6664 GB, free: 48.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.295, allocations: 144.6 kB / 0.6665 GB, free: 48.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.295, allocations: 355.2 kB / 0.6668 GB, free: 47.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008156/0.2958, allocations: 319.8 kB / 0.6671 GB, free: 47.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000876/0.2967, allocations: 494.4 kB / 0.6676 GB, free: 47.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.2984, allocations: 0.7216 MB / 0.6683 GB, free: 46.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2984, allocations: 3.469 kB / 0.6683 GB, free: 46.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002051/0.3005, allocations: 0.8611 MB / 0.6692 GB, free: 46.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3005, allocations: 9.406 kB / 0.6692 GB, free: 46.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3005, allocations: 0 / 0.6692 GB, free: 46.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.3005, allocations: 5.625 kB / 0.6692 GB, free: 46.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.3015, allocations: 191.2 kB / 0.6694 GB, free: 46.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.3015, allocations: 6.094 kB / 0.6694 GB, free: 46.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007217/0.3023, allocations: 93.61 kB / 0.6695 GB, free: 46.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/0.3023, allocations: 35.88 kB / 0.6695 GB, free: 46.56 MB / 0.5606 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.0002768/0.3026, allocations: 210.5 kB / 0.6697 GB, free: 46.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.3027, allocations: 51.73 kB / 0.6697 GB, free: 46.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.3054, allocations: 1.114 MB / 0.6708 GB, free: 45.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3055, allocations: 12.36 kB / 0.6708 GB, free: 45.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3055, allocations: 0 / 0.6708 GB, free: 45.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.3055, allocations: 4.641 kB / 0.6708 GB, free: 45.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/0.3084, allocations: 1.574 MB / 0.6724 GB, free: 45.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3084, allocations: 0 / 0.6724 GB, free: 45.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009729/0.3094, allocations: 196.8 kB / 0.6726 GB, free: 45.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3094, allocations: 2.969 kB / 0.6726 GB, free: 45.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.46e-05/0.3095, allocations: 22.89 kB / 0.6726 GB, free: 45.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3095, allocations: 5.344 kB / 0.6726 GB, free: 45.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3095, allocations: 4.547 kB / 0.6726 GB, free: 45.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.3116, allocations: 1.013 MB / 0.6736 GB, free: 44.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.3118, allocations: 148.9 kB / 0.6737 GB, free: 44.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.312, allocations: 17.92 kB / 0.6738 GB, free: 44.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006831/0.3126, allocations: 53.84 kB / 0.6738 GB, free: 44.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.3128, allocations: 67.39 kB / 0.6739 GB, free: 44.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-05/0.3129, allocations: 33.12 kB / 0.6739 GB, free: 44.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002693/0.3131, allocations: 247.5 kB / 0.6741 GB, free: 44.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3131, allocations: 7 kB / 0.6741 GB, free: 44.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008725/0.314, allocations: 252.6 kB / 0.6744 GB, free: 44.39 MB / 0.5606 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.002043/0.316, allocations: 0.6079 MB / 0.675 GB, free: 44.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002084/0.3181, allocations: 0.7886 MB / 0.6758 GB, free: 43.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3181, allocations: 1.062 kB / 0.6758 GB, free: 43.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009991/0.3191, allocations: 435.5 kB / 0.6762 GB, free: 43.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/0.3197, allocations: 64.47 kB / 0.6762 GB, free: 43.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3217, allocations: 1.134 MB / 0.6773 GB, free: 43.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.322, allocations: 270.2 kB / 0.6776 GB, free: 43.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000675/0.3227, allocations: 171.7 kB / 0.6778 GB, free: 43.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.323, allocations: 94.05 kB / 0.6778 GB, free: 43.03 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.323, allocations: 5.312 kB / 0.6779 GB, free: 43.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.01864/0.3417, allocations: 9.918 MB / 0.6875 GB, free: 41.75 MB / 0.5606 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.151581268757582] Failed to read output from testmodel.py, exit status != 0: 0.34999461472034454 0.36119414099999997 0.086220058 Calling exit ...