Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.8/1.8, allocations: 285.4 MB / 298 MB, free: 6.031 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 168.9 kB / 366.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.1 MB / 0.6248 GB, free: 7.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008915/0.0008915, allocations: 95.95 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.951e-05/5.971e-05, allocations: 7.984 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8639/0.864, allocations: 115.3 MB / 0.971 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.274/7.138, allocations: 2.121 GB / 3.092 GB, free: 341 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004947/7.139, allocations: 104.6 kB / 3.092 GB, free: 341 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4047/7.544, allocations: 162.8 MB / 3.251 GB, free: 225.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.225e-06/7.544, allocations: 0 / 3.251 GB, free: 225.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003128/7.544, allocations: 95.92 kB / 3.251 GB, free: 225.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.01283/7.557, allocations: 3.425 MB / 3.254 GB, free: 221.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/7.557, allocations: 12.03 kB / 3.254 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002594/7.559, allocations: 0.5553 MB / 3.255 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/7.571, allocations: 1.727 MB / 3.256 GB, free: 219.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006557/7.578, allocations: 2.211 MB / 3.259 GB, free: 217.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002919/7.578, allocations: 296 kB / 3.259 GB, free: 216.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002314/7.581, allocations: 388 kB / 3.259 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/7.601, allocations: 5.54 MB / 3.265 GB, free: 210.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001851/7.602, allocations: 7.938 kB / 3.265 GB, free: 210.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001577/7.603, allocations: 172 kB / 3.265 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002982/7.603, allocations: 190.9 kB / 3.265 GB, free: 210.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/7.622, allocations: 5.263 MB / 3.27 GB, free: 205.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0571/7.68, allocations: 22.85 MB / 3.293 GB, free: 180.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009292/7.689, allocations: 3.469 MB / 3.296 GB, free: 177.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004083/7.693, allocations: 1.59 MB / 3.297 GB, free: 175.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/7.694, allocations: 0.5112 MB / 3.298 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005111/7.699, allocations: 1.791 MB / 3.3 GB, free: 173.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=240): time 9.187e-06/7.7, allocations: 3.938 kB / 3.3 GB, free: 173.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=243): time 0.01824/7.718, allocations: 5.067 MB / 3.305 GB, free: 168.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/7.718, allocations: 437.2 kB / 3.305 GB, free: 167.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/7.721, allocations: 1.502 MB / 3.307 GB, free: 166.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007617/7.722, allocations: 69.98 kB / 3.307 GB, free: 166.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/7.723, allocations: 1.598 MB / 3.308 GB, free: 164.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001057/7.724, allocations: 0.8086 MB / 3.309 GB, free: 163.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/7.724, allocations: 56 kB / 3.309 GB, free: 163.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001638/7.725, allocations: 407.3 kB / 3.309 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/7.727, allocations: 1.298 MB / 3.311 GB, free: 162 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002649/7.73, allocations: 2.016 MB / 3.313 GB, free: 159.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/7.732, allocations: 1.592 MB / 3.314 GB, free: 158.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/7.732, allocations: 4 kB / 3.314 GB, free: 158.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.005869/7.738, allocations: 3.619 MB / 3.318 GB, free: 154.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001531/7.739, allocations: 7.135 MB / 3.325 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/7.739, allocations: 24 kB / 3.325 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.996e-05/7.74, allocations: 35.95 kB / 3.325 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004195/7.744, allocations: 0.7917 MB / 3.326 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.088e-05/7.744, allocations: 39.86 kB / 3.326 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/7.748, allocations: 386.1 kB / 3.326 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005927/7.748, allocations: 135.9 kB / 3.326 GB, free: 145.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/7.748, allocations: 7.938 kB / 3.326 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005415/7.754, allocations: 3.191 MB / 3.329 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/7.754, allocations: 16 kB / 3.329 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/7.754, allocations: 35.94 kB / 3.329 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003812/7.758, allocations: 0.7567 MB / 3.33 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-05/7.758, allocations: 43.86 kB / 3.33 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003566/7.761, allocations: 330.3 kB / 3.33 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004088/7.762, allocations: 139.9 kB / 3.33 GB, free: 141 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 336 * 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.0008371/7.762, allocations: 272.1 kB / 3.331 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007124/7.763, allocations: 229.2 kB / 3.331 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006788/7.77, allocations: 3.644 MB / 3.334 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/7.77, allocations: 28 kB / 3.335 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/7.77, allocations: 0 / 3.335 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.774e-05/7.77, allocations: 11.95 kB / 3.335 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/7.783, allocations: 8.156 MB / 3.343 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/7.783, allocations: 4 kB / 3.343 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003692/7.787, allocations: 0.714 MB / 3.343 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.208e-05/7.787, allocations: 11.95 kB / 3.343 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/7.787, allocations: 75.94 kB / 3.343 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.464e-05/7.787, allocations: 8 kB / 3.343 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/7.787, allocations: 7.938 kB / 3.343 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00517/7.793, allocations: 3.601 MB / 3.347 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/7.794, allocations: 0.7627 MB / 3.348 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005062/7.795, allocations: 48 kB / 3.348 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/7.798, allocations: 267.7 kB / 3.348 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/7.798, allocations: 157.7 kB / 3.348 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/7.798, allocations: 87.94 kB / 3.348 GB, free: 122.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00177/7.8, allocations: 1.224 MB / 3.349 GB, free: 121.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.41e-07/7.8, allocations: 0 / 3.349 GB, free: 121.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00472/7.805, allocations: 1.324 MB / 3.351 GB, free: 120 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 260 * 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.006206/7.811, allocations: 5.261 MB / 3.356 GB, free: 114.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0079/7.819, allocations: 4.989 MB / 3.361 GB, free: 109.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/7.819, allocations: 4 kB / 3.361 GB, free: 109.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002291/7.821, allocations: 1.581 MB / 3.362 GB, free: 108.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/7.824, allocations: 0.5068 MB / 3.363 GB, free: 107.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/7.838, allocations: 6.522 MB / 3.369 GB, free: 101 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001915/7.84, allocations: 2.536 MB / 3.371 GB, free: 98.48 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006047/7.846, allocations: 1.397 MB / 3.373 GB, free: 97.07 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002457/7.848, allocations: 1.432 MB / 3.374 GB, free: 95.64 MB / 0.948 GB Notification: Performance of SimCode: time 8.71e-07/7.848, allocations: 4 kB / 3.374 GB, free: 95.64 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/7.956, allocations: 65.92 MB / 3.439 GB, free: 30.03 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/7.957, allocations: 224.9 kB / 3.439 GB, free: 29.77 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.291/12.25, allocations: 2.656 kB / 3.439 GB, free: 29.77 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)