Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 183.5 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009485/0.0009484, allocations: 98.02 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.905e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1991, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.343/5.542, allocations: 2.238 GB / 3.124 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/5.542, allocations: 99.94 kB / 3.124 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8097/6.352, allocations: 184.7 MB / 3.304 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.873e-06/6.352, allocations: 0 / 3.304 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002827/6.352, allocations: 101.8 kB / 3.304 GB, free: 222.3 MB / 0.8698 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.009518/6.362, allocations: 3.647 MB / 3.308 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/6.362, allocations: 9.344 kB / 3.308 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/6.374, allocations: 1.802 MB / 3.31 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005385/6.379, allocations: 2.406 MB / 3.312 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/6.379, allocations: 137.5 kB / 3.312 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/6.38, allocations: 245.1 kB / 3.312 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01106/6.392, allocations: 5.159 MB / 3.317 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/6.406, allocations: 5.404 MB / 3.323 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.522e-05/6.406, allocations: 11.5 kB / 3.323 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004392/6.406, allocations: 8.641 kB / 3.323 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/6.406, allocations: 218.7 kB / 3.323 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0293/6.436, allocations: 25.17 MB / 3.348 GB, free: 207 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0048/6.441, allocations: 3.63 MB / 3.351 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/6.443, allocations: 1.753 MB / 3.353 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006529/6.443, allocations: 0.513 MB / 3.353 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002966/6.446, allocations: 1.91 MB / 3.355 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=254): time 5.79e-06/6.446, allocations: 0 / 3.355 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=257): time 0.01428/6.461, allocations: 6.399 MB / 3.361 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/6.461, allocations: 446.3 kB / 3.362 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/6.462, allocations: 1.387 MB / 3.363 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004145/6.463, allocations: 28.7 kB / 3.363 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/6.464, allocations: 1.721 MB / 3.365 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009078/6.465, allocations: 0.8176 MB / 3.366 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/6.465, allocations: 0 / 3.366 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001411/6.466, allocations: 416.1 kB / 3.366 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/6.467, allocations: 1.356 MB / 3.367 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/6.469, allocations: 2.061 MB / 3.369 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006651/6.476, allocations: 2.601 MB / 3.372 GB, free: 199 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/6.476, allocations: 11.64 kB / 3.372 GB, free: 199 MB / 0.8698 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01077/6.487, allocations: 4.586 MB / 3.376 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001557/6.489, allocations: 6.79 MB / 3.383 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/6.489, allocations: 14 kB / 3.383 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.872e-05/6.489, allocations: 32.5 kB / 3.383 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/6.493, allocations: 0.8315 MB / 3.384 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-05/6.493, allocations: 43.66 kB / 3.384 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/6.496, allocations: 336.9 kB / 3.384 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003273/6.496, allocations: 140.2 kB / 3.384 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/6.496, allocations: 3.625 kB / 3.384 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009275/6.506, allocations: 4.013 MB / 3.388 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/6.506, allocations: 15.5 kB / 3.388 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/6.506, allocations: 39.97 kB / 3.388 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003636/6.51, allocations: 0.775 MB / 3.389 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.514e-05/6.51, allocations: 41.38 kB / 3.389 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/6.513, allocations: 297.2 kB / 3.389 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/6.513, allocations: 132.5 kB / 3.39 GB, free: 188.8 MB / 0.8698 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 () * 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.000722/6.514, allocations: 179.2 kB / 3.39 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009204/6.523, allocations: 4.164 MB / 3.394 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004725/6.524, allocations: 236 kB / 3.394 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/6.535, allocations: 4.79 MB / 3.399 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/6.535, allocations: 32.8 kB / 3.399 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/6.535, allocations: 3.719 kB / 3.399 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.753e-05/6.535, allocations: 14.48 kB / 3.399 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/6.55, allocations: 8.982 MB / 3.408 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/6.551, allocations: 0 / 3.408 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00368/6.554, allocations: 0.7752 MB / 3.408 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.626e-05/6.554, allocations: 19.12 kB / 3.408 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/6.554, allocations: 38.08 kB / 3.408 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/6.554, allocations: 19.09 kB / 3.408 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/6.554, allocations: 7.766 kB / 3.408 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00916/6.564, allocations: 4.764 MB / 3.413 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/6.565, allocations: 0.8069 MB / 3.414 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005245/6.566, allocations: 3.562 kB / 3.414 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002749/6.568, allocations: 248.3 kB / 3.414 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/6.569, allocations: 162.3 kB / 3.414 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/6.569, allocations: 94.11 kB / 3.414 GB, free: 179 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001394/6.57, allocations: 1.121 MB / 3.415 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.082e-06/6.57, allocations: 0 / 3.415 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004356/6.575, allocations: 1.255 MB / 3.417 GB, free: 178.4 MB / 0.8698 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 (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.01116/6.586, allocations: 6.358 MB / 3.423 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00697/6.593, allocations: 5.143 MB / 3.428 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/6.593, allocations: 3.812 kB / 3.428 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002097/6.595, allocations: 1.705 MB / 3.43 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/6.598, allocations: 0.5276 MB / 3.43 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/6.61, allocations: 6.89 MB / 3.437 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/6.612, allocations: 2.699 MB / 3.439 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005577/6.618, allocations: 1.397 MB / 3.441 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/6.62, allocations: 1.574 MB / 3.442 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/6.62, allocations: 0 / 3.442 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09102/6.711, allocations: 67.87 MB / 3.509 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/6.711, allocations: 201.4 kB / 3.509 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.528/10.24, allocations: 4 kB / 3.509 GB, free: 108.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)