Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.DC.Sources.Examples.PVSimpleOriented,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimpleOriented",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimpleOriented",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.703/1.703, allocations: 288.2 MB / 303.2 MB, free: 8.191 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.00106/0.00106, allocations: 185 kB / 371.8 MB, free: 10.28 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.509/1.509, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.001103/0.001103, allocations: 97.11 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004311, allocations: 11.34 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.258, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.007223/0.2653, allocations: 6.98 MB / 0.9863 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8271/1.092, allocations: 128.8 MB / 1.112 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/1.094, allocations: 25.19 kB / 1.112 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000681/1.095, allocations: 155 kB / 1.112 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002938/1.098, allocations: 0.6518 MB / 1.113 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/1.102, allocations: 0.8415 MB / 1.114 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003798/1.105, allocations: 1.267 MB / 1.115 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003418/1.109, allocations: 1.377 MB / 1.116 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/1.111, allocations: 0.595 MB / 1.117 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/1.112, allocations: 0.5905 MB / 1.117 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002034/1.112, allocations: 46.44 kB / 1.117 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/1.114, allocations: 338.1 kB / 1.118 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004441/1.114, allocations: 323.8 kB / 1.118 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005602/1.115, allocations: 337.6 kB / 1.118 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003108/1.118, allocations: 2.205 MB / 1.121 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.118, allocations: 1.344 kB / 1.121 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.314e-06/1.118, allocations: 0 / 1.121 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.767e-05/1.118, allocations: 0 / 1.121 GB, free: 1.375 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.004501/1.123, allocations: 1.793 MB / 1.122 GB, free: 400 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.123, allocations: 17.98 kB / 1.122 GB, free: 392 kB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004101/1.123, allocations: 242.6 kB / 1.123 GB, free: 344 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006146/1.129, allocations: 0.9514 MB / 1.123 GB, free: 212 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/1.132, allocations: 1.097 MB / 1.125 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/1.132, allocations: 122.6 kB / 1.125 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/1.132, allocations: 168.4 kB / 1.125 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005513/1.138, allocations: 2.168 MB / 1.127 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/1.138, allocations: 0 / 1.127 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/1.138, allocations: 70.84 kB / 1.127 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-05/1.138, allocations: 79.14 kB / 1.127 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006058/1.144, allocations: 2.517 MB / 1.13 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/1.157, allocations: 6.989 MB / 1.136 GB, free: 10.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004652/1.162, allocations: 1.62 MB / 1.138 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000798/1.163, allocations: 490.5 kB / 1.138 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002288/1.165, allocations: 0.9198 MB / 1.139 GB, free: 9.754 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 3.667e-06/1.165, allocations: 0 / 1.139 GB, free: 9.754 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.00654/1.172, allocations: 2.202 MB / 1.141 GB, free: 9.223 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/1.172, allocations: 304.3 kB / 1.142 GB, free: 8.875 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/1.173, allocations: 0.8542 MB / 1.143 GB, free: 8.586 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/1.174, allocations: 50.27 kB / 1.143 GB, free: 8.555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007433/1.174, allocations: 0.6713 MB / 1.143 GB, free: 8.156 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004658/1.175, allocations: 431 kB / 1.144 GB, free: 7.848 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/1.175, allocations: 22.19 kB / 1.144 GB, free: 7.848 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002141/1.175, allocations: 356.5 kB / 1.144 GB, free: 7.527 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/1.177, allocations: 0.5894 MB / 1.145 GB, free: 7.426 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/1.179, allocations: 0.8093 MB / 1.145 GB, free: 7.098 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/1.181, allocations: 0.6605 MB / 1.146 GB, free: 7.012 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.181, allocations: 1.125 kB / 1.146 GB, free: 7.012 MB / 0.698 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004683/1.185, allocations: 1.624 MB / 1.148 GB, free: 6.648 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007039/1.186, allocations: 1.489 MB / 1.149 GB, free: 5.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/1.186, allocations: 9.344 kB / 1.149 GB, free: 5.086 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002643/1.186, allocations: 40.42 kB / 1.149 GB, free: 5.066 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/1.188, allocations: 326.1 kB / 1.149 GB, free: 4.984 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/1.19, allocations: 1.298 MB / 1.151 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/1.192, allocations: 193.7 kB / 1.151 GB, free: 3.598 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/1.192, allocations: 63.81 kB / 1.151 GB, free: 3.578 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/1.192, allocations: 4.281 kB / 1.151 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004082/1.196, allocations: 1.488 MB / 1.152 GB, free: 3.316 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.196, allocations: 4.5 kB / 1.152 GB, free: 3.316 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/1.196, allocations: 9.531 kB / 1.152 GB, free: 3.316 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/1.198, allocations: 328 kB / 1.153 GB, free: 3.238 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/1.198, allocations: 13.11 kB / 1.153 GB, free: 3.234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/1.2, allocations: 182 kB / 1.153 GB, free: 3.148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/1.2, allocations: 56.84 kB / 1.153 GB, free: 3.141 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (148): * Single equations (assignments): 147 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001214/1.201, allocations: 472.9 kB / 1.153 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003624/1.201, allocations: 133.6 kB / 1.154 GB, free: 2.848 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/1.206, allocations: 1.888 MB / 1.155 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/1.206, allocations: 13.12 kB / 1.155 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/1.206, allocations: 0 / 1.155 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/1.206, allocations: 10.78 kB / 1.155 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006984/1.213, allocations: 3.742 MB / 1.159 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-06/1.213, allocations: 0 / 1.159 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/1.215, allocations: 306.4 kB / 1.159 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/1.215, allocations: 35.36 kB / 1.159 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/1.215, allocations: 38.22 kB / 1.159 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009923/1.216, allocations: 1.279 MB / 1.161 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.216, allocations: 2.5 kB / 1.161 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004107/1.22, allocations: 1.754 MB / 1.162 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008208/1.221, allocations: 414.1 kB / 1.163 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/1.221, allocations: 29.95 kB / 1.163 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.223, allocations: 143.8 kB / 1.163 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/1.223, allocations: 88.03 kB / 1.163 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.223, allocations: 48.16 kB / 1.163 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009108/1.224, allocations: 0.5885 MB / 1.164 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.552e-06/1.224, allocations: 0 / 1.164 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002301/1.226, allocations: 0.7456 MB / 1.164 GB, free: 14.45 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (141): * Single equations (assignments): 138 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005756/1.232, allocations: 2.912 MB / 1.167 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006646/1.239, allocations: 2.424 MB / 1.17 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.239, allocations: 0 / 1.17 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002323/1.241, allocations: 0.9129 MB / 1.171 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/1.243, allocations: 300 kB / 1.171 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02095/1.264, allocations: 10.86 MB / 1.181 GB, free: 3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/1.265, allocations: 1.312 MB / 1.183 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003137/1.268, allocations: 0.5328 MB / 1.183 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.27, allocations: 0.6437 MB / 1.184 GB, free: 488 kB / 0.7136 GB Notification: Performance of SimCode: time 1.884e-06/1.27, allocations: 0 / 1.184 GB, free: 488 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06611/1.336, allocations: 29.97 MB / 1.213 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/1.336, allocations: 274.7 kB / 1.213 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/4.328, allocations: 0 / 1.213 GB, free: 2.438 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimpleOriented_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimpleOriented.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1)