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.0009603/0.0009603, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009714/0.0009714, allocations: 169 kB / 23.27 MB, free: 1.223 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.9933/0.9933, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.002125/0.002125, allocations: 241.7 kB / 260.5 MB, free: 12.68 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.6859/0.6859, allocations: 138.4 MB / 455.5 MB, free: 1.414 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.373e-06/1.373e-06, allocations: 3.938 kB / 0.5556 GB, free: 304 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.388e-05, allocations: 2.312 kB / 0.5556 GB, free: 300 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.004411/0.004425, allocations: 3.671 MB / 0.5591 GB, free: 12.6 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004599/0.009025, allocations: 3.673 MB / 0.5627 GB, free: 8.91 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.009295, allocations: 11.88 kB / 0.5627 GB, free: 8.898 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.0004023/0.009698, allocations: 122.8 kB / 0.5629 GB, free: 8.777 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.01076, allocations: 0.5203 MB / 0.5634 GB, free: 8.254 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.0114, allocations: 382.9 kB / 0.5637 GB, free: 7.879 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006764/0.01208, allocations: 0.8109 MB / 0.5645 GB, free: 7.066 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.01228, allocations: 130.4 kB / 0.5647 GB, free: 6.938 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005362/0.01282, allocations: 474.9 kB / 0.5651 GB, free: 6.473 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.01315, allocations: 251.3 kB / 0.5653 GB, free: 6.227 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.464e-05/0.01323, allocations: 68 kB / 0.5654 GB, free: 6.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007386/0.01397, allocations: 0.5421 MB / 0.5659 GB, free: 5.617 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.01411, allocations: 179.3 kB / 0.5661 GB, free: 5.441 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.01429, allocations: 215.4 kB / 0.5663 GB, free: 5.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009929/0.01528, allocations: 0.9459 MB / 0.5672 GB, free: 4.281 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01528, allocations: 0 / 0.5672 GB, free: 4.281 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.01528, allocations: 0 / 0.5672 GB, free: 4.281 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.01529, allocations: 0 / 0.5672 GB, free: 4.281 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.001326/0.01661, allocations: 1.088 MB / 0.5683 GB, free: 3.152 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.01665, allocations: 12.69 kB / 0.5683 GB, free: 3.141 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.01852, allocations: 416 kB / 0.5687 GB, free: 2.734 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.01904, allocations: 468.8 kB / 0.5692 GB, free: 2.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.01916, allocations: 191.8 kB / 0.5693 GB, free: 2.023 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.577e-05/0.01924, allocations: 48.38 kB / 0.5694 GB, free: 1.977 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/0.02004, allocations: 0.5734 MB / 0.5699 GB, free: 1.367 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.02005, allocations: 0 / 0.5699 GB, free: 1.367 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/0.0201, allocations: 20 kB / 0.57 GB, free: 1.348 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.02011, allocations: 12 kB / 0.57 GB, free: 1.336 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.02059, allocations: 302.6 kB / 0.5703 GB, free: 1.039 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.02265, allocations: 1.452 MB / 0.5717 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009535/0.02361, allocations: 430.3 kB / 0.5721 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.02386, allocations: 157.1 kB / 0.5722 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/0.02441, allocations: 208.1 kB / 0.5724 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003546/0.02477, allocations: 259.6 kB / 0.5727 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=58): time 1.954e-06/0.02477, allocations: 3.938 kB / 0.5727 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58): time 0.003158/0.02793, allocations: 1.105 MB / 0.5738 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.02797, allocations: 119.3 kB / 0.5739 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.02831, allocations: 444 kB / 0.5743 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.02836, allocations: 37.7 kB / 0.5743 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.02854, allocations: 335.8 kB / 0.5747 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.02867, allocations: 202.2 kB / 0.5749 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.02885, allocations: 135.9 kB / 0.575 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003886/0.02924, allocations: 0.5351 MB / 0.5755 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.02943, allocations: 105.2 kB / 0.5756 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.02973, allocations: 309.9 kB / 0.5759 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.03022, allocations: 369.9 kB / 0.5763 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.03023, allocations: 4 kB / 0.5763 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001679/0.03191, allocations: 0.6919 MB / 0.5769 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.03192, allocations: 11.06 kB / 0.577 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.03193, allocations: 4 kB / 0.577 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.03303, allocations: 311.3 kB / 0.5773 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.03351, allocations: 143.8 kB / 0.5774 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.03575, allocations: 2.12 MB / 0.5795 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.03611, allocations: 83.62 kB / 0.5795 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.03617, allocations: 31.95 kB / 0.5796 GB, free: 7.098 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 (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.0001733/0.03634, allocations: 195.9 kB / 0.5798 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.03646, allocations: 71.67 kB / 0.5798 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.03795, allocations: 0.7291 MB / 0.5805 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.03796, allocations: 8 kB / 0.5805 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.03796, allocations: 4 kB / 0.5805 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.03797, allocations: 3.984 kB / 0.5806 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.03979, allocations: 1.163 MB / 0.5817 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.03979, allocations: 7.984 kB / 0.5817 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.04021, allocations: 123.9 kB / 0.5818 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006451/0.04086, allocations: 191.5 kB / 0.582 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.0409, allocations: 23.97 kB / 0.582 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.04313, allocations: 2.132 MB / 0.5841 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.04313, allocations: 0 / 0.5841 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.04437, allocations: 0.7491 MB / 0.5848 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.04458, allocations: 135.4 kB / 0.585 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.04464, allocations: 12 kB / 0.585 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.04494, allocations: 35.97 kB / 0.585 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.04504, allocations: 60.53 kB / 0.5851 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.04508, allocations: 19.98 kB / 0.5851 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001891/0.04527, allocations: 287 kB / 0.5854 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.04527, allocations: 4 kB / 0.5854 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006314/0.0459, allocations: 271.2 kB / 0.5856 GB, free: 0.6914 MB / 0.4948 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.001113/0.04702, allocations: 0.5669 MB / 0.5862 GB, free: 276 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007939/0.04781, allocations: 0.5522 MB / 0.5867 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.04781, allocations: 0 / 0.5867 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006744/0.04849, allocations: 486.8 kB / 0.5872 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.0489, allocations: 101.9 kB / 0.5873 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.05034, allocations: 1.053 MB / 0.5883 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.939e-05/0.05042, allocations: 144.8 kB / 0.5884 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003026/0.05072, allocations: 124.4 kB / 0.5886 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.05103, allocations: 202.1 kB / 0.5888 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of SimCode: time 7.92e-07/0.05103, allocations: 0 / 0.5888 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of Templates: time 0.01398/0.06501, allocations: 12.95 MB / 0.6014 GB, free: 0.6719 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: 4.11067253863439]