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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",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.701/1.701, allocations: 288.2 MB / 303.2 MB, free: 8.07 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.00113/0.001131, allocations: 186.2 kB / 371.8 MB, free: 10.27 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.528/1.528, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008515/0.0008515, allocations: 91.42 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003847, allocations: 19.27 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2257, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.879/6.105, allocations: 2.12 GB / 3.1 GB, free: 145.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005111/6.106, allocations: 114 kB / 3.1 GB, free: 145.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.197/7.303, allocations: 186.3 MB / 3.282 GB, free: 257 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.839e-06/7.303, allocations: 0 / 3.282 GB, free: 257 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009535/7.304, allocations: 98.03 kB / 3.282 GB, free: 257 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: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.02092/7.325, allocations: 3.94 MB / 3.286 GB, free: 255.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/7.325, allocations: 8.906 kB / 3.286 GB, free: 255.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004235/7.329, allocations: 0.599 MB / 3.286 GB, free: 255.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/7.345, allocations: 1.813 MB / 3.288 GB, free: 254.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/7.356, allocations: 2.405 MB / 3.29 GB, free: 254.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007933/7.357, allocations: 321.5 kB / 3.291 GB, free: 254.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003361/7.36, allocations: 419.9 kB / 3.291 GB, free: 254.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03183/7.392, allocations: 6.451 MB / 3.297 GB, free: 253.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007099/7.393, allocations: 13.03 kB / 3.297 GB, free: 253.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0039/7.397, allocations: 182.8 kB / 3.298 GB, free: 253.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005632/7.397, allocations: 216.1 kB / 3.298 GB, free: 253.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0243/7.422, allocations: 6.466 MB / 3.304 GB, free: 253.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05504/7.477, allocations: 26.19 MB / 3.33 GB, free: 241.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/7.488, allocations: 4.276 MB / 3.334 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00097/7.489, allocations: 0.5199 MB / 3.334 GB, free: 239.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00587/7.495, allocations: 2.22 MB / 3.337 GB, free: 239.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 1.035e-05/7.495, allocations: 0 / 3.337 GB, free: 239.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.02314/7.518, allocations: 7.714 MB / 3.344 GB, free: 235.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002482/7.519, allocations: 452.8 kB / 3.345 GB, free: 234.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/7.522, allocations: 1.578 MB / 3.346 GB, free: 234.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001141/7.523, allocations: 75.73 kB / 3.346 GB, free: 234.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002298/7.526, allocations: 1.712 MB / 3.348 GB, free: 232.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/7.527, allocations: 0.8608 MB / 3.349 GB, free: 232.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/7.528, allocations: 55.25 kB / 3.349 GB, free: 232.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000186/7.528, allocations: 411.6 kB / 3.349 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003812/7.532, allocations: 1.662 MB / 3.351 GB, free: 231.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004238/7.536, allocations: 2.372 MB / 3.353 GB, free: 229.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004003/7.54, allocations: 1.942 MB / 3.355 GB, free: 228.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/7.54, allocations: 3.969 kB / 3.355 GB, free: 228.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.00958/7.549, allocations: 4.362 MB / 3.359 GB, free: 227.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001987/7.552, allocations: 6.836 MB / 3.366 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/7.552, allocations: 16.28 kB / 3.366 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-05/7.552, allocations: 33.19 kB / 3.366 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004429/7.556, allocations: 0.8326 MB / 3.367 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-05/7.556, allocations: 44.03 kB / 3.367 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004141/7.56, allocations: 402.8 kB / 3.367 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004287/7.561, allocations: 141.5 kB / 3.367 GB, free: 219.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/7.561, allocations: 5.531 kB / 3.367 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008711/7.569, allocations: 3.819 MB / 3.371 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.338e-05/7.57, allocations: 23.84 kB / 3.371 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.778e-05/7.57, allocations: 31.12 kB / 3.371 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004009/7.574, allocations: 0.7818 MB / 3.372 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.732e-05/7.574, allocations: 42.06 kB / 3.372 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/7.578, allocations: 349.1 kB / 3.372 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004063/7.578, allocations: 134.7 kB / 3.372 GB, free: 218.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (346): * Single equations (assignments): 346 * 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.004097/7.582, allocations: 1.315 MB / 3.374 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/7.583, allocations: 246.3 kB / 3.374 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/7.595, allocations: 4.523 MB / 3.378 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-05/7.595, allocations: 27.5 kB / 3.378 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/7.595, allocations: 0 / 3.378 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-05/7.595, allocations: 15.66 kB / 3.378 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/7.615, allocations: 9.489 MB / 3.388 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/7.615, allocations: 192 / 3.388 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003974/7.619, allocations: 0.7836 MB / 3.388 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.901e-05/7.619, allocations: 14.47 kB / 3.388 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002743/7.619, allocations: 72.52 kB / 3.388 GB, free: 211.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.5e-05/7.619, allocations: 10.06 kB / 3.388 GB, free: 211.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/7.619, allocations: 11.69 kB / 3.388 GB, free: 211.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008744/7.628, allocations: 4.453 MB / 3.393 GB, free: 209.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002259/7.63, allocations: 0.8219 MB / 3.394 GB, free: 208.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000583/7.631, allocations: 53.81 kB / 3.394 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002948/7.634, allocations: 287.5 kB / 3.394 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/7.634, allocations: 165.1 kB / 3.394 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/7.634, allocations: 97.75 kB / 3.394 GB, free: 208.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001984/7.636, allocations: 1.3 MB / 3.395 GB, free: 208 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.71e-07/7.636, allocations: 0 / 3.395 GB, free: 208 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006/7.642, allocations: 1.402 MB / 3.397 GB, free: 207.8 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 274 * 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.01077/7.653, allocations: 6.143 MB / 3.403 GB, free: 204.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01308/7.666, allocations: 6.064 MB / 3.409 GB, free: 199.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/7.666, allocations: 0 / 3.409 GB, free: 199.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004084/7.67, allocations: 2.008 MB / 3.411 GB, free: 198.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/7.674, allocations: 0.5711 MB / 3.411 GB, free: 197.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04619/7.72, allocations: 33.03 MB / 3.444 GB, free: 165.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002267/7.722, allocations: 2.695 MB / 3.446 GB, free: 163.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00596/7.728, allocations: 1.274 MB / 3.447 GB, free: 162.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00273/7.731, allocations: 1.6 MB / 3.449 GB, free: 161.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.126e-05/7.731, allocations: 0 / 3.449 GB, free: 161.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/7.836, allocations: 68.19 MB / 3.516 GB, free: 95.57 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/7.837, allocations: 251.9 kB / 3.516 GB, free: 95.24 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.865/11.7, allocations: 0 / 3.516 GB, free: 95.24 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)