Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_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.554/1.554, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 179.5 kB / 326.5 MB, free: 2.242 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.834/1.834, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0008186/0.0008188, allocations: 79.75 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.000325, allocations: 9.094 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1875, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.009519/0.197, allocations: 9.502 MB / 0.9094 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1426/0.3397, allocations: 129.7 MB / 1.036 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.3411, allocations: 27.88 kB / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006687/0.3418, allocations: 174.4 kB / 1.036 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.3445, allocations: 0.8007 MB / 1.037 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.3476, allocations: 1.124 MB / 1.038 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002791/0.3504, allocations: 1.678 MB / 1.04 GB, free: 464 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003468/0.3539, allocations: 2.286 MB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.3554, allocations: 0.8128 MB / 1.043 GB, free: 13.28 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.3568, allocations: 0.8705 MB / 1.044 GB, free: 12.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.357, allocations: 64 kB / 1.044 GB, free: 12.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.358, allocations: 391.5 kB / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004477/0.3585, allocations: 462.1 kB / 1.045 GB, free: 11.51 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005711/0.3591, allocations: 452.3 kB / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.3627, allocations: 3.148 MB / 1.048 GB, free: 7.902 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3627, allocations: 4 kB / 1.048 GB, free: 7.898 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.256e-06/0.3627, allocations: 3.938 kB / 1.048 GB, free: 7.895 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001222/0.3629, allocations: 0 / 1.048 GB, free: 7.895 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: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.005373/0.3682, allocations: 2.375 MB / 1.05 GB, free: 5.457 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3683, allocations: 8.031 kB / 1.05 GB, free: 5.449 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004642/0.3688, allocations: 350.6 kB / 1.051 GB, free: 5.098 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.3794, allocations: 1.674 MB / 1.052 GB, free: 3.418 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/0.3821, allocations: 1.412 MB / 1.054 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.3823, allocations: 185 kB / 1.054 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004662/0.3828, allocations: 248 kB / 1.054 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3988/0.7816, allocations: 3.396 MB / 1.057 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-05/0.7817, allocations: 4.125 kB / 1.057 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002962/0.782, allocations: 105.9 kB / 1.058 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.7821, allocations: 124.1 kB / 1.058 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.7956, allocations: 3.921 MB / 1.062 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02325/0.8189, allocations: 10.04 MB / 1.071 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.831, allocations: 2.698 MB / 1.074 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000926/0.832, allocations: 0.5889 MB / 1.075 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005026/0.837, allocations: 1.508 MB / 1.076 GB, free: 144.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 5.129e-06/0.837, allocations: 0 / 1.076 GB, free: 144.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.01158/0.8486, allocations: 4.271 MB / 1.08 GB, free: 142.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.8488, allocations: 257.2 kB / 1.08 GB, free: 142.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.8503, allocations: 1.083 MB / 1.082 GB, free: 141.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002486/0.8506, allocations: 59.48 kB / 1.082 GB, free: 141.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007243/0.8513, allocations: 0.9403 MB / 1.082 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005983/0.8519, allocations: 0.6349 MB / 1.083 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.8521, allocations: 38.78 kB / 1.083 GB, free: 140.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.8522, allocations: 386.8 kB / 1.084 GB, free: 139.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002947/0.8552, allocations: 1.049 MB / 1.085 GB, free: 139.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002981/0.8581, allocations: 1.376 MB / 1.086 GB, free: 138.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003343/0.8615, allocations: 1.163 MB / 1.087 GB, free: 137.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.8615, allocations: 2.812 kB / 1.087 GB, free: 137.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.008549/0.8701, allocations: 2.731 MB / 1.09 GB, free: 136.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006523/0.8708, allocations: 2.469 MB / 1.092 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.8708, allocations: 8.969 kB / 1.092 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/0.8709, allocations: 15.53 kB / 1.092 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003111/0.874, allocations: 0.5392 MB / 1.093 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-05/0.874, allocations: 24.92 kB / 1.093 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/0.8765, allocations: 270.4 kB / 1.093 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.8767, allocations: 92.89 kB / 1.093 GB, free: 133.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.8767, allocations: 3.531 kB / 1.093 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006315/0.883, allocations: 2.513 MB / 1.095 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.8831, allocations: 5.625 kB / 1.095 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.8831, allocations: 15.53 kB / 1.095 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002777/0.8859, allocations: 0.5275 MB / 1.096 GB, free: 131.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.26e-05/0.8859, allocations: 23.89 kB / 1.096 GB, free: 131.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.8882, allocations: 262.6 kB / 1.096 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.8884, allocations: 95.92 kB / 1.096 GB, free: 131.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (229): * Single equations (assignments): 229 * 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.001377/0.8898, allocations: 0.5787 MB / 1.097 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/0.8903, allocations: 165.9 kB / 1.097 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008252/0.8985, allocations: 3.131 MB / 1.1 GB, free: 127.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.8986, allocations: 23.98 kB / 1.1 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.8986, allocations: 3.953 kB / 1.1 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/0.8986, allocations: 7.969 kB / 1.1 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.9114, allocations: 5.853 MB / 1.106 GB, free: 121.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/0.9115, allocations: 4 kB / 1.106 GB, free: 121.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003186/0.9147, allocations: 0.5189 MB / 1.106 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-05/0.9147, allocations: 8 kB / 1.106 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002936/0.915, allocations: 63.94 kB / 1.106 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/0.9151, allocations: 11.94 kB / 1.106 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9151, allocations: 0 / 1.106 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007551/0.9226, allocations: 2.879 MB / 1.109 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/0.9244, allocations: 0.5722 MB / 1.11 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/0.9248, allocations: 39.95 kB / 1.11 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/0.927, allocations: 215.2 kB / 1.11 GB, free: 117.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.9272, allocations: 133.8 kB / 1.11 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/0.9274, allocations: 75.94 kB / 1.11 GB, free: 116.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001014/0.9284, allocations: 0.7792 MB / 1.111 GB, free: 116.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9284, allocations: 0 / 1.111 GB, free: 116.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002757/0.9312, allocations: 0.7733 MB / 1.112 GB, free: 115.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 210 * 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.008291/0.9395, allocations: 4.217 MB / 1.116 GB, free: 111.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01131/0.9509, allocations: 3.974 MB / 1.12 GB, free: 107.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.9509, allocations: 3.938 kB / 1.12 GB, free: 107.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003548/0.9545, allocations: 1.363 MB / 1.121 GB, free: 106 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.9565, allocations: 363.2 kB / 1.121 GB, free: 105.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02752/0.9841, allocations: 16.95 MB / 1.138 GB, free: 88.28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.9852, allocations: 1.595 MB / 1.14 GB, free: 86.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004732/0.99, allocations: 0.775 MB / 1.14 GB, free: 85.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001759/0.9918, allocations: 0.9638 MB / 1.141 GB, free: 84.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/0.9918, allocations: 0 / 1.141 GB, free: 84.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08917/1.081, allocations: 42.1 MB / 1.182 GB, free: 43.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/1.081, allocations: 251.5 kB / 1.183 GB, free: 42.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.66/4.742, allocations: 12 kB / 1.183 GB, free: 42.76 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_PVPanels.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1)