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.001011/0.001011, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001017/0.001017, allocations: 169.7 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.8987/0.8987, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.001661/0.001661, allocations: 237.7 kB / 260.5 MB, free: 12.67 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.76/0.76, allocations: 138.4 MB / 455.5 MB, free: 1.398 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.453e-06/1.453e-06, allocations: 0 / 0.5556 GB, free: 280 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.847e-05, allocations: 2.312 kB / 0.5556 GB, free: 276 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.004292/0.00431, allocations: 3.621 MB / 0.5591 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.008421, allocations: 3.638 MB / 0.5626 GB, free: 8.969 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.008646, allocations: 15.88 kB / 0.5627 GB, free: 8.953 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.0003932/0.009039, allocations: 118.8 kB / 0.5628 GB, free: 8.836 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008168/0.009856, allocations: 0.5204 MB / 0.5633 GB, free: 8.312 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.01033, allocations: 370.6 kB / 0.5636 GB, free: 7.953 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000537/0.01087, allocations: 0.7836 MB / 0.5644 GB, free: 7.168 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.01107, allocations: 126.4 kB / 0.5645 GB, free: 7.043 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000441/0.01151, allocations: 455 kB / 0.565 GB, free: 6.598 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.01179, allocations: 263.2 kB / 0.5652 GB, free: 6.34 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.823e-05/0.01186, allocations: 64 kB / 0.5653 GB, free: 6.277 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005528/0.01241, allocations: 0.5421 MB / 0.5658 GB, free: 5.734 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.01253, allocations: 167.4 kB / 0.566 GB, free: 5.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.01268, allocations: 219.4 kB / 0.5662 GB, free: 5.355 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007879/0.01347, allocations: 0.9109 MB / 0.5671 GB, free: 4.441 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.01347, allocations: 4 kB / 0.5671 GB, free: 4.438 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01347, allocations: 3.938 kB / 0.5671 GB, free: 4.434 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.01348, allocations: 0 / 0.5671 GB, free: 4.434 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.001229/0.01471, allocations: 1.069 MB / 0.5681 GB, free: 3.324 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.01475, allocations: 16.75 kB / 0.5681 GB, free: 3.309 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.01598, allocations: 404 kB / 0.5685 GB, free: 2.914 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.01641, allocations: 452.9 kB / 0.5689 GB, free: 2.445 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.01651, allocations: 191.8 kB / 0.5691 GB, free: 2.219 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.01657, allocations: 52.36 kB / 0.5692 GB, free: 2.168 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006334/0.01721, allocations: 0.5542 MB / 0.5697 GB, free: 1.582 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.01722, allocations: 4 kB / 0.5697 GB, free: 1.578 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.01726, allocations: 16 kB / 0.5697 GB, free: 1.562 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.01727, allocations: 12 kB / 0.5697 GB, free: 1.551 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.01763, allocations: 294.6 kB / 0.57 GB, free: 1.262 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.01926, allocations: 1.324 MB / 0.5713 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007679/0.02002, allocations: 418.8 kB / 0.5717 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.02022, allocations: 141.1 kB / 0.5719 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004487/0.02067, allocations: 204 kB / 0.572 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.02095, allocations: 250.4 kB / 0.5723 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=55): time 1.673e-06/0.02095, allocations: 0 / 0.5723 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.002483/0.02344, allocations: 1.082 MB / 0.5733 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.02349, allocations: 107.3 kB / 0.5734 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.02378, allocations: 446.5 kB / 0.5739 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.02382, allocations: 33.7 kB / 0.5739 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.02397, allocations: 335.8 kB / 0.5742 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.02408, allocations: 190.3 kB / 0.5744 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.02422, allocations: 135.8 kB / 0.5745 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.02438, allocations: 0.539 MB / 0.5751 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.02453, allocations: 93.22 kB / 0.5751 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.02477, allocations: 333.2 kB / 0.5755 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.02515, allocations: 373.3 kB / 0.5758 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.02515, allocations: 0 / 0.5758 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001275/0.02643, allocations: 0.688 MB / 0.5765 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.02644, allocations: 8 kB / 0.5765 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.02645, allocations: 7.984 kB / 0.5765 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007612/0.02721, allocations: 307.4 kB / 0.5768 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.02754, allocations: 139.8 kB / 0.5769 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.02941, allocations: 2.128 MB / 0.579 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.02968, allocations: 82.17 kB / 0.5791 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.02971, allocations: 23.97 kB / 0.5791 GB, free: 7.535 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 (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 (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.0001599/0.02987, allocations: 200.4 kB / 0.5793 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/0.02997, allocations: 67.67 kB / 0.5794 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.0311, allocations: 0.7053 MB / 0.5801 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.0311, allocations: 8 kB / 0.5801 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.03111, allocations: 0 / 0.5801 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.03111, allocations: 7.922 kB / 0.5801 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.03255, allocations: 1.159 MB / 0.5812 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.03255, allocations: 0 / 0.5812 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.03285, allocations: 115.9 kB / 0.5813 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005025/0.03335, allocations: 195.5 kB / 0.5815 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.03339, allocations: 19.97 kB / 0.5815 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.03478, allocations: 2.051 MB / 0.5835 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.03478, allocations: 0 / 0.5835 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009546/0.03573, allocations: 0.7257 MB / 0.5842 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.03589, allocations: 135.3 kB / 0.5844 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.03594, allocations: 19.98 kB / 0.5844 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.03617, allocations: 35.98 kB / 0.5844 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.03624, allocations: 56.47 kB / 0.5845 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.03628, allocations: 20.05 kB / 0.5845 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001491/0.03643, allocations: 286.9 kB / 0.5848 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.03643, allocations: 0 / 0.5848 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004871/0.03692, allocations: 263.3 kB / 0.585 GB, free: 1.281 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.001036/0.03795, allocations: 0.5694 MB / 0.5856 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007191/0.03867, allocations: 0.5335 MB / 0.5861 GB, free: 308 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.03868, allocations: 0.8125 kB / 0.5861 GB, free: 308 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.03904, allocations: 414.2 kB / 0.5865 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.03938, allocations: 93.83 kB / 0.5866 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.04071, allocations: 0.999 MB / 0.5876 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.699e-05/0.0408, allocations: 144.6 kB / 0.5877 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003248/0.04113, allocations: 124.5 kB / 0.5878 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.04145, allocations: 194.1 kB / 0.588 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/0.04145, allocations: 0 / 0.588 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.01385/0.0553, allocations: 12.74 MB / 0.6004 GB, free: 1.617 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.046186382882297]