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.693/1.693, allocations: 288.2 MB / 303.2 MB, free: 8.059 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.001464/0.001464, allocations: 173.1 kB / 371.8 MB, free: 10.3 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.659/1.659, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0008909/0.0008908, allocations: 106.8 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004799, allocations: 19.7 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2533, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.02092/0.2743, allocations: 22.89 MB / 1.002 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8224/1.097, allocations: 133.8 MB / 1.133 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003204/1.1, allocations: 65.16 kB / 1.133 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/1.102, allocations: 442.5 kB / 1.133 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006202/1.108, allocations: 1.321 MB / 1.134 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007581/1.116, allocations: 1.842 MB / 1.136 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007686/1.124, allocations: 3.209 MB / 1.139 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01242/1.136, allocations: 6.916 MB / 1.146 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004124/1.14, allocations: 1.579 MB / 1.148 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005172/1.146, allocations: 1.785 MB / 1.149 GB, free: 15.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001811/1.147, allocations: 198 kB / 1.149 GB, free: 15.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/1.151, allocations: 0.5738 MB / 1.15 GB, free: 15.44 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002793/1.154, allocations: 1.395 MB / 1.151 GB, free: 14.61 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002143/1.156, allocations: 0.8658 MB / 1.152 GB, free: 14.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/1.166, allocations: 7.216 MB / 1.159 GB, free: 8.621 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.166, allocations: 1.688 kB / 1.159 GB, free: 8.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.086e-06/1.166, allocations: 0 / 1.159 GB, free: 8.621 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003449/1.167, allocations: 0 / 1.159 GB, free: 8.621 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1228 * Number of variables: 1228 Notification: Performance of Generate backend data structure: time 0.0137/1.18, allocations: 4.004 MB / 1.163 GB, free: 5.891 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/1.18, allocations: 12.28 kB / 1.163 GB, free: 5.887 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002672/1.183, allocations: 0.6498 MB / 1.164 GB, free: 5.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/1.196, allocations: 2.074 MB / 1.166 GB, free: 4.484 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006685/1.203, allocations: 2.515 MB / 1.168 GB, free: 2.691 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003286/1.203, allocations: 349 kB / 1.169 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/1.205, allocations: 459 kB / 1.169 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01713/1.222, allocations: 7.05 MB / 1.176 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/1.222, allocations: 14.2 kB / 1.176 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005647/1.222, allocations: 198.5 kB / 1.176 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002715/1.223, allocations: 261.2 kB / 1.176 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/1.241, allocations: 6.883 MB / 1.183 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0479/1.288, allocations: 26.97 MB / 1.209 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/1.299, allocations: 4.276 MB / 1.214 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008795/1.3, allocations: 0.523 MB / 1.214 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004996/1.305, allocations: 2.232 MB / 1.216 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=254): time 4.829e-06/1.305, allocations: 0 / 1.216 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=257): time 0.01872/1.324, allocations: 7.912 MB / 1.224 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000229/1.324, allocations: 397.9 kB / 1.224 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/1.327, allocations: 1.781 MB / 1.226 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003455/1.327, allocations: 77.7 kB / 1.226 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001885/1.329, allocations: 1.829 MB / 1.228 GB, free: 8.828 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009259/1.33, allocations: 0.8587 MB / 1.229 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/1.33, allocations: 56 kB / 1.229 GB, free: 7.902 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002167/1.33, allocations: 407.5 kB / 1.229 GB, free: 7.5 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004107/1.334, allocations: 1.661 MB / 1.231 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004533/1.339, allocations: 2.367 MB / 1.233 GB, free: 3.176 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/1.343, allocations: 1.943 MB / 1.235 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/1.343, allocations: 8 kB / 1.235 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.009989/1.353, allocations: 4.378 MB / 1.239 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002984/1.356, allocations: 6.949 MB / 1.246 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-05/1.356, allocations: 16 kB / 1.246 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.602e-05/1.356, allocations: 35.94 kB / 1.246 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004472/1.361, allocations: 0.8307 MB / 1.247 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-05/1.361, allocations: 43.86 kB / 1.247 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/1.365, allocations: 397 kB / 1.248 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003295/1.365, allocations: 135.9 kB / 1.248 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.365, allocations: 4 kB / 1.248 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009545/1.375, allocations: 3.84 MB / 1.251 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.241e-05/1.375, allocations: 16 kB / 1.251 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.246e-05/1.375, allocations: 36.84 kB / 1.251 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003925/1.379, allocations: 0.78 MB / 1.252 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.262e-05/1.379, allocations: 51.84 kB / 1.252 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003417/1.382, allocations: 342.2 kB / 1.253 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003862/1.383, allocations: 139.9 kB / 1.253 GB, free: 14.52 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (347): * Single equations (assignments): 347 * 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.003648/1.386, allocations: 1.347 MB / 1.254 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009461/1.387, allocations: 249 kB / 1.254 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/1.4, allocations: 4.533 MB / 1.259 GB, free: 8.316 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-05/1.4, allocations: 28 kB / 1.259 GB, free: 8.289 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/1.4, allocations: 0 / 1.259 GB, free: 8.289 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-05/1.4, allocations: 11.95 kB / 1.259 GB, free: 8.277 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02311/1.423, allocations: 9.638 MB / 1.268 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.423, allocations: 0 / 1.268 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004088/1.427, allocations: 0.7802 MB / 1.269 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.391e-05/1.427, allocations: 16 kB / 1.269 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003205/1.428, allocations: 67.94 kB / 1.269 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.29e-05/1.428, allocations: 12 kB / 1.269 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/1.428, allocations: 7.938 kB / 1.269 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/1.438, allocations: 4.473 MB / 1.273 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002519/1.441, allocations: 0.8248 MB / 1.274 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.442, allocations: 48 kB / 1.274 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003489/1.445, allocations: 295.6 kB / 1.275 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004161/1.446, allocations: 161.8 kB / 1.275 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003231/1.446, allocations: 91.94 kB / 1.275 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003049/1.449, allocations: 1.295 MB / 1.276 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.51e-07/1.449, allocations: 0 / 1.276 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.006975/1.456, allocations: 1.34 MB / 1.277 GB, free: 4.875 MB / 0.8073 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.01358/1.47, allocations: 6.114 MB / 1.283 GB, free: 14.77 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01632/1.486, allocations: 6.078 MB / 1.289 GB, free: 8.66 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.486, allocations: 0 / 1.289 GB, free: 8.66 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005303/1.491, allocations: 2.008 MB / 1.291 GB, free: 6.648 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004264/1.496, allocations: 0.5915 MB / 1.292 GB, free: 6.062 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06541/1.561, allocations: 33.83 MB / 1.325 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005471/1.567, allocations: 2.773 MB / 1.328 GB, free: 36 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.008834/1.576, allocations: 1.27 MB / 1.329 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00386/1.58, allocations: 1.718 MB / 1.33 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of SimCode: time 1.232e-06/1.58, allocations: 4 kB / 1.33 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/1.706, allocations: 68.82 MB / 1.398 GB, free: 8.57 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/1.706, allocations: 263.2 kB / 1.398 GB, free: 8.215 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.24/5.946, allocations: 6.672 kB / 1.398 GB, free: 8.211 MB / 0.9323 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)