Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.468/2.468, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001657/0.001657, allocations: 180.8 kB / 360.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001147/0.001146, allocations: 96.33 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.354e-05/4.399e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8719/0.872, allocations: 115.3 MB / 0.9634 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.043/7.915, allocations: 2.12 GB / 3.083 GB, free: 277.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000452/7.915, allocations: 104.1 kB / 3.083 GB, free: 277.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6515/8.567, allocations: 162.1 MB / 3.242 GB, free: 213.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.265e-06/8.567, allocations: 0 / 3.242 GB, free: 213.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003222/8.567, allocations: 95.92 kB / 3.242 GB, free: 213.1 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.01364/8.581, allocations: 3.421 MB / 3.245 GB, free: 209.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/8.581, allocations: 16.02 kB / 3.245 GB, free: 209.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01942/8.6, allocations: 1.723 MB / 3.247 GB, free: 207.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007646/8.608, allocations: 2.207 MB / 3.249 GB, free: 205.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/8.608, allocations: 128 kB / 3.249 GB, free: 205.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/8.61, allocations: 228.3 kB / 3.249 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01565/8.626, allocations: 4.861 MB / 3.254 GB, free: 200.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/8.643, allocations: 4.974 MB / 3.259 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/8.643, allocations: 7.938 kB / 3.259 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009271/8.644, allocations: 4 kB / 3.259 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002605/8.645, allocations: 194.9 kB / 3.259 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04807/8.693, allocations: 21.95 MB / 3.281 GB, free: 171.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00847/8.701, allocations: 3.337 MB / 3.284 GB, free: 168.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003752/8.705, allocations: 1.532 MB / 3.285 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/8.706, allocations: 0.5111 MB / 3.286 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00438/8.711, allocations: 1.709 MB / 3.287 GB, free: 164.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=240): time 6.693e-06/8.711, allocations: 0 / 3.287 GB, free: 164.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=243): time 0.02206/8.733, allocations: 5.879 MB / 3.293 GB, free: 158.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/8.733, allocations: 449.2 kB / 3.294 GB, free: 158 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/8.736, allocations: 1.337 MB / 3.295 GB, free: 156.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008148/8.737, allocations: 25.7 kB / 3.295 GB, free: 156.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001789/8.738, allocations: 1.605 MB / 3.297 GB, free: 155 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001366/8.74, allocations: 0.7736 MB / 3.297 GB, free: 154.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/8.74, allocations: 288 / 3.297 GB, free: 154.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001865/8.74, allocations: 419.3 kB / 3.298 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003079/8.743, allocations: 1.247 MB / 3.299 GB, free: 152.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003759/8.747, allocations: 1.937 MB / 3.301 GB, free: 150.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/8.761, allocations: 2.497 MB / 3.303 GB, free: 147.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-05/8.761, allocations: 8 kB / 3.303 GB, free: 147.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01987/8.781, allocations: 4.338 MB / 3.307 GB, free: 143.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001456/8.782, allocations: 7.102 MB / 3.314 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-05/8.782, allocations: 20 kB / 3.314 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.476e-05/8.782, allocations: 32 kB / 3.314 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008232/8.791, allocations: 0.7995 MB / 3.315 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.896e-05/8.791, allocations: 43.81 kB / 3.315 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006081/8.797, allocations: 326.1 kB / 3.316 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008459/8.798, allocations: 139.8 kB / 3.316 GB, free: 134.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/8.798, allocations: 0 / 3.316 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01889/8.817, allocations: 3.873 MB / 3.319 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.356e-05/8.817, allocations: 20 kB / 3.32 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.828e-05/8.817, allocations: 43.88 kB / 3.32 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007656/8.824, allocations: 0.7493 MB / 3.32 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.056e-05/8.825, allocations: 43.86 kB / 3.32 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007463/8.832, allocations: 282.3 kB / 3.321 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/8.833, allocations: 131.9 kB / 3.321 GB, free: 129.4 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.002238/8.836, allocations: 180 kB / 3.321 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03002/8.866, allocations: 3.821 MB / 3.325 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001769/8.868, allocations: 217.4 kB / 3.325 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03474/8.902, allocations: 4.408 MB / 3.329 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.664e-05/8.903, allocations: 27.98 kB / 3.329 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.071e-05/8.903, allocations: 4 kB / 3.329 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/8.903, allocations: 15.94 kB / 3.329 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04035/8.943, allocations: 8.215 MB / 3.337 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/8.943, allocations: 4 kB / 3.337 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007566/8.951, allocations: 0.714 MB / 3.338 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.892e-05/8.951, allocations: 15.95 kB / 3.338 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007031/8.952, allocations: 43.94 kB / 3.338 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.789e-05/8.952, allocations: 12 kB / 3.338 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/8.952, allocations: 4 kB / 3.338 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/8.97, allocations: 4.407 MB / 3.342 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002687/8.972, allocations: 0.751 MB / 3.343 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009207/8.973, allocations: 12 kB / 3.343 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005486/8.979, allocations: 227.7 kB / 3.343 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007545/8.98, allocations: 157.7 kB / 3.343 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004256/8.98, allocations: 95.94 kB / 3.343 GB, free: 105.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002431/8.983, allocations: 1.061 MB / 3.345 GB, free: 104.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/8.983, allocations: 0 / 3.345 GB, free: 104.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008423/8.991, allocations: 1.172 MB / 3.346 GB, free: 103.6 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.01982/9.011, allocations: 5.996 MB / 3.352 GB, free: 97.56 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01188/9.023, allocations: 4.766 MB / 3.356 GB, free: 92.79 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/9.023, allocations: 0.6875 kB / 3.356 GB, free: 92.79 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003685/9.027, allocations: 1.526 MB / 3.358 GB, free: 91.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004701/9.031, allocations: 470.7 kB / 3.358 GB, free: 90.81 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/9.053, allocations: 6.293 MB / 3.364 GB, free: 84.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004228/9.057, allocations: 2.524 MB / 3.367 GB, free: 81.89 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01177/9.069, allocations: 1.384 MB / 3.368 GB, free: 80.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00438/9.073, allocations: 1.436 MB / 3.369 GB, free: 79.07 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/9.073, allocations: 0 / 3.369 GB, free: 79.07 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1896/9.263, allocations: 62.88 MB / 3.431 GB, free: 16.26 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/9.263, allocations: 203.5 kB / 3.431 GB, free: 16 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.066/14.33, allocations: 0 / 3.431 GB, free: 16 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)