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.001972/0.001972, allocations: 93.47 kB / 19.44 MB, free: 336 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.002497/0.002497, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.00336/0.00336, allocations: 237.6 kB / 259.8 MB, free: 12.85 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 1.145/1.145, allocations: 138.4 MB / 454.7 MB, free: 1.52 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.954e-06/1.954e-06, allocations: 0 / 0.5543 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.944e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.007029/0.007059, allocations: 3.676 MB / 0.5579 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006848/0.01391, allocations: 3.65 MB / 0.5614 GB, free: 9.555 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004746/0.01438, allocations: 11.88 kB / 0.5615 GB, free: 9.543 MB / 490.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.0005701/0.01495, allocations: 122.8 kB / 0.5616 GB, free: 9.422 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.01642, allocations: 0.528 MB / 0.5621 GB, free: 8.891 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009226/0.01734, allocations: 371.1 kB / 0.5624 GB, free: 8.527 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.01838, allocations: 0.8031 MB / 0.5632 GB, free: 7.723 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.01866, allocations: 138.1 kB / 0.5634 GB, free: 7.586 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007116/0.01937, allocations: 474.9 kB / 0.5638 GB, free: 7.121 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007052/0.02008, allocations: 263.2 kB / 0.5641 GB, free: 6.863 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.0202, allocations: 68 kB / 0.5641 GB, free: 6.797 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.02127, allocations: 0.546 MB / 0.5647 GB, free: 6.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.02151, allocations: 179.4 kB / 0.5648 GB, free: 6.074 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.02181, allocations: 219.3 kB / 0.565 GB, free: 5.859 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.02363, allocations: 1.273 MB / 0.5663 GB, free: 4.582 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.02363, allocations: 0 / 0.5663 GB, free: 4.582 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.02363, allocations: 0 / 0.5663 GB, free: 4.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.02364, allocations: 4 kB / 0.5663 GB, free: 4.578 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002249/0.02589, allocations: 1.123 MB / 0.5674 GB, free: 3.414 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.02594, allocations: 20.69 kB / 0.5674 GB, free: 3.395 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003547/0.02949, allocations: 0.5389 MB / 0.5679 GB, free: 2.855 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.03098, allocations: 0.5408 MB / 0.5685 GB, free: 2.285 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/0.03121, allocations: 203.8 kB / 0.5686 GB, free: 2.051 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.03132, allocations: 48.38 kB / 0.5687 GB, free: 2.004 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.03301, allocations: 0.7461 MB / 0.5694 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.03303, allocations: 7.984 kB / 0.5694 GB, free: 1.207 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.03311, allocations: 20 kB / 0.5694 GB, free: 1.188 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.03312, allocations: 16 kB / 0.5695 GB, free: 1.172 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.035, allocations: 0.6361 MB / 0.5701 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004303/0.0393, allocations: 1.796 MB / 0.5718 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.04192, allocations: 0.6919 MB / 0.5725 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009609/0.04288, allocations: 301 kB / 0.5728 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.04401, allocations: 180.3 kB / 0.573 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.04508, allocations: 407.6 kB / 0.5734 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=58): time 2.905e-06/0.04509, allocations: 4 kB / 0.5734 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58): time 0.007365/0.05245, allocations: 1.437 MB / 0.5748 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.05255, allocations: 107.3 kB / 0.5749 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/0.05336, allocations: 0.5667 MB / 0.5754 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.734e-05/0.05343, allocations: 33.7 kB / 0.5755 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.05378, allocations: 363.9 kB / 0.5758 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.05401, allocations: 210.2 kB / 0.576 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/0.0543, allocations: 155.9 kB / 0.5762 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003576/0.05466, allocations: 0.5742 MB / 0.5767 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008003/0.05546, allocations: 245.2 kB / 0.5769 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.0565, allocations: 485.6 kB / 0.5774 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.05851, allocations: 0.6539 MB / 0.5781 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.05851, allocations: 0 / 0.5781 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004023/0.06254, allocations: 0.9768 MB / 0.579 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.06256, allocations: 8 kB / 0.579 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.06258, allocations: 4 kB / 0.579 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/0.06438, allocations: 283.6 kB / 0.5793 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000821/0.06521, allocations: 147.8 kB / 0.5794 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0059/0.07111, allocations: 2.495 MB / 0.5819 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007599/0.07187, allocations: 83.58 kB / 0.5819 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/0.07194, allocations: 27.97 kB / 0.582 GB, free: 3.934 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.0003786/0.07232, allocations: 232.4 kB / 0.5822 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.07252, allocations: 87.5 kB / 0.5823 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.07602, allocations: 0.9714 MB / 0.5832 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.07603, allocations: 8 kB / 0.5832 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.07603, allocations: 0 / 0.5832 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.07604, allocations: 3.984 kB / 0.5832 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004313/0.08036, allocations: 1.611 MB / 0.5848 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.08036, allocations: 0 / 0.5848 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009525/0.08131, allocations: 127.8 kB / 0.5849 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.08263, allocations: 199.5 kB / 0.5851 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.08269, allocations: 19.98 kB / 0.5851 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004699/0.08739, allocations: 2.355 MB / 0.5874 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.08739, allocations: 0 / 0.5874 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003267/0.09066, allocations: 1.019 MB / 0.5884 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.09104, allocations: 143.4 kB / 0.5886 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.09114, allocations: 15.94 kB / 0.5886 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005753/0.09172, allocations: 46.53 kB / 0.5886 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.09186, allocations: 48.56 kB / 0.5887 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/0.09193, allocations: 23.98 kB / 0.5887 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004827/0.09241, allocations: 363 kB / 0.589 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.09241, allocations: 0 / 0.589 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008958/0.09331, allocations: 267.2 kB / 0.5893 GB, free: 12.2 MB / 0.5105 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 (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.003242/0.09655, allocations: 0.61 MB / 0.5899 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002322/0.09887, allocations: 0.8262 MB / 0.5907 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.09887, allocations: 0 / 0.5907 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.1005, allocations: 0.5882 MB / 0.5913 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.1011, allocations: 93.17 kB / 0.5914 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.1038, allocations: 1.198 MB / 0.5925 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1042, allocations: 290.7 kB / 0.5928 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006228/0.1048, allocations: 140.5 kB / 0.5929 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.1051, allocations: 72.44 kB / 0.593 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/0.1051, allocations: 4 kB / 0.593 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of Templates: time 0.2048/0.3099, allocations: 11.21 MB / 0.604 GB, free: 99.05 MB / 0.5105 GB " [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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.68432067905087]