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.0009365/0.0009365, allocations: 93.06 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.001047/0.001047, 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.9585/0.9585, 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.001615/0.001615, allocations: 245.4 kB / 260.2 MB, free: 12.82 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.7238/0.7238, allocations: 138.4 MB / 455.2 MB, free: 1.535 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 3.747e-06/3.747e-06, allocations: 4 kB / 0.5551 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.387e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.006026/0.006059, allocations: 3.726 MB / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00436/0.01042, allocations: 3.692 MB / 0.5623 GB, free: 9.094 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005155/0.01093, allocations: 15.88 kB / 0.5623 GB, free: 9.078 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.0006042/0.01154, allocations: 130.9 kB / 0.5625 GB, free: 8.949 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.01295, allocations: 0.5202 MB / 0.563 GB, free: 8.426 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.01375, allocations: 383 kB / 0.5633 GB, free: 8.051 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009039/0.01466, allocations: 0.8069 MB / 0.5641 GB, free: 7.242 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.01491, allocations: 122.5 kB / 0.5642 GB, free: 7.121 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006241/0.01553, allocations: 474.9 kB / 0.5647 GB, free: 6.656 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003602/0.01589, allocations: 259.3 kB / 0.5649 GB, free: 6.402 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.253e-05/0.01598, allocations: 64 kB / 0.565 GB, free: 6.34 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007873/0.01676, allocations: 0.546 MB / 0.5655 GB, free: 5.793 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.01703, allocations: 175.4 kB / 0.5657 GB, free: 5.621 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.01721, allocations: 219.3 kB / 0.5659 GB, free: 5.406 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.01849, allocations: 0.9342 MB / 0.5668 GB, free: 4.469 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.0185, allocations: 3.938 kB / 0.5668 GB, free: 4.465 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.0185, allocations: 0 / 0.5668 GB, free: 4.465 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.01851, allocations: 0 / 0.5668 GB, free: 4.465 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.00145/0.01996, allocations: 1.084 MB / 0.5679 GB, free: 3.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.02, allocations: 12.75 kB / 0.5679 GB, free: 3.328 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.02149, allocations: 459.9 kB / 0.5683 GB, free: 2.879 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.02202, allocations: 468.8 kB / 0.5688 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.02215, allocations: 195.8 kB / 0.569 GB, free: 2.164 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.02221, allocations: 48.38 kB / 0.569 GB, free: 2.117 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.02332, allocations: 0.6087 MB / 0.5696 GB, free: 1.473 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.02333, allocations: 7.922 kB / 0.5696 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/0.02338, allocations: 23.98 kB / 0.5696 GB, free: 1.441 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.02339, allocations: 12 kB / 0.5697 GB, free: 1.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.02394, allocations: 373.6 kB / 0.57 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.02589, allocations: 1.549 MB / 0.5715 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.02691, allocations: 466.4 kB / 0.572 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.0272, allocations: 189 kB / 0.5721 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004749/0.02768, allocations: 184.3 kB / 0.5723 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003787/0.02806, allocations: 287.7 kB / 0.5726 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=58): time 2.124e-06/0.02806, allocations: 0 / 0.5726 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58): time 0.002823/0.03088, allocations: 1.183 MB / 0.5738 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.03094, allocations: 111.3 kB / 0.5739 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.0313, allocations: 456.3 kB / 0.5743 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.03135, allocations: 33.7 kB / 0.5743 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.03151, allocations: 335.8 kB / 0.5746 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.03164, allocations: 202.2 kB / 0.5748 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.03179, allocations: 127.9 kB / 0.575 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.03193, allocations: 0.543 MB / 0.5755 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.03216, allocations: 129.2 kB / 0.5756 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.03247, allocations: 345.9 kB / 0.5759 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007752/0.03325, allocations: 406.1 kB / 0.5763 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.03325, allocations: 4 kB / 0.5763 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001493/0.03475, allocations: 0.7581 MB / 0.5771 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.03476, allocations: 4 kB / 0.5771 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.03477, allocations: 8.25 kB / 0.5771 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008196/0.03559, allocations: 303.3 kB / 0.5774 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.03596, allocations: 147.8 kB / 0.5775 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.03802, allocations: 2.163 MB / 0.5796 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.03835, allocations: 79.59 kB / 0.5797 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.03839, allocations: 43.98 kB / 0.5797 GB, free: 6.664 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (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.0001639/0.03855, allocations: 188.5 kB / 0.5799 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.03866, allocations: 75.61 kB / 0.58 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.03999, allocations: 0.7799 MB / 0.5808 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.04, allocations: 8 kB / 0.5808 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.04, allocations: 3.984 kB / 0.5808 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.04, allocations: 4 kB / 0.5808 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.04177, allocations: 1.291 MB / 0.582 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.04177, allocations: 0 / 0.582 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.04211, allocations: 139.7 kB / 0.5822 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005559/0.04267, allocations: 199.4 kB / 0.5824 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.04271, allocations: 27.97 kB / 0.5824 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.04474, allocations: 2.152 MB / 0.5845 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.04474, allocations: 0 / 0.5845 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.04594, allocations: 0.8076 MB / 0.5853 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.04614, allocations: 135.4 kB / 0.5854 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.0462, allocations: 15.94 kB / 0.5854 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.04645, allocations: 50.53 kB / 0.5855 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.04656, allocations: 56.53 kB / 0.5855 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.0466, allocations: 27.98 kB / 0.5855 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002084/0.04681, allocations: 291 kB / 0.5858 GB, free: 216 kB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04681, allocations: 0 / 0.5858 GB, free: 216 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006534/0.04746, allocations: 275.4 kB / 0.5861 GB, free: 15.94 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.001125/0.04859, allocations: 0.5811 MB / 0.5867 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008938/0.04948, allocations: 0.6035 MB / 0.5872 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.04948, allocations: 4 kB / 0.5872 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000632/0.05012, allocations: 0.4985 MB / 0.5877 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.05049, allocations: 93.91 kB / 0.5878 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.0521, allocations: 1.077 MB / 0.5889 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.833e-05/0.0522, allocations: 140.8 kB / 0.589 GB, free: 13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003467/0.05255, allocations: 140.4 kB / 0.5891 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.05273, allocations: 76.44 kB / 0.5892 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.533e-06/0.05273, allocations: 0 / 0.5892 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.0152/0.06793, allocations: 12.72 MB / 0.6016 GB, free: 176 kB / 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: 4.292325191665441]