Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.806/2.806, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001637/0.001637, allocations: 190.7 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.00107/0.001069, allocations: 96.94 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004711, allocations: 11.53 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2397, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.01016/0.2499, allocations: 6.493 MB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9188/1.169, allocations: 128.7 MB / 1.11 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/1.17, allocations: 24.59 kB / 1.11 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009069/1.171, allocations: 137.9 kB / 1.11 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003533/1.175, allocations: 0.6319 MB / 1.111 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004525/1.179, allocations: 0.858 MB / 1.112 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003663/1.183, allocations: 1.211 MB / 1.113 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003218/1.186, allocations: 1.261 MB / 1.114 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/1.188, allocations: 0.5424 MB / 1.115 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/1.19, allocations: 0.586 MB / 1.115 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004989/1.191, allocations: 50.59 kB / 1.115 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/1.193, allocations: 334.1 kB / 1.116 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006933/1.193, allocations: 323.2 kB / 1.116 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006989/1.194, allocations: 298.9 kB / 1.116 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004412/1.198, allocations: 1.908 MB / 1.118 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.199, allocations: 0 / 1.118 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.317e-06/1.199, allocations: 0 / 1.118 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001027/1.199, allocations: 0 / 1.118 GB, free: 0.6445 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: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.006257/1.205, allocations: 1.735 MB / 1.12 GB, free: 15.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.205, allocations: 11.77 kB / 1.12 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/1.216, allocations: 0.9425 MB / 1.121 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/1.219, allocations: 0.9786 MB / 1.122 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/1.219, allocations: 125.7 kB / 1.122 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003968/1.22, allocations: 154.1 kB / 1.122 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008399/1.228, allocations: 2.04 MB / 1.124 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-05/1.228, allocations: 0 / 1.124 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003162/1.229, allocations: 68.75 kB / 1.124 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/1.229, allocations: 73.94 kB / 1.124 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/1.24, allocations: 2.407 MB / 1.127 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02063/1.261, allocations: 6.406 MB / 1.133 GB, free: 11.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008351/1.269, allocations: 1.579 MB / 1.134 GB, free: 11.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.27, allocations: 487.7 kB / 1.135 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00432/1.275, allocations: 0.9183 MB / 1.136 GB, free: 10.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 5.711e-06/1.275, allocations: 0 / 1.136 GB, free: 10.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.01236/1.287, allocations: 2.182 MB / 1.138 GB, free: 9.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002188/1.288, allocations: 299.9 kB / 1.138 GB, free: 9.477 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/1.29, allocations: 0.836 MB / 1.139 GB, free: 9.191 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004955/1.29, allocations: 46.64 kB / 1.139 GB, free: 9.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00091/1.291, allocations: 0.6302 MB / 1.14 GB, free: 8.793 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009907/1.292, allocations: 428.7 kB / 1.14 GB, free: 8.484 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/1.293, allocations: 24.91 kB / 1.14 GB, free: 8.484 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002334/1.293, allocations: 350.9 kB / 1.14 GB, free: 8.164 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003493/1.296, allocations: 0.5841 MB / 1.141 GB, free: 8.062 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00451/1.301, allocations: 0.7853 MB / 1.142 GB, free: 7.762 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004506/1.305, allocations: 0.6555 MB / 1.142 GB, free: 7.668 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/1.306, allocations: 1.188 kB / 1.142 GB, free: 7.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.008957/1.315, allocations: 1.6 MB / 1.144 GB, free: 7.312 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000576/1.315, allocations: 1.143 MB / 1.145 GB, free: 6.113 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/1.315, allocations: 6.531 kB / 1.145 GB, free: 6.109 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/1.316, allocations: 31.97 kB / 1.145 GB, free: 6.098 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003743/1.319, allocations: 333.3 kB / 1.145 GB, free: 6.012 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/1.321, allocations: 1.302 MB / 1.147 GB, free: 4.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/1.324, allocations: 191.3 kB / 1.147 GB, free: 4.613 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000387/1.325, allocations: 58.67 kB / 1.147 GB, free: 4.602 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.325, allocations: 3.594 kB / 1.147 GB, free: 4.602 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007827/1.332, allocations: 1.465 MB / 1.148 GB, free: 4.344 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/1.333, allocations: 2.688 kB / 1.148 GB, free: 4.344 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.333, allocations: 10.38 kB / 1.148 GB, free: 4.344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003724/1.336, allocations: 337.7 kB / 1.149 GB, free: 4.258 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.15e-05/1.336, allocations: 12.06 kB / 1.149 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/1.339, allocations: 179.9 kB / 1.149 GB, free: 4.168 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/1.34, allocations: 56.77 kB / 1.149 GB, free: 4.156 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.001549/1.341, allocations: 448.8 kB / 1.149 GB, free: 3.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005861/1.342, allocations: 117.7 kB / 1.149 GB, free: 3.871 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009783/1.352, allocations: 1.891 MB / 1.151 GB, free: 3.355 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.749e-05/1.352, allocations: 18 kB / 1.151 GB, free: 3.352 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.352, allocations: 1.031 kB / 1.151 GB, free: 3.352 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.635e-05/1.352, allocations: 4.984 kB / 1.151 GB, free: 3.348 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/1.365, allocations: 3.581 MB / 1.155 GB, free: 2.074 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.365, allocations: 0 / 1.155 GB, free: 2.074 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00333/1.368, allocations: 313 kB / 1.155 GB, free: 1.992 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002157/1.368, allocations: 35.58 kB / 1.155 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003058/1.369, allocations: 38.22 kB / 1.155 GB, free: 1.965 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/1.37, allocations: 1.279 MB / 1.156 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.37, allocations: 0 / 1.156 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007845/1.378, allocations: 1.72 MB / 1.158 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.379, allocations: 408 kB / 1.158 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004164/1.38, allocations: 27.53 kB / 1.158 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002679/1.382, allocations: 137.6 kB / 1.159 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/1.383, allocations: 85.62 kB / 1.159 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/1.383, allocations: 54.77 kB / 1.159 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00136/1.384, allocations: 0.5887 MB / 1.159 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.31e-07/1.384, allocations: 0 / 1.159 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00332/1.388, allocations: 0.7303 MB / 1.16 GB, free: 15.47 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.002068/1.39, allocations: 0.5919 MB / 1.161 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01148/1.401, allocations: 2.386 MB / 1.163 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.401, allocations: 7.781 kB / 1.163 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003902/1.405, allocations: 0.8994 MB / 1.164 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/1.408, allocations: 277.5 kB / 1.164 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009635/1.418, allocations: 3.41 MB / 1.167 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.419, allocations: 1.293 MB / 1.169 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004765/1.424, allocations: 0.5206 MB / 1.169 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/1.426, allocations: 154.3 kB / 1.169 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of SimCode: time 1.813e-06/1.426, allocations: 1.859 kB / 1.169 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.06004/1.486, allocations: 18.9 MB / 1.188 GB, free: 11.01 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)