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.776/1.776, allocations: 288.2 MB / 303.2 MB, free: 8.18 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: 195.3 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.676/1.676, allocations: 205.4 MB / 0.6305 GB, free: 9.91 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.001101/0.001101, allocations: 101.1 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004599, allocations: 15.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2574, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.026/6.284, allocations: 2.121 GB / 3.1 GB, free: 187.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/6.284, allocations: 111.9 kB / 3.1 GB, free: 187.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.359/6.643, allocations: 163.5 MB / 3.26 GB, free: 22.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.606e-06/6.643, allocations: 0 / 3.26 GB, free: 22.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004256/6.643, allocations: 95.92 kB / 3.26 GB, free: 22.83 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.01416/6.658, allocations: 3.7 MB / 3.264 GB, free: 19.06 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/6.658, allocations: 12.03 kB / 3.264 GB, free: 19.05 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003033/6.661, allocations: 0.5514 MB / 3.264 GB, free: 18.49 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/6.673, allocations: 1.735 MB / 3.266 GB, free: 16.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007246/6.68, allocations: 2.218 MB / 3.268 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003326/6.681, allocations: 296 kB / 3.268 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002083/6.683, allocations: 388 kB / 3.269 GB, free: 13.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/6.703, allocations: 5.98 MB / 3.275 GB, free: 7.637 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002465/6.703, allocations: 7.938 kB / 3.275 GB, free: 7.629 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001913/6.705, allocations: 176 kB / 3.275 GB, free: 7.457 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002429/6.705, allocations: 190.9 kB / 3.275 GB, free: 7.27 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01753/6.723, allocations: 6.093 MB / 3.281 GB, free: 1.168 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5552/7.278, allocations: 22.83 MB / 3.303 GB, free: 247 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/7.289, allocations: 3.996 MB / 3.307 GB, free: 246.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008024/7.289, allocations: 0.5135 MB / 3.308 GB, free: 246.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004794/7.294, allocations: 2.023 MB / 3.31 GB, free: 246.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=240): time 5.07e-06/7.294, allocations: 0 / 3.31 GB, free: 246.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=243): time 0.01585/7.31, allocations: 7.008 MB / 3.316 GB, free: 244.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/7.31, allocations: 442 kB / 3.317 GB, free: 244 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/7.313, allocations: 1.524 MB / 3.318 GB, free: 243.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005135/7.314, allocations: 69.73 kB / 3.318 GB, free: 243.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/7.315, allocations: 1.597 MB / 3.32 GB, free: 243.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009785/7.316, allocations: 0.8075 MB / 3.321 GB, free: 242.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/7.316, allocations: 57.62 kB / 3.321 GB, free: 242.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001521/7.317, allocations: 411.8 kB / 3.321 GB, free: 242.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004008/7.321, allocations: 1.54 MB / 3.323 GB, free: 242.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004031/7.325, allocations: 2.269 MB / 3.325 GB, free: 241.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003911/7.329, allocations: 1.826 MB / 3.327 GB, free: 241.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/7.329, allocations: 3.969 kB / 3.327 GB, free: 241.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.00999/7.339, allocations: 4.117 MB / 3.331 GB, free: 241.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001532/7.34, allocations: 7.14 MB / 3.338 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.491e-05/7.34, allocations: 17.56 kB / 3.338 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.579e-05/7.34, allocations: 32.88 kB / 3.338 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004977/7.345, allocations: 0.8 MB / 3.339 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-05/7.345, allocations: 43.34 kB / 3.339 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004454/7.35, allocations: 378.8 kB / 3.339 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008116/7.351, allocations: 137.8 kB / 3.339 GB, free: 234.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/7.351, allocations: 6.094 kB / 3.339 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01127/7.362, allocations: 3.684 MB / 3.343 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.048e-05/7.362, allocations: 20.03 kB / 3.343 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.451e-05/7.362, allocations: 34.16 kB / 3.343 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004357/7.367, allocations: 0.7521 MB / 3.343 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.555e-05/7.367, allocations: 45.86 kB / 3.344 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003791/7.37, allocations: 342.1 kB / 3.344 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007051/7.371, allocations: 135.1 kB / 3.344 GB, free: 234 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 () * Number of clocked 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.003515/7.375, allocations: 1.238 MB / 3.345 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/7.376, allocations: 233.8 kB / 3.345 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/7.389, allocations: 4.125 MB / 3.349 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/7.39, allocations: 29.81 kB / 3.349 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/7.39, allocations: 0 / 3.349 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.455e-05/7.39, allocations: 18.59 kB / 3.349 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02083/7.41, allocations: 8.616 MB / 3.358 GB, free: 229.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/7.41, allocations: 3.656 kB / 3.358 GB, free: 229.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004037/7.415, allocations: 0.712 MB / 3.359 GB, free: 229.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.753e-05/7.415, allocations: 15.06 kB / 3.359 GB, free: 229.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005434/7.415, allocations: 72.17 kB / 3.359 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.198e-05/7.415, allocations: 17.34 kB / 3.359 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/7.415, allocations: 0 / 3.359 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009517/7.425, allocations: 4.082 MB / 3.363 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002388/7.427, allocations: 0.7625 MB / 3.363 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/7.428, allocations: 49.91 kB / 3.363 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003684/7.432, allocations: 271.1 kB / 3.364 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005923/7.433, allocations: 154.3 kB / 3.364 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005416/7.433, allocations: 95.44 kB / 3.364 GB, free: 226.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003681/7.437, allocations: 1.238 MB / 3.365 GB, free: 225.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/7.437, allocations: 0 / 3.365 GB, free: 225.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0102/7.447, allocations: 1.323 MB / 3.366 GB, free: 225.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 (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.01263/7.46, allocations: 5.761 MB / 3.372 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01487/7.475, allocations: 5.671 MB / 3.378 GB, free: 220.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/7.475, allocations: 5.656 kB / 3.378 GB, free: 220.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004559/7.479, allocations: 1.82 MB / 3.379 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/7.483, allocations: 0.5233 MB / 3.38 GB, free: 220.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0535/7.537, allocations: 32 MB / 3.411 GB, free: 197.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004141/7.541, allocations: 2.528 MB / 3.414 GB, free: 196.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008417/7.549, allocations: 1.256 MB / 3.415 GB, free: 195.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003704/7.553, allocations: 1.462 MB / 3.416 GB, free: 194.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.923e-06/7.553, allocations: 0 / 3.416 GB, free: 194.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/7.658, allocations: 63.2 MB / 3.478 GB, free: 166.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/7.659, allocations: 266.8 kB / 3.478 GB, free: 166.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.538/11.2, allocations: 0 / 3.478 GB, free: 166.4 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)