Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.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.0009803/0.0009803, 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.001117/0.001117, allocations: 169 kB / 23.02 MB, free: 1.547 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.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001728/0.001728, allocations: 226.5 kB / 260.2 MB, free: 12.83 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.7528/0.7528, allocations: 138.4 MB / 455.2 MB, free: 1.5 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.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.55e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.003843/0.003858, allocations: 3.644 MB / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.007499, allocations: 3.669 MB / 0.5622 GB, free: 9.195 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.007697, allocations: 11.88 kB / 0.5622 GB, free: 9.184 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.0003764/0.008073, allocations: 126.8 kB / 0.5623 GB, free: 9.059 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007886/0.008862, allocations: 0.5164 MB / 0.5628 GB, free: 8.539 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.009316, allocations: 378.9 kB / 0.5632 GB, free: 8.168 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005277/0.009844, allocations: 0.7914 MB / 0.564 GB, free: 7.375 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.01003, allocations: 130.4 kB / 0.5641 GB, free: 7.246 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004069/0.01044, allocations: 459 kB / 0.5645 GB, free: 6.797 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.01072, allocations: 267.3 kB / 0.5648 GB, free: 6.535 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.01079, allocations: 64 kB / 0.5649 GB, free: 6.473 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005366/0.01133, allocations: 0.5459 MB / 0.5654 GB, free: 5.926 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.01145, allocations: 175.4 kB / 0.5656 GB, free: 5.754 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.01161, allocations: 219.4 kB / 0.5658 GB, free: 5.539 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008084/0.01242, allocations: 0.9265 MB / 0.5667 GB, free: 4.609 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.01242, allocations: 0 / 0.5667 GB, free: 4.609 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01242, allocations: 0 / 0.5667 GB, free: 4.609 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.01243, allocations: 3.938 kB / 0.5667 GB, free: 4.605 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001226/0.01365, allocations: 1.069 MB / 0.5677 GB, free: 3.496 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.01369, allocations: 12.75 kB / 0.5677 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.01508, allocations: 488 kB / 0.5682 GB, free: 3.008 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.01574, allocations: 0.5291 MB / 0.5687 GB, free: 2.449 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.01585, allocations: 199.8 kB / 0.5689 GB, free: 2.219 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.01591, allocations: 48.38 kB / 0.569 GB, free: 2.172 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/0.01659, allocations: 0.5908 MB / 0.5695 GB, free: 1.539 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.01661, allocations: 4 kB / 0.5695 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-05/0.01665, allocations: 24 kB / 0.5696 GB, free: 1.512 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.01666, allocations: 12 kB / 0.5696 GB, free: 1.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.01715, allocations: 341.7 kB / 0.5699 GB, free: 1.164 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.0189, allocations: 1.367 MB / 0.5712 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009556/0.01985, allocations: 445.9 kB / 0.5717 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.02011, allocations: 157.1 kB / 0.5718 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.0206, allocations: 184.3 kB / 0.572 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003341/0.02094, allocations: 247.8 kB / 0.5722 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 1.613e-06/0.02094, allocations: 0 / 0.5722 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.0008193/0.02176, allocations: 0.52 MB / 0.5727 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.0218, allocations: 111.3 kB / 0.5728 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.02211, allocations: 443.9 kB / 0.5733 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.02215, allocations: 37.7 kB / 0.5733 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.02231, allocations: 327.8 kB / 0.5736 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.02241, allocations: 182.3 kB / 0.5738 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.02255, allocations: 127.9 kB / 0.5739 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.02269, allocations: 0.543 MB / 0.5744 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.02289, allocations: 109.2 kB / 0.5745 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.02318, allocations: 349 kB / 0.5749 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.02366, allocations: 425 kB / 0.5753 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.02366, allocations: 0 / 0.5753 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006545/0.02432, allocations: 0.4969 MB / 0.5758 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.02433, allocations: 8.438 kB / 0.5758 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.02434, allocations: 8 kB / 0.5758 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.02436, allocations: 4 kB / 0.5758 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000787/0.02514, allocations: 235.7 kB / 0.576 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.0262, allocations: 1.92 MB / 0.5779 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.02646, allocations: 75.59 kB / 0.5779 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.02649, allocations: 23.98 kB / 0.578 GB, free: 8.461 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.02665, allocations: 196.5 kB / 0.5782 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/0.02674, allocations: 75.62 kB / 0.5782 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.02776, allocations: 0.6352 MB / 0.5789 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.02776, allocations: 8 kB / 0.5789 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.02776, allocations: 3.984 kB / 0.5789 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.02777, allocations: 0 / 0.5789 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.02913, allocations: 1.127 MB / 0.58 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.02913, allocations: 4 kB / 0.58 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.02946, allocations: 127.8 kB / 0.5801 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003754/0.02983, allocations: 91.59 kB / 0.5802 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.02986, allocations: 19.97 kB / 0.5802 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000933/0.0308, allocations: 1.862 MB / 0.582 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.0308, allocations: 0 / 0.582 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.03194, allocations: 0.6868 MB / 0.5827 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/0.0322, allocations: 131.4 kB / 0.5828 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.03226, allocations: 12 kB / 0.5828 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.03259, allocations: 31.97 kB / 0.5829 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/0.03268, allocations: 48.7 kB / 0.5829 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.03273, allocations: 23.98 kB / 0.5829 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002473/0.03297, allocations: 291 kB / 0.5832 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.03297, allocations: 0 / 0.5832 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006184/0.03359, allocations: 251.3 kB / 0.5834 GB, free: 2.625 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 (66): * Single equations (assignments): 64 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001199/0.03479, allocations: 0.5825 MB / 0.584 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.03605, allocations: 485.7 kB / 0.5845 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.03606, allocations: 4 kB / 0.5845 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.03657, allocations: 409.5 kB / 0.5849 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.03699, allocations: 96.69 kB / 0.585 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.03872, allocations: 1.011 MB / 0.5859 GB, free: 152 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.992e-05/0.03882, allocations: 140.8 kB / 0.5861 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003691/0.03919, allocations: 140.4 kB / 0.5862 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.03937, allocations: 68.45 kB / 0.5863 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of SimCode: time 1.422e-06/0.03937, allocations: 0 / 0.5863 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.01259/0.05196, allocations: 9.403 MB / 0.5955 GB, free: 6.477 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.42002176400274]