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.644/1.644, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001023/0.001023, allocations: 168.9 kB / 361.4 MB, free: 6.844 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.57/1.57, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008924/0.0008924, allocations: 96.53 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.158e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7767/0.7768, allocations: 115.3 MB / 0.9645 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.554/6.33, allocations: 2.12 GB / 3.084 GB, free: 38.94 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/6.331, allocations: 99.92 kB / 3.085 GB, free: 38.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.094/7.425, allocations: 162 MB / 3.243 GB, free: 270.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.635e-06/7.425, allocations: 0 / 3.243 GB, free: 270.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003808/7.425, allocations: 95.98 kB / 3.243 GB, free: 270.6 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.01217/7.438, allocations: 3.433 MB / 3.246 GB, free: 267.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/7.438, allocations: 8.031 kB / 3.246 GB, free: 267.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/7.45, allocations: 1.731 MB / 3.248 GB, free: 265.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007745/7.458, allocations: 2.199 MB / 3.25 GB, free: 263.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/7.458, allocations: 131.9 kB / 3.25 GB, free: 263 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002428/7.461, allocations: 228 kB / 3.25 GB, free: 262.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01232/7.473, allocations: 4.853 MB / 3.255 GB, free: 257.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/7.49, allocations: 4.99 MB / 3.26 GB, free: 252.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001953/7.49, allocations: 7.938 kB / 3.26 GB, free: 252.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001529/7.491, allocations: 4 kB / 3.26 GB, free: 252.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/7.492, allocations: 190.9 kB / 3.26 GB, free: 252.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03414/7.526, allocations: 21.95 MB / 3.282 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004643/7.53, allocations: 3.343 MB / 3.285 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/7.532, allocations: 1.528 MB / 3.286 GB, free: 224.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000719/7.533, allocations: 0.515 MB / 3.287 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002156/7.535, allocations: 1.709 MB / 3.289 GB, free: 222 MB / 0.948 GB Notification: Performance of pre-optimization done (n=240): time 4.107e-06/7.535, allocations: 0 / 3.289 GB, free: 222 MB / 0.948 GB Notification: Performance of matching and sorting (n=243): time 0.01313/7.548, allocations: 5.883 MB / 3.294 GB, free: 216.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/7.548, allocations: 437.2 kB / 3.295 GB, free: 215.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/7.55, allocations: 1.337 MB / 3.296 GB, free: 214.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003805/7.551, allocations: 25.7 kB / 3.296 GB, free: 214.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001505/7.552, allocations: 1.613 MB / 3.298 GB, free: 212.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009182/7.553, allocations: 0.7735 MB / 3.298 GB, free: 211.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/7.553, allocations: 0 / 3.298 GB, free: 211.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001502/7.554, allocations: 411.3 kB / 3.299 GB, free: 211.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/7.555, allocations: 1.247 MB / 3.3 GB, free: 210.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/7.557, allocations: 1.937 MB / 3.302 GB, free: 207.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007457/7.565, allocations: 2.502 MB / 3.304 GB, free: 205.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-05/7.565, allocations: 11.94 kB / 3.304 GB, free: 205.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01139/7.576, allocations: 4.337 MB / 3.309 GB, free: 201 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001272/7.577, allocations: 7.097 MB / 3.316 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/7.578, allocations: 24 kB / 3.316 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-05/7.578, allocations: 32 kB / 3.316 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003956/7.582, allocations: 0.7956 MB / 3.316 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.605e-05/7.582, allocations: 39.86 kB / 3.316 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003536/7.585, allocations: 330 kB / 3.317 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005142/7.586, allocations: 139.9 kB / 3.317 GB, free: 192.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/7.586, allocations: 6.031 kB / 3.317 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01081/7.597, allocations: 3.874 MB / 3.321 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.151e-05/7.597, allocations: 16 kB / 3.321 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/7.597, allocations: 36 kB / 3.321 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/7.6, allocations: 0.7529 MB / 3.321 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.334e-05/7.601, allocations: 47.8 kB / 3.322 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/7.604, allocations: 286.3 kB / 3.322 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006066/7.605, allocations: 131.9 kB / 3.322 GB, free: 187 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.001159/7.606, allocations: 178 kB / 3.322 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01144/7.617, allocations: 3.809 MB / 3.326 GB, free: 183 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/7.618, allocations: 225.3 kB / 3.326 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/7.631, allocations: 4.417 MB / 3.33 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/7.631, allocations: 24 kB / 3.33 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/7.631, allocations: 7.938 kB / 3.33 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.031e-05/7.631, allocations: 11.95 kB / 3.33 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/7.65, allocations: 8.212 MB / 3.338 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/7.651, allocations: 4 kB / 3.338 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003894/7.654, allocations: 0.7062 MB / 3.339 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.575e-05/7.655, allocations: 12 kB / 3.339 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005247/7.655, allocations: 43.89 kB / 3.339 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-05/7.655, allocations: 12 kB / 3.339 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/7.655, allocations: 11.94 kB / 3.339 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/7.667, allocations: 4.407 MB / 3.343 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/7.669, allocations: 0.7433 MB / 3.344 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/7.67, allocations: 8 kB / 3.344 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003368/7.674, allocations: 227.7 kB / 3.344 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004112/7.674, allocations: 157.7 kB / 3.345 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003434/7.674, allocations: 91.94 kB / 3.345 GB, free: 163.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003115/7.677, allocations: 1.065 MB / 3.346 GB, free: 162.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/7.677, allocations: 0 / 3.346 GB, free: 162.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006217/7.684, allocations: 1.175 MB / 3.347 GB, free: 161.2 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.01492/7.699, allocations: 5.996 MB / 3.353 GB, free: 155.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00865/7.707, allocations: 4.766 MB / 3.357 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/7.707, allocations: 4 kB / 3.357 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002502/7.71, allocations: 1.523 MB / 3.359 GB, free: 148.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/7.714, allocations: 478.5 kB / 3.359 GB, free: 148.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01997/7.734, allocations: 6.28 MB / 3.365 GB, free: 142 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/7.736, allocations: 2.527 MB / 3.368 GB, free: 139.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006745/7.743, allocations: 1.381 MB / 3.369 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002677/7.746, allocations: 1.44 MB / 3.371 GB, free: 136.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.653e-06/7.746, allocations: 4 kB / 3.371 GB, free: 136.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/7.873, allocations: 62.89 MB / 3.432 GB, free: 73.91 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/7.873, allocations: 218.5 kB / 3.432 GB, free: 73.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.603/11.48, allocations: 0 / 3.432 GB, free: 73.62 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)