Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 103.3 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.623/1.623, allocations: 251.9 MB / 0.51 GB, free: 4.898 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000532/0.000532, allocations: 23.59 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6439/0.6444, allocations: 106.3 MB / 0.728 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.01066/0.6551, allocations: 8.183 MB / 0.736 GB, free: 3.391 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1839/0.8391, allocations: 129.7 MB / 0.8626 GB, free: 1.344 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.8413, allocations: 27.88 kB / 0.8627 GB, free: 1.316 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.8427, allocations: 178.4 kB / 0.8628 GB, free: 1.141 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.8465, allocations: 0.7912 MB / 0.8636 GB, free: 356 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004133/0.8506, allocations: 1.128 MB / 0.8647 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004471/0.8551, allocations: 1.686 MB / 0.8664 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005817/0.861, allocations: 2.299 MB / 0.8686 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.8629, allocations: 0.8128 MB / 0.8694 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.8651, allocations: 0.8666 MB / 0.8702 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007151/0.8659, allocations: 67.94 kB / 0.8703 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.8677, allocations: 391.5 kB / 0.8707 GB, free: 9.031 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009167/0.8687, allocations: 458.1 kB / 0.8711 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.8697, allocations: 452.3 kB / 0.8715 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004781/0.8745, allocations: 3.148 MB / 0.8746 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.8745, allocations: 4 kB / 0.8746 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.056e-06/0.8746, allocations: 0 / 0.8746 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001855/0.8748, allocations: 0 / 0.8746 GB, free: 4.973 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.00754/0.8823, allocations: 2.375 MB / 0.8769 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.8824, allocations: 8.031 kB / 0.877 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.8939, allocations: 1.674 MB / 0.8786 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004585/0.8986, allocations: 1.405 MB / 0.88 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/0.8989, allocations: 197 kB / 0.8801 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001391/0.9003, allocations: 240 kB / 0.8804 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.9121, allocations: 3.411 MB / 0.8837 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.7e-05/0.9122, allocations: 7.984 kB / 0.8837 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003758/0.9126, allocations: 108 kB / 0.8838 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.9127, allocations: 116.6 kB / 0.8839 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.9235, allocations: 3.921 MB / 0.8878 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/0.9418, allocations: 10.04 MB / 0.8976 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007658/0.9495, allocations: 2.704 MB / 0.9002 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009221/0.9505, allocations: 0.5865 MB / 0.9008 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00408/0.9546, allocations: 1.507 MB / 0.9022 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=194): time 6.141e-06/0.9546, allocations: 0 / 0.9022 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=195): time 0.01212/0.9668, allocations: 4.273 MB / 0.9064 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.967, allocations: 253.3 kB / 0.9067 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.9689, allocations: 1.089 MB / 0.9077 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.9691, allocations: 57.7 kB / 0.9078 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000935/0.9701, allocations: 0.9329 MB / 0.9087 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006797/0.9708, allocations: 0.6391 MB / 0.9093 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.9709, allocations: 39.94 kB / 0.9094 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.9711, allocations: 373.9 kB / 0.9097 GB, free: 172 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5119/1.483, allocations: 1.042 MB / 0.9107 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004856/1.488, allocations: 1.374 MB / 0.9121 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004684/1.493, allocations: 1.16 MB / 0.9132 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-05/1.493, allocations: 1.75 kB / 0.9132 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01089/1.504, allocations: 2.739 MB / 0.9159 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008061/1.504, allocations: 2.462 MB / 0.9183 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/1.505, allocations: 6.156 kB / 0.9183 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.878e-05/1.505, allocations: 19.28 kB / 0.9183 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003581/1.508, allocations: 0.5436 MB / 0.9188 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.879e-05/1.508, allocations: 20.03 kB / 0.9189 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/1.511, allocations: 275.1 kB / 0.9191 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004254/1.512, allocations: 87.55 kB / 0.9192 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.512, allocations: 3.906 kB / 0.9192 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008877/1.52, allocations: 2.51 MB / 0.9217 GB, free: 170 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/1.521, allocations: 11.22 kB / 0.9217 GB, free: 170 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/1.521, allocations: 14.91 kB / 0.9217 GB, free: 170 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003162/1.524, allocations: 0.5296 MB / 0.9222 GB, free: 170 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.334e-05/1.524, allocations: 21.08 kB / 0.9222 GB, free: 170 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/1.526, allocations: 262 kB / 0.9225 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/1.527, allocations: 87.67 kB / 0.9226 GB, free: 169.9 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00169/1.528, allocations: 0.5843 MB / 0.9231 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000484/1.529, allocations: 165.8 kB / 0.9233 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007829/1.537, allocations: 3.136 MB / 0.9263 GB, free: 168.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/1.537, allocations: 23.19 kB / 0.9264 GB, free: 168.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/1.537, allocations: 1.031 kB / 0.9264 GB, free: 168.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.49e-05/1.537, allocations: 12.31 kB / 0.9264 GB, free: 168.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/1.549, allocations: 5.838 MB / 0.9321 GB, free: 165.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/1.549, allocations: 3.984 kB / 0.9321 GB, free: 165.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002907/1.552, allocations: 0.5212 MB / 0.9326 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.882e-05/1.552, allocations: 11.5 kB / 0.9326 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002552/1.553, allocations: 63.72 kB / 0.9327 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.202e-05/1.553, allocations: 7.469 kB / 0.9327 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.553, allocations: 1.531 kB / 0.9327 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006983/1.56, allocations: 2.884 MB / 0.9355 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/1.561, allocations: 0.5704 MB / 0.9361 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004995/1.562, allocations: 40 kB / 0.9361 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/1.564, allocations: 214.9 kB / 0.9363 GB, free: 162.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/1.564, allocations: 129.8 kB / 0.9364 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/1.564, allocations: 75.94 kB / 0.9365 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001326/1.566, allocations: 0.7861 MB / 0.9373 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.566, allocations: 0 / 0.9373 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003306/1.569, allocations: 0.7668 MB / 0.938 GB, free: 160.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001551/1.571, allocations: 0.6103 MB / 0.9386 GB, free: 159.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009795/1.58, allocations: 3.97 MB / 0.9425 GB, free: 156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.58, allocations: 4 kB / 0.9425 GB, free: 156 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003026/1.583, allocations: 1.359 MB / 0.9438 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/1.585, allocations: 371.5 kB / 0.9442 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/1.596, allocations: 5.357 MB / 0.9494 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/1.598, allocations: 1.603 MB / 0.951 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004911/1.603, allocations: 0.7788 MB / 0.9517 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.604, allocations: 211.3 kB / 0.9519 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of SimCode: time 2.665e-06/1.604, allocations: 0 / 0.9519 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.0428/1.647, allocations: 26.6 MB / 0.9779 GB, free: 119.8 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1) Environment - environmentSimulation: