Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.964/4.964, allocations: 0.5623 GB / 0.5769 GB, free: 3.312 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003888/0.003888, allocations: 356.6 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.206/4.206, allocations: 410.7 MB / 1.112 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001773/0.001773, allocations: 185.1 kB / 1.225 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.000489, allocations: 15.98 kB / 1.348 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5878/0.5883, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.009811/0.5982, allocations: 8.382 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1398/0.738, allocations: 138.8 MB / 1.604 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.7399, allocations: 31.81 kB / 1.604 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008568/0.7407, allocations: 170.4 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.744, allocations: 0.7672 MB / 1.605 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.7477, allocations: 1.136 MB / 1.606 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003278/0.751, allocations: 2.697 MB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004121/0.7551, allocations: 2.306 MB / 1.611 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.7566, allocations: 0.789 MB / 1.612 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.7582, allocations: 0.9794 MB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003828/0.7586, allocations: 64 kB / 1.613 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.76, allocations: 423.3 kB / 1.614 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004977/0.7605, allocations: 462 kB / 1.614 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005401/0.761, allocations: 456.3 kB / 1.614 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.7645, allocations: 3.152 MB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.217e-06/0.7645, allocations: 0 / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.992e-06/0.7645, allocations: 0 / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.357e-05/0.7646, allocations: 4 kB / 1.618 GB, free: 123.7 MB / 0.8542 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.005157/0.7698, allocations: 2.383 MB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.7698, allocations: 11.62 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/0.7821, allocations: 1.666 MB / 1.621 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.785, allocations: 1.408 MB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.7852, allocations: 185 kB / 1.623 GB, free: 118 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000467/0.7857, allocations: 248 kB / 1.623 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0093/0.795, allocations: 3.426 MB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-05/0.7951, allocations: 3.938 kB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003523/0.7955, allocations: 107.9 kB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.7956, allocations: 120.6 kB / 1.627 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.8084, allocations: 3.921 MB / 1.631 GB, free: 110 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01916/0.8276, allocations: 10.05 MB / 1.64 GB, free: 99.62 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008604/0.8362, allocations: 2.695 MB / 1.643 GB, free: 96.91 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003981/0.8402, allocations: 1.265 MB / 1.644 GB, free: 95.64 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008028/0.8411, allocations: 0.5865 MB / 1.645 GB, free: 94.94 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004508/0.8456, allocations: 1.511 MB / 1.646 GB, free: 93.41 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=194): time 6.303e-06/0.8457, allocations: 0 / 1.646 GB, free: 93.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=195): time 0.01363/0.8593, allocations: 4.269 MB / 1.651 GB, free: 89.12 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.8595, allocations: 257.3 kB / 1.651 GB, free: 88.82 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.8612, allocations: 1.093 MB / 1.652 GB, free: 87.71 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004042/0.8616, allocations: 57.7 kB / 1.652 GB, free: 87.65 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000714/0.8623, allocations: 0.921 MB / 1.653 GB, free: 86.72 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006643/0.863, allocations: 0.643 MB / 1.653 GB, free: 86.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.8632, allocations: 36 kB / 1.653 GB, free: 86.03 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.8633, allocations: 373.9 kB / 1.654 GB, free: 85.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003765/0.8671, allocations: 1.074 MB / 1.655 GB, free: 84.59 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004141/0.8713, allocations: 1.383 MB / 1.656 GB, free: 83.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004091/0.8754, allocations: 1.185 MB / 1.657 GB, free: 81.92 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.8755, allocations: 0 / 1.657 GB, free: 81.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.009212/0.8847, allocations: 2.791 MB / 1.66 GB, free: 79.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.8849, allocations: 280.7 kB / 1.66 GB, free: 78.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.885, allocations: 8 kB / 1.66 GB, free: 78.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/0.885, allocations: 16 kB / 1.66 GB, free: 78.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/0.8891, allocations: 0.55 MB / 1.661 GB, free: 78.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.71e-05/0.8891, allocations: 19.92 kB / 1.661 GB, free: 78.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/0.892, allocations: 278.4 kB / 1.661 GB, free: 77.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00042/0.8925, allocations: 95.92 kB / 1.661 GB, free: 77.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.8925, allocations: 4 kB / 1.661 GB, free: 77.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009495/0.902, allocations: 2.561 MB / 1.664 GB, free: 75.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.9021, allocations: 8 kB / 1.664 GB, free: 75.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.9021, allocations: 16.64 kB / 1.664 GB, free: 75.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003857/0.906, allocations: 0.5499 MB / 1.664 GB, free: 74.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.215e-05/0.9061, allocations: 23.88 kB / 1.664 GB, free: 74.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/0.9088, allocations: 262.6 kB / 1.665 GB, free: 74.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000412/0.9093, allocations: 99.91 kB / 1.665 GB, free: 74.29 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 237 * 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.001497/0.9108, allocations: 0.5848 MB / 1.665 GB, free: 73.69 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004396/0.9113, allocations: 165.9 kB / 1.666 GB, free: 73.53 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.9219, allocations: 3.13 MB / 1.669 GB, free: 70.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.9219, allocations: 23.95 kB / 1.669 GB, free: 70.35 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.922, allocations: 0 / 1.669 GB, free: 70.35 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/0.922, allocations: 11.95 kB / 1.669 GB, free: 70.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/0.9361, allocations: 5.835 MB / 1.674 GB, free: 64.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.9361, allocations: 4 kB / 1.674 GB, free: 64.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00378/0.9399, allocations: 0.5111 MB / 1.675 GB, free: 63.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.433e-05/0.94, allocations: 8 kB / 1.675 GB, free: 63.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003454/0.9404, allocations: 59.94 kB / 1.675 GB, free: 63.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/0.9404, allocations: 15.94 kB / 1.675 GB, free: 63.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.041e-06/0.9404, allocations: 0 / 1.675 GB, free: 63.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008791/0.9492, allocations: 2.837 MB / 1.678 GB, free: 60.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/0.9507, allocations: 0.5683 MB / 1.678 GB, free: 60.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004995/0.9512, allocations: 40 kB / 1.678 GB, free: 60.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002661/0.9539, allocations: 211.8 kB / 1.678 GB, free: 60.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003455/0.9542, allocations: 125.8 kB / 1.679 GB, free: 59.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002766/0.9545, allocations: 83.88 kB / 1.679 GB, free: 59.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00135/0.9559, allocations: 0.7753 MB / 1.679 GB, free: 59.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.05e-07/0.9559, allocations: 0 / 1.679 GB, free: 59.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003196/0.9591, allocations: 0.7853 MB / 1.68 GB, free: 58.35 MB / 0.8542 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.002011/0.9612, allocations: 0.6037 MB / 1.681 GB, free: 57.94 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01302/0.9742, allocations: 4.037 MB / 1.685 GB, free: 53.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.898e-06/0.9743, allocations: 4 kB / 1.685 GB, free: 53.91 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00427/0.9785, allocations: 1.37 MB / 1.686 GB, free: 52.54 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.981, allocations: 381.7 kB / 1.686 GB, free: 52.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.9913, allocations: 5.378 MB / 1.692 GB, free: 46.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.9926, allocations: 1.599 MB / 1.693 GB, free: 45.11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005695/0.9983, allocations: 0.7875 MB / 1.694 GB, free: 44.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/0.9995, allocations: 223.3 kB / 1.694 GB, free: 44.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.713e-06/0.9996, allocations: 0 / 1.694 GB, free: 44.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.05632/1.056, allocations: 26.59 MB / 1.72 GB, free: 17.84 MB / 0.8542 GB