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.0009251/0.0009251, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001014/0.001014, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9199/0.9199, allocations: 177.1 MB / 204.5 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.001876/0.001876, allocations: 232.9 kB / 261.3 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.775/0.775, allocations: 138.4 MB / 456.3 MB, free: 30.05 MB / 410.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.392e-06/1.392e-06, allocations: 0 / 0.5563 GB, free: 15.98 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.153e-05, allocations: 6.312 kB / 0.5563 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.003789/0.00381, allocations: 3.686 MB / 0.5599 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003968/0.007778, allocations: 3.669 MB / 0.5635 GB, free: 8.582 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.008042, allocations: 19.81 kB / 0.5635 GB, free: 8.562 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.0004108/0.008453, allocations: 118.9 kB / 0.5636 GB, free: 8.445 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009421/0.009395, allocations: 0.5251 MB / 0.5641 GB, free: 7.918 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.01, allocations: 375 kB / 0.5645 GB, free: 7.551 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.01055, allocations: 0.807 MB / 0.5653 GB, free: 6.742 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.01074, allocations: 134.4 kB / 0.5654 GB, free: 6.609 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004524/0.01119, allocations: 474.9 kB / 0.5659 GB, free: 6.145 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/0.01149, allocations: 263.2 kB / 0.5661 GB, free: 5.887 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.236e-05/0.01156, allocations: 64 kB / 0.5662 GB, free: 5.824 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006497/0.01221, allocations: 0.5421 MB / 0.5667 GB, free: 5.281 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.01233, allocations: 175.3 kB / 0.5669 GB, free: 5.109 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.01248, allocations: 219.4 kB / 0.5671 GB, free: 4.895 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009017/0.01338, allocations: 0.9342 MB / 0.568 GB, free: 3.957 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01339, allocations: 0 / 0.568 GB, free: 3.957 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01339, allocations: 0 / 0.568 GB, free: 3.957 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.01339, allocations: 0 / 0.568 GB, free: 3.957 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.001202/0.0146, allocations: 1.096 MB / 0.5691 GB, free: 2.824 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.01463, allocations: 8.75 kB / 0.5691 GB, free: 2.816 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.01597, allocations: 416 kB / 0.5695 GB, free: 2.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.01645, allocations: 464.8 kB / 0.5699 GB, free: 1.926 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.01655, allocations: 199.8 kB / 0.5701 GB, free: 1.695 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-05/0.01661, allocations: 44.38 kB / 0.5701 GB, free: 1.652 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009536/0.01757, allocations: 0.5695 MB / 0.5707 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.01758, allocations: 0 / 0.5707 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.01763, allocations: 20 kB / 0.5707 GB, free: 1.023 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.01763, allocations: 12 kB / 0.5707 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003825/0.01802, allocations: 294.6 kB / 0.571 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.01977, allocations: 1.483 MB / 0.5725 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008027/0.02058, allocations: 419.2 kB / 0.5729 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.02079, allocations: 157 kB / 0.573 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004659/0.02125, allocations: 180.3 kB / 0.5732 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003047/0.02156, allocations: 263.6 kB / 0.5734 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=58): time 1.854e-06/0.02156, allocations: 0 / 0.5734 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58): time 0.002638/0.0242, allocations: 1.105 MB / 0.5745 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.02424, allocations: 115.2 kB / 0.5746 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.02453, allocations: 452 kB / 0.575 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.02458, allocations: 37.7 kB / 0.5751 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.02473, allocations: 335.8 kB / 0.5754 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.02485, allocations: 198.2 kB / 0.5756 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.025, allocations: 139.8 kB / 0.5757 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.02515, allocations: 0.5351 MB / 0.5762 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.02531, allocations: 105.2 kB / 0.5763 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.02556, allocations: 317.8 kB / 0.5766 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.02597, allocations: 370 kB / 0.577 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.02598, allocations: 4 kB / 0.577 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001605/0.02758, allocations: 0.7036 MB / 0.5777 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.0276, allocations: 4 kB / 0.5777 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.02761, allocations: 4 kB / 0.5777 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007985/0.0284, allocations: 299.5 kB / 0.578 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.02877, allocations: 139.8 kB / 0.5781 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.03082, allocations: 2.134 MB / 0.5802 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.03116, allocations: 71.64 kB / 0.5803 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.0312, allocations: 31.95 kB / 0.5803 GB, free: 6.801 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.0001966/0.03139, allocations: 188.5 kB / 0.5805 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.0315, allocations: 71.62 kB / 0.5806 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.03276, allocations: 0.7331 MB / 0.5813 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.03277, allocations: 8 kB / 0.5813 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.03277, allocations: 0 / 0.5813 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.03278, allocations: 3.984 kB / 0.5813 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.03437, allocations: 1.178 MB / 0.5824 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.03437, allocations: 0 / 0.5824 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.03471, allocations: 127.8 kB / 0.5826 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000541/0.03525, allocations: 195.4 kB / 0.5827 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.03529, allocations: 19.98 kB / 0.5828 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.03727, allocations: 2.121 MB / 0.5848 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.03727, allocations: 0 / 0.5848 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.03832, allocations: 0.753 MB / 0.5856 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.0385, allocations: 139.3 kB / 0.5857 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.03856, allocations: 15.98 kB / 0.5857 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.03881, allocations: 39.98 kB / 0.5857 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.03889, allocations: 56.53 kB / 0.5858 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.03893, allocations: 23.97 kB / 0.5858 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001609/0.03909, allocations: 279 kB / 0.5861 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.03909, allocations: 0 / 0.5861 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000621/0.03972, allocations: 271.2 kB / 0.5863 GB, free: 400 kB / 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.001119/0.04083, allocations: 0.5758 MB / 0.5869 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007018/0.04154, allocations: 0.556 MB / 0.5875 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.04154, allocations: 0 / 0.5875 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.0421, allocations: 486.9 kB / 0.5879 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.04244, allocations: 93.91 kB / 0.588 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.04387, allocations: 1.046 MB / 0.589 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.751e-05/0.04396, allocations: 148.8 kB / 0.5892 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003293/0.04428, allocations: 120.5 kB / 0.5893 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.04462, allocations: 202.1 kB / 0.5895 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/0.04462, allocations: 3.938 kB / 0.5895 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.01511/0.05972, allocations: 13.18 MB / 0.6024 GB, free: 184 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.166125711984932]