Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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.000941/0.000941, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009918/0.0009918, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.046/1.046, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.00256/0.00256, allocations: 250.1 kB / 260.5 MB, free: 12.71 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.7218/0.7218, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 462.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.086e-05, allocations: 3.734 kB / 462.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.004943/0.004963, allocations: 3.73 MB / 466 MB, free: 14.53 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004249/0.009212, allocations: 3.734 MB / 469.8 MB, free: 11.19 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.009487, allocations: 11.88 kB / 469.8 MB, free: 11.18 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/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.0003927/0.009879, allocations: 124.3 kB / 469.9 MB, free: 11.05 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008571/0.01074, allocations: 0.4955 MB / 470.4 MB, free: 10.56 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.01128, allocations: 377.4 kB / 470.8 MB, free: 10.19 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000566/0.01185, allocations: 0.8076 MB / 471.6 MB, free: 9.383 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.01203, allocations: 137 kB / 471.7 MB, free: 9.258 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.01247, allocations: 467 kB / 472.2 MB, free: 8.801 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.01276, allocations: 264.7 kB / 472.4 MB, free: 8.543 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.688e-05/0.01283, allocations: 64 kB / 472.5 MB, free: 8.48 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006406/0.01347, allocations: 0.5733 MB / 473.1 MB, free: 7.906 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.01358, allocations: 176.3 kB / 473.2 MB, free: 7.734 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.01373, allocations: 215.4 kB / 473.5 MB, free: 7.523 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007988/0.01453, allocations: 0.9362 MB / 474.4 MB, free: 6.586 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.01453, allocations: 0 / 474.4 MB, free: 6.586 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01453, allocations: 0 / 474.4 MB, free: 6.586 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.01454, allocations: 3.938 kB / 474.4 MB, free: 6.582 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001082/0.01562, allocations: 0.9573 MB / 475.3 MB, free: 5.605 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.01565, allocations: 13.5 kB / 475.4 MB, free: 5.594 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.01735, allocations: 380.1 kB / 475.7 MB, free: 5.234 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/0.01788, allocations: 363.4 kB / 476.1 MB, free: 4.855 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.01801, allocations: 199.8 kB / 476.3 MB, free: 4.625 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/0.01808, allocations: 48.38 kB / 476.3 MB, free: 4.578 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/0.0189, allocations: 0.5598 MB / 476.9 MB, free: 3.988 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.01892, allocations: 3.938 kB / 476.9 MB, free: 3.984 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/0.01897, allocations: 21.12 kB / 476.9 MB, free: 3.965 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.01898, allocations: 15.98 kB / 476.9 MB, free: 3.949 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000477/0.01946, allocations: 240.4 kB / 477.2 MB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.02145, allocations: 1.103 MB / 478.3 MB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009177/0.02237, allocations: 373.8 kB / 478.6 MB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.02261, allocations: 128 kB / 478.8 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005523/0.02316, allocations: 185.1 kB / 478.9 MB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003589/0.02352, allocations: 264.6 kB / 479.2 MB, free: 1.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=58): time 2.114e-06/0.02352, allocations: 0 / 479.2 MB, free: 1.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.003/0.02652, allocations: 0.9604 MB / 480.2 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.02662, allocations: 111.8 kB / 480.3 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.02691, allocations: 377.9 kB / 480.6 MB, free: 208 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.02696, allocations: 37.7 kB / 480.7 MB, free: 164 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.02709, allocations: 234.1 kB / 480.9 MB, free: 15.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.02722, allocations: 194.3 kB / 481.1 MB, free: 15.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.02744, allocations: 126.2 kB / 481.2 MB, free: 15.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.02755, allocations: 370.7 kB / 481.6 MB, free: 15.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.02773, allocations: 78.7 kB / 481.7 MB, free: 15.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.02799, allocations: 251.7 kB / 481.9 MB, free: 14.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005846/0.02857, allocations: 327.8 kB / 482.2 MB, free: 14.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.02858, allocations: 3.938 kB / 482.2 MB, free: 14.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001465/0.03004, allocations: 0.5724 MB / 482.8 MB, free: 13.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.03006, allocations: 7.984 kB / 482.8 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.03007, allocations: 5.156 kB / 482.8 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009891/0.03106, allocations: 299.8 kB / 483.1 MB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.03156, allocations: 151.7 kB / 483.2 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.03362, allocations: 1.557 MB / 484.8 MB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.03397, allocations: 77.25 kB / 484.9 MB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.03402, allocations: 25.25 kB / 484.9 MB, free: 11.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (radiation.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.0342, allocations: 145.4 kB / 485 MB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/0.0343, allocations: 55.94 kB / 485.1 MB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.03589, allocations: 0.6085 MB / 485.7 MB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.03589, allocations: 8 kB / 485.7 MB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.0359, allocations: 2.062 kB / 485.7 MB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.0359, allocations: 3.984 kB / 485.7 MB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.03753, allocations: 0.9133 MB / 486.6 MB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.03753, allocations: 0 / 486.6 MB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.038, allocations: 137.1 kB / 486.8 MB, free: 9.895 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006488/0.03865, allocations: 185.2 kB / 487 MB, free: 9.719 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/0.0387, allocations: 24.69 kB / 487 MB, free: 9.695 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.04051, allocations: 1.55 MB / 488.5 MB, free: 8.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.04051, allocations: 0 / 488.5 MB, free: 8.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.04156, allocations: 0.5538 MB / 489.1 MB, free: 7.508 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.04176, allocations: 105.5 kB / 489.2 MB, free: 7.406 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/0.04183, allocations: 13.28 kB / 489.2 MB, free: 7.395 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.04215, allocations: 48.06 kB / 489.2 MB, free: 7.352 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.04225, allocations: 56.47 kB / 489.3 MB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.0423, allocations: 19.97 kB / 489.3 MB, free: 7.277 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.04246, allocations: 156.7 kB / 489.5 MB, free: 7.121 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04246, allocations: 4 kB / 489.5 MB, free: 7.117 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006954/0.04316, allocations: 267.4 kB / 489.7 MB, free: 6.855 MB / 442.7 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 (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001681/0.04484, allocations: 0.7011 MB / 490.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008035/0.04564, allocations: 473.3 kB / 490.9 MB, free: 6.027 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.04565, allocations: 4 kB / 490.9 MB, free: 6.023 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006563/0.04631, allocations: 408.6 kB / 491.3 MB, free: 5.609 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.04668, allocations: 87.06 kB / 491.4 MB, free: 5.527 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.04847, allocations: 1.05 MB / 492.4 MB, free: 4.445 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.04858, allocations: 144.7 kB / 492.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004597/0.04904, allocations: 128.1 kB / 492.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/0.04945, allocations: 167.3 kB / 492.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/0.04945, allocations: 0 / 492.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of Templates: time 0.01883/0.06828, allocations: 12.92 MB / 0.4939 GB, free: 7.363 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9478091187775135]