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.001802/0.001802, allocations: 88.72 kB / 19.44 MB, free: 356 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.001575/0.001575, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.476/1.476, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.002761/0.002761, allocations: 231.2 kB / 259.8 MB, free: 12.84 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.085/1.085, allocations: 138.4 MB / 454.7 MB, free: 1.426 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.513e-06/1.513e-06, allocations: 0 / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.649e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.00589/0.005916, allocations: 3.536 MB / 0.5577 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006493/0.01241, allocations: 3.521 MB / 0.5612 GB, free: 9.758 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004111/0.01282, allocations: 15.88 kB / 0.5612 GB, free: 9.742 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.0006377/0.01346, allocations: 126.8 kB / 0.5613 GB, free: 9.617 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.01519, allocations: 0.5202 MB / 0.5618 GB, free: 9.094 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009657/0.01615, allocations: 375.1 kB / 0.5622 GB, free: 8.727 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.0173, allocations: 0.8108 MB / 0.563 GB, free: 7.914 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.0176, allocations: 134.1 kB / 0.5631 GB, free: 7.781 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008538/0.01846, allocations: 466.9 kB / 0.5635 GB, free: 7.324 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.01902, allocations: 275.2 kB / 0.5638 GB, free: 7.055 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.01918, allocations: 68 kB / 0.5639 GB, free: 6.988 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.0203, allocations: 0.5421 MB / 0.5644 GB, free: 6.445 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.02054, allocations: 187.4 kB / 0.5646 GB, free: 6.262 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.02087, allocations: 227.3 kB / 0.5648 GB, free: 6.039 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.02292, allocations: 1.285 MB / 0.5661 GB, free: 4.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.02292, allocations: 0 / 0.5661 GB, free: 4.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.02292, allocations: 0 / 0.5661 GB, free: 4.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.02294, allocations: 4 kB / 0.5661 GB, free: 4.746 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.002453/0.0254, allocations: 1 MB / 0.567 GB, free: 3.711 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.02543, allocations: 8.75 kB / 0.567 GB, free: 3.703 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004358/0.02979, allocations: 0.7301 MB / 0.5678 GB, free: 2.973 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.03142, allocations: 0.5887 MB / 0.5683 GB, free: 2.355 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.03164, allocations: 203.8 kB / 0.5685 GB, free: 2.121 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.03175, allocations: 48.38 kB / 0.5686 GB, free: 2.074 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.03368, allocations: 0.8063 MB / 0.5694 GB, free: 1.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.03369, allocations: 0 / 0.5694 GB, free: 1.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.705e-05/0.03378, allocations: 20 kB / 0.5694 GB, free: 1.211 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.0338, allocations: 16 kB / 0.5694 GB, free: 1.195 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/0.03617, allocations: 0.7845 MB / 0.5702 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/0.04012, allocations: 1.719 MB / 0.5718 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/0.04351, allocations: 0.8453 MB / 0.5727 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.04466, allocations: 374 kB / 0.573 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.04591, allocations: 204.3 kB / 0.5732 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/0.04722, allocations: 477.1 kB / 0.5737 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=58): time 2.214e-06/0.04723, allocations: 7.938 kB / 0.5737 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58): time 0.008884/0.05611, allocations: 1.774 MB / 0.5754 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.05621, allocations: 115.3 kB / 0.5755 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/0.05688, allocations: 443.5 kB / 0.5759 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/0.05695, allocations: 33.7 kB / 0.576 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.05723, allocations: 289.1 kB / 0.5762 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.05745, allocations: 194.3 kB / 0.5764 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.05774, allocations: 130.2 kB / 0.5766 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000231/0.05797, allocations: 370.7 kB / 0.5769 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.05906, allocations: 329.1 kB / 0.5772 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.06031, allocations: 0.5067 MB / 0.5777 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/0.06256, allocations: 0.7467 MB / 0.5785 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.06257, allocations: 0 / 0.5785 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004919/0.06749, allocations: 1.161 MB / 0.5796 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.06751, allocations: 8 kB / 0.5796 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.06751, allocations: 0 / 0.5796 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00229/0.0698, allocations: 376.8 kB / 0.58 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/0.07073, allocations: 167.7 kB / 0.5801 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/0.077, allocations: 2.222 MB / 0.5823 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008554/0.07785, allocations: 106.4 kB / 0.5824 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/0.07793, allocations: 31.97 kB / 0.5824 GB, free: 3.512 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.0003564/0.07829, allocations: 209.6 kB / 0.5826 GB, free: 3.297 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.07849, allocations: 83.56 kB / 0.5827 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/0.08256, allocations: 1.136 MB / 0.5838 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.08257, allocations: 8 kB / 0.5838 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.08258, allocations: 0 / 0.5838 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.08259, allocations: 3.984 kB / 0.5838 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00479/0.08738, allocations: 1.695 MB / 0.5855 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.08738, allocations: 0 / 0.5855 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008637/0.08824, allocations: 151.8 kB / 0.5856 GB, free: 176 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.08983, allocations: 248.5 kB / 0.5859 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/0.08991, allocations: 19.97 kB / 0.5859 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005109/0.09501, allocations: 2.09 MB / 0.5879 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.09502, allocations: 0 / 0.5879 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/0.09873, allocations: 1.117 MB / 0.589 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.09908, allocations: 143.4 kB / 0.5891 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.09919, allocations: 19.94 kB / 0.5892 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007338/0.09992, allocations: 67.86 kB / 0.5892 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.1001, allocations: 56.53 kB / 0.5893 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.457e-05/0.1002, allocations: 24.05 kB / 0.5893 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004401/0.1006, allocations: 311.1 kB / 0.5896 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1006, allocations: 4 kB / 0.5896 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009158/0.1015, allocations: 267.3 kB / 0.5899 GB, free: 11.7 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.002377/0.1039, allocations: 0.6105 MB / 0.5905 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002756/0.1066, allocations: 0.9038 MB / 0.5913 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1066, allocations: 0 / 0.5913 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.1085, allocations: 0.592 MB / 0.5919 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.1091, allocations: 101.8 kB / 0.592 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.112, allocations: 1.286 MB / 0.5933 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.1124, allocations: 290.6 kB / 0.5935 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006384/0.113, allocations: 152.4 kB / 0.5937 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.1133, allocations: 80.38 kB / 0.5938 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/0.1133, allocations: 4 kB / 0.5938 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of Templates: time 0.1856/0.2989, allocations: 11.68 MB / 0.6052 GB, free: 100 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.239361520041712]