Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.596/1.596, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 171.3 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000798/0.0007981, allocations: 96.27 kB / 0.7808 GB, free: 43.5 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003805, allocations: 13.22 kB / 0.9088 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5634/0.5638, allocations: 120.3 MB / 1.026 GB, free: 56.14 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.238/3.802, allocations: 1.757 GB / 2.783 GB, free: 29.73 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/3.802, allocations: 100.7 kB / 2.783 GB, free: 29.64 MB / 0.9792 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Interfaces/Source.mo:28:9-28:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.701/4.503, allocations: 73.08 MB / 2.855 GB, free: 305.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.625e-06/4.503, allocations: 4 kB / 2.855 GB, free: 305.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001745/4.504, allocations: 47.16 kB / 2.855 GB, free: 305.5 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.005284/4.509, allocations: 1.73 MB / 2.856 GB, free: 304.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/4.509, allocations: 9.125 kB / 2.857 GB, free: 304.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005671/4.515, allocations: 0.8336 MB / 2.857 GB, free: 304.3 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/4.517, allocations: 0.9328 MB / 2.858 GB, free: 303.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/4.518, allocations: 108.5 kB / 2.858 GB, free: 303.7 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006271/4.518, allocations: 145.2 kB / 2.858 GB, free: 303.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006317/4.525, allocations: 1.998 MB / 2.86 GB, free: 302.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.352e-05/4.525, allocations: 1.219 kB / 2.86 GB, free: 302.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003344/4.525, allocations: 67.05 kB / 2.86 GB, free: 302.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.567e-05/4.525, allocations: 69.22 kB / 2.861 GB, free: 302.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007489/4.533, allocations: 2.418 MB / 2.863 GB, free: 302.1 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/4.546, allocations: 6.258 MB / 2.869 GB, free: 298.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004191/4.55, allocations: 1.562 MB / 2.871 GB, free: 297.9 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/4.552, allocations: 0.7651 MB / 2.871 GB, free: 297.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006678/4.553, allocations: 494.2 kB / 2.872 GB, free: 297.2 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002224/4.555, allocations: 0.936 MB / 2.873 GB, free: 296.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=129): time 7.364e-06/4.555, allocations: 0 / 2.873 GB, free: 296.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=129): time 0.006489/4.562, allocations: 2.248 MB / 2.875 GB, free: 295.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/4.562, allocations: 357.1 kB / 2.875 GB, free: 295.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/4.564, allocations: 0.9002 MB / 2.876 GB, free: 295.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/4.564, allocations: 53.08 kB / 2.876 GB, free: 295.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005776/4.564, allocations: 0.5894 MB / 2.877 GB, free: 294.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003496/4.565, allocations: 430.1 kB / 2.877 GB, free: 294.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-05/4.565, allocations: 21.78 kB / 2.877 GB, free: 294.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/4.565, allocations: 351.9 kB / 2.877 GB, free: 294 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/4.567, allocations: 0.6012 MB / 2.878 GB, free: 293.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/4.569, allocations: 0.8115 MB / 2.879 GB, free: 293.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003485/4.572, allocations: 1.375 MB / 2.88 GB, free: 292.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/4.572, allocations: 1.188 kB / 2.88 GB, free: 292.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004479/4.577, allocations: 1.632 MB / 2.882 GB, free: 292.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.881e-05/4.577, allocations: 178.2 kB / 2.882 GB, free: 291.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/4.577, allocations: 7.562 kB / 2.882 GB, free: 291.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/4.577, allocations: 31.08 kB / 2.882 GB, free: 291.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/4.579, allocations: 335.5 kB / 2.882 GB, free: 291.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009792/4.58, allocations: 1.305 MB / 2.884 GB, free: 290.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/4.581, allocations: 192.9 kB / 2.884 GB, free: 290.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/4.582, allocations: 55.05 kB / 2.884 GB, free: 290.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/4.582, allocations: 7.938 kB / 2.884 GB, free: 290.4 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003808/4.585, allocations: 1.499 MB / 2.885 GB, free: 289.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/4.585, allocations: 2.438 kB / 2.885 GB, free: 289.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/4.585, allocations: 7.281 kB / 2.885 GB, free: 289.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/4.587, allocations: 340.5 kB / 2.886 GB, free: 289.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-05/4.587, allocations: 7.188 kB / 2.886 GB, free: 289.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/4.589, allocations: 202.9 kB / 2.886 GB, free: 289.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/4.589, allocations: 53.22 kB / 2.886 GB, free: 289.8 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (148): * Single equations (assignments): 147 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00101/4.59, allocations: 438.2 kB / 2.886 GB, free: 289.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004316/4.59, allocations: 121.4 kB / 2.886 GB, free: 289.4 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005277/4.596, allocations: 1.931 MB / 2.888 GB, free: 288.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/4.596, allocations: 14.22 kB / 2.888 GB, free: 288.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/4.596, allocations: 5.375 kB / 2.888 GB, free: 288.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/4.596, allocations: 8.938 kB / 2.888 GB, free: 288.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008039/4.604, allocations: 3.804 MB / 2.892 GB, free: 286.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/4.604, allocations: 5.25 kB / 2.892 GB, free: 286.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/4.605, allocations: 310.5 kB / 2.892 GB, free: 286.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001451/4.606, allocations: 32.27 kB / 2.892 GB, free: 286.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/4.606, allocations: 40.22 kB / 2.892 GB, free: 286.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007366/4.606, allocations: 1.273 MB / 2.894 GB, free: 285.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/4.606, allocations: 6.531 kB / 2.894 GB, free: 285.4 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00446/4.611, allocations: 1.753 MB / 2.895 GB, free: 284.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009292/4.612, allocations: 424.1 kB / 2.896 GB, free: 284.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/4.612, allocations: 28.59 kB / 2.896 GB, free: 284.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/4.614, allocations: 142.3 kB / 2.896 GB, free: 284.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/4.614, allocations: 96.52 kB / 2.896 GB, free: 284.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/4.614, allocations: 47.94 kB / 2.896 GB, free: 284.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001431/4.616, allocations: 0.6578 MB / 2.897 GB, free: 284 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.81e-07/4.616, allocations: 0 / 2.897 GB, free: 284 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00357/4.619, allocations: 0.7676 MB / 2.897 GB, free: 283.8 MB / 0.9792 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 141 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002063/4.621, allocations: 0.6648 MB / 2.898 GB, free: 283.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006708/4.628, allocations: 2.439 MB / 2.901 GB, free: 282.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/4.628, allocations: 1.219 kB / 2.901 GB, free: 282.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002227/4.63, allocations: 0.9332 MB / 2.901 GB, free: 282.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/4.633, allocations: 323.5 kB / 2.902 GB, free: 282.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/4.64, allocations: 3.388 MB / 2.905 GB, free: 280.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/4.641, allocations: 1.245 MB / 2.906 GB, free: 279.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003447/4.644, allocations: 0.5201 MB / 2.907 GB, free: 279.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000751/4.645, allocations: 151.9 kB / 2.907 GB, free: 279.3 MB / 0.9792 GB Notification: Performance of SimCode: time 1.533e-06/4.645, allocations: 0 / 2.907 GB, free: 279.3 MB / 0.9792 GB Notification: Performance of Templates: time 0.03672/4.682, allocations: 19.99 MB / 2.926 GB, free: 275.4 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)