Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.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.0009541/0.0009541, allocations: 92.22 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.000931/0.000931, allocations: 173 kB / 23.03 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 1.001/1.001, 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.001777/0.001777, allocations: 230.8 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.7695/0.7695, 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.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.5551 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.335e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.003983/0.004006, allocations: 3.668 MB / 0.5587 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003958/0.007964, allocations: 3.68 MB / 0.5623 GB, free: 9.164 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.008255, allocations: 11.88 kB / 0.5623 GB, free: 9.152 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.0004354/0.00869, allocations: 118.9 kB / 0.5624 GB, free: 9.035 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.0099, allocations: 0.5203 MB / 0.5629 GB, free: 8.512 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.01061, allocations: 367 kB / 0.5632 GB, free: 8.152 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007226/0.01133, allocations: 0.7797 MB / 0.564 GB, free: 7.371 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.01155, allocations: 126.4 kB / 0.5641 GB, free: 7.246 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005823/0.01214, allocations: 462.9 kB / 0.5646 GB, free: 6.793 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.01249, allocations: 247.3 kB / 0.5648 GB, free: 6.551 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.263e-05/0.01258, allocations: 72 kB / 0.5649 GB, free: 6.48 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.01364, allocations: 0.5343 MB / 0.5654 GB, free: 5.945 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.01378, allocations: 175.4 kB / 0.5656 GB, free: 5.773 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.01398, allocations: 211.4 kB / 0.5658 GB, free: 5.566 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.01516, allocations: 0.9225 MB / 0.5667 GB, free: 4.641 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01517, allocations: 0 / 0.5667 GB, free: 4.641 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.01517, allocations: 0 / 0.5667 GB, free: 4.641 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.01517, allocations: 0 / 0.5667 GB, free: 4.641 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001414/0.01659, allocations: 1.073 MB / 0.5677 GB, free: 3.527 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.01663, allocations: 8.75 kB / 0.5677 GB, free: 3.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.01808, allocations: 451.9 kB / 0.5681 GB, free: 3.078 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.01871, allocations: 449 kB / 0.5686 GB, free: 2.613 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.01884, allocations: 195.8 kB / 0.5688 GB, free: 2.383 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.26e-05/0.0189, allocations: 48.38 kB / 0.5688 GB, free: 2.336 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008523/0.01975, allocations: 0.6011 MB / 0.5694 GB, free: 1.703 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.01977, allocations: 0 / 0.5694 GB, free: 1.703 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.01981, allocations: 20 kB / 0.5694 GB, free: 1.684 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.01982, allocations: 12 kB / 0.5694 GB, free: 1.672 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005615/0.02038, allocations: 373.6 kB / 0.5698 GB, free: 1.305 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.02235, allocations: 1.401 MB / 0.5711 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.02337, allocations: 466.9 kB / 0.5716 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/0.02393, allocations: 173 kB / 0.5718 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005168/0.02445, allocations: 176.3 kB / 0.5719 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003743/0.02482, allocations: 267.8 kB / 0.5722 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=55): time 2.574e-06/0.02482, allocations: 3.938 kB / 0.5722 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.00291/0.02773, allocations: 1.16 MB / 0.5733 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.02779, allocations: 115.2 kB / 0.5734 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.02813, allocations: 446.7 kB / 0.5739 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.02818, allocations: 33.7 kB / 0.5739 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.02834, allocations: 331.9 kB / 0.5742 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.02846, allocations: 194.3 kB / 0.5744 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.02861, allocations: 131.9 kB / 0.5745 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.02876, allocations: 0.5391 MB / 0.575 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.02899, allocations: 121.2 kB / 0.5752 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.0293, allocations: 349.3 kB / 0.5755 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.02982, allocations: 417.4 kB / 0.5759 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.02982, allocations: 4 kB / 0.5759 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00156/0.03139, allocations: 0.7425 MB / 0.5766 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.03141, allocations: 14.8 kB / 0.5766 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.03142, allocations: 4 kB / 0.5766 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008998/0.03232, allocations: 303.7 kB / 0.5769 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.03271, allocations: 139.8 kB / 0.5771 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.03539, allocations: 2.161 MB / 0.5792 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.03578, allocations: 87.66 kB / 0.5793 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.03583, allocations: 35.95 kB / 0.5793 GB, free: 7.137 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (69): * Single equations (assignments): 68 * 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.0002141/0.03604, allocations: 188.5 kB / 0.5795 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.03616, allocations: 71.61 kB / 0.5795 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.03756, allocations: 0.7562 MB / 0.5803 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.03756, allocations: 8 kB / 0.5803 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.03757, allocations: 0 / 0.5803 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.03757, allocations: 7.969 kB / 0.5803 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.03947, allocations: 1.275 MB / 0.5815 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.03947, allocations: 0 / 0.5815 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.03984, allocations: 135.7 kB / 0.5817 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006104/0.04045, allocations: 199.5 kB / 0.5819 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.04049, allocations: 15.98 kB / 0.5819 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.04216, allocations: 2.077 MB / 0.5839 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.04216, allocations: 0 / 0.5839 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.04342, allocations: 0.7766 MB / 0.5847 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.04363, allocations: 151.3 kB / 0.5848 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.04369, allocations: 15.94 kB / 0.5848 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.04396, allocations: 39.97 kB / 0.5849 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.04406, allocations: 56.47 kB / 0.5849 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.04411, allocations: 23.98 kB / 0.5849 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002293/0.04433, allocations: 295 kB / 0.5852 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04434, allocations: 4 kB / 0.5852 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006857/0.04502, allocations: 263.3 kB / 0.5855 GB, free: 0.5781 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001539/0.04656, allocations: 0.5545 MB / 0.586 GB, free: 172 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009446/0.0475, allocations: 0.6 MB / 0.5866 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.04751, allocations: 0 / 0.5866 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.04793, allocations: 430.3 kB / 0.587 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.04829, allocations: 93.34 kB / 0.5871 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.04996, allocations: 1.034 MB / 0.5881 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.783e-05/0.05006, allocations: 140.6 kB / 0.5882 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003492/0.05041, allocations: 140.4 kB / 0.5884 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.05059, allocations: 76.39 kB / 0.5884 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.312e-06/0.05059, allocations: 0 / 0.5884 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.01719/0.06778, allocations: 12.5 MB / 0.6007 GB, free: 1.164 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3124690959230065]