Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_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.346/1.346, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.00119/0.00119, allocations: 176.7 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009473/0.0009472, allocations: 93.48 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 12.41 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2515, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.008525/0.2601, allocations: 8.188 MB / 0.9082 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1605/0.4206, allocations: 129.7 MB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.4225, allocations: 31.88 kB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007026/0.4232, allocations: 174.4 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003141/0.4264, allocations: 0.7991 MB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00379/0.4302, allocations: 1.13 MB / 1.037 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003783/0.434, allocations: 1.67 MB / 1.039 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003744/0.4377, allocations: 2.303 MB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.4391, allocations: 0.8167 MB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.4404, allocations: 0.8744 MB / 1.042 GB, free: 13.71 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.4406, allocations: 64 kB / 1.042 GB, free: 13.65 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.4417, allocations: 387.5 kB / 1.043 GB, free: 13.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004278/0.4421, allocations: 462 kB / 1.043 GB, free: 12.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.4426, allocations: 456.3 kB / 1.044 GB, free: 12.36 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.4458, allocations: 3.152 MB / 1.047 GB, free: 9.203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.4458, allocations: 0 / 1.047 GB, free: 9.203 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.085e-06/0.4458, allocations: 0 / 1.047 GB, free: 9.203 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.807e-05/0.4459, allocations: 0 / 1.047 GB, free: 9.203 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.005525/0.4514, allocations: 2.383 MB / 1.049 GB, free: 6.758 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/0.4515, allocations: 8.031 kB / 1.049 GB, free: 6.75 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004793/0.452, allocations: 354.6 kB / 1.049 GB, free: 6.395 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.4629, allocations: 1.67 MB / 1.051 GB, free: 4.719 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003344/0.4663, allocations: 1.408 MB / 1.052 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.4665, allocations: 189 kB / 1.053 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004354/0.4669, allocations: 244 kB / 1.053 GB, free: 2.824 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5574/1.024, allocations: 3.396 MB / 1.056 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.467e-05/1.024, allocations: 4.562 kB / 1.056 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000425/1.025, allocations: 106.9 kB / 1.056 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002113/1.025, allocations: 117.8 kB / 1.056 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/1.04, allocations: 3.92 MB / 1.06 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02639/1.066, allocations: 10.04 MB / 1.07 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/1.08, allocations: 2.709 MB / 1.073 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/1.081, allocations: 0.5828 MB / 1.073 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006619/1.087, allocations: 1.504 MB / 1.075 GB, free: 144.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 1.779e-05/1.087, allocations: 4.75 kB / 1.075 GB, free: 144.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.02214/1.11, allocations: 4.272 MB / 1.079 GB, free: 142.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002823/1.11, allocations: 256.9 kB / 1.079 GB, free: 142.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/1.112, allocations: 1.087 MB / 1.08 GB, free: 141.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006889/1.113, allocations: 61.61 kB / 1.08 GB, free: 141.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008982/1.114, allocations: 0.9363 MB / 1.081 GB, free: 140.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008525/1.115, allocations: 0.6367 MB / 1.082 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/1.115, allocations: 39.88 kB / 1.082 GB, free: 140.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.115, allocations: 377.3 kB / 1.082 GB, free: 139.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004794/1.12, allocations: 1.043 MB / 1.083 GB, free: 139.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006136/1.126, allocations: 1.378 MB / 1.085 GB, free: 138.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006078/1.132, allocations: 1.162 MB / 1.086 GB, free: 137.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/1.132, allocations: 2.156 kB / 1.086 GB, free: 137.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01414/1.146, allocations: 2.736 MB / 1.088 GB, free: 136.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005262/1.147, allocations: 2.465 MB / 1.091 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/1.147, allocations: 6.438 kB / 1.091 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.862e-05/1.147, allocations: 19.25 kB / 1.091 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006133/1.153, allocations: 0.5449 MB / 1.091 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.197e-05/1.153, allocations: 18.84 kB / 1.091 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/1.158, allocations: 270.9 kB / 1.092 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/1.158, allocations: 94.73 kB / 1.092 GB, free: 133.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.158, allocations: 3.875 kB / 1.092 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01166/1.17, allocations: 2.511 MB / 1.094 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/1.17, allocations: 7.375 kB / 1.094 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.804e-05/1.17, allocations: 14.81 kB / 1.094 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004147/1.174, allocations: 0.5276 MB / 1.095 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.608e-05/1.174, allocations: 27.38 kB / 1.095 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/1.177, allocations: 258.6 kB / 1.095 GB, free: 131.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/1.177, allocations: 92.8 kB / 1.095 GB, free: 131.9 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.00147/1.179, allocations: 0.5776 MB / 1.096 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004353/1.179, allocations: 164.8 kB / 1.096 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007715/1.187, allocations: 3.125 MB / 1.099 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/1.187, allocations: 20 kB / 1.099 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.187, allocations: 7.953 kB / 1.099 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/1.187, allocations: 11.95 kB / 1.099 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/1.197, allocations: 5.865 MB / 1.105 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.197, allocations: 8.094 kB / 1.105 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/1.2, allocations: 0.5071 MB / 1.105 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.586e-05/1.2, allocations: 11.98 kB / 1.105 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/1.2, allocations: 59.95 kB / 1.105 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/1.2, allocations: 15.98 kB / 1.105 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.2, allocations: 3.938 kB / 1.105 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006431/1.207, allocations: 2.883 MB / 1.108 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.208, allocations: 0.5722 MB / 1.109 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/1.208, allocations: 43.95 kB / 1.109 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/1.21, allocations: 207.5 kB / 1.109 GB, free: 118.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/1.21, allocations: 129.8 kB / 1.109 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.21, allocations: 79.94 kB / 1.109 GB, free: 117.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009069/1.211, allocations: 0.7791 MB / 1.11 GB, free: 117.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.211, allocations: 0 / 1.11 GB, free: 117.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002217/1.214, allocations: 0.7747 MB / 1.111 GB, free: 116.3 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.007652/1.221, allocations: 4.2 MB / 1.115 GB, free: 112.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.232, allocations: 3.971 MB / 1.119 GB, free: 108.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.971e-05/1.232, allocations: 4 kB / 1.119 GB, free: 108.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003533/1.235, allocations: 1.37 MB / 1.12 GB, free: 107 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/1.238, allocations: 366.2 kB / 1.12 GB, free: 106.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04071/1.278, allocations: 16.95 MB / 1.137 GB, free: 89.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009094/1.279, allocations: 1.595 MB / 1.138 GB, free: 87.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004174/1.284, allocations: 0.7828 MB / 1.139 GB, free: 86.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/1.285, allocations: 0.96 MB / 1.14 GB, free: 85.82 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/1.285, allocations: 0 / 1.14 GB, free: 85.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07094/1.356, allocations: 42.13 MB / 1.181 GB, free: 43.98 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/1.356, allocations: 238.8 kB / 1.181 GB, free: 43.74 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.161/4.518, allocations: 4.062 kB / 1.181 GB, free: 43.74 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_PVPanels.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1)