Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009996/0.0009996, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007877/0.0007882, allocations: 15.78 kB / 0.6736 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2967, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.01108/0.3079, allocations: 8.181 MB / 0.7951 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.706/1.014, allocations: 129.7 MB / 0.9218 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/1.016, allocations: 33.75 kB / 0.9218 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006123/1.016, allocations: 168.8 kB / 0.9219 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002577/1.019, allocations: 0.8038 MB / 0.9227 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003258/1.022, allocations: 1.133 MB / 0.9238 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00321/1.025, allocations: 1.674 MB / 0.9255 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003752/1.029, allocations: 2.291 MB / 0.9277 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/1.031, allocations: 0.8132 MB / 0.9285 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/1.032, allocations: 0.8665 MB / 0.9294 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002218/1.032, allocations: 68.48 kB / 0.9294 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/1.033, allocations: 391.4 kB / 0.9298 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004561/1.034, allocations: 458.7 kB / 0.9302 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004267/1.034, allocations: 458 kB / 0.9307 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002928/1.037, allocations: 3.15 MB / 0.9337 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.037, allocations: 0 / 0.9337 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/1.037, allocations: 0 / 0.9337 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.952e-05/1.037, allocations: 1.625 kB / 0.9337 GB, free: 5.027 MB / 0.7169 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.005418/1.043, allocations: 2.382 MB / 0.9361 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/1.043, allocations: 9 kB / 0.9361 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/1.054, allocations: 1.672 MB / 0.9377 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/1.058, allocations: 1.404 MB / 0.9391 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002616/1.058, allocations: 190.7 kB / 0.9393 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007197/1.059, allocations: 248.7 kB / 0.9395 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007885/1.066, allocations: 3.398 MB / 0.9428 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.096e-05/1.067, allocations: 3.969 kB / 0.9428 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002606/1.067, allocations: 106.1 kB / 0.9429 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/1.067, allocations: 123.2 kB / 0.943 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/1.078, allocations: 3.92 MB / 0.9469 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/1.095, allocations: 10.05 MB / 0.9567 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006529/1.102, allocations: 2.71 MB / 0.9593 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007896/1.103, allocations: 0.582 MB / 0.9599 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003329/1.106, allocations: 1.512 MB / 0.9614 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=194): time 3.536e-06/1.106, allocations: 0 / 0.9614 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=195): time 0.01103/1.117, allocations: 4.263 MB / 0.9655 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.117, allocations: 262.7 kB / 0.9658 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/1.118, allocations: 1.091 MB / 0.9669 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002068/1.119, allocations: 60.3 kB / 0.9669 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007233/1.119, allocations: 0.9332 MB / 0.9678 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005825/1.12, allocations: 0.6391 MB / 0.9684 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/1.12, allocations: 34.38 kB / 0.9685 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.12, allocations: 377.7 kB / 0.9688 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002802/1.123, allocations: 1.044 MB / 0.9699 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003018/1.126, allocations: 1.381 MB / 0.9712 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/1.129, allocations: 1.167 MB / 0.9723 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.129, allocations: 2.906 kB / 0.9723 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.006704/1.136, allocations: 2.736 MB / 0.975 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009805/1.137, allocations: 2.464 MB / 0.9774 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/1.137, allocations: 8.219 kB / 0.9774 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/1.137, allocations: 13.75 kB / 0.9774 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/1.14, allocations: 0.5394 MB / 0.978 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.69e-05/1.14, allocations: 21.75 kB / 0.978 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/1.142, allocations: 278.2 kB / 0.9783 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/1.142, allocations: 92.09 kB / 0.9783 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/1.142, allocations: 2.781 kB / 0.9784 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006175/1.149, allocations: 2.51 MB / 0.9808 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.149, allocations: 5.906 kB / 0.9808 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.149, allocations: 13.94 kB / 0.9808 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/1.151, allocations: 0.53 MB / 0.9813 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.869e-05/1.151, allocations: 24.42 kB / 0.9814 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/1.154, allocations: 264.8 kB / 0.9816 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/1.154, allocations: 87.67 kB / 0.9817 GB, free: 3.793 MB / 0.7325 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.001487/1.155, allocations: 0.576 MB / 0.9823 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/1.156, allocations: 171.8 kB / 0.9824 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007523/1.163, allocations: 3.135 MB / 0.9855 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/1.163, allocations: 21.97 kB / 0.9855 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/1.163, allocations: 0 / 0.9855 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/1.163, allocations: 11.95 kB / 0.9855 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/1.174, allocations: 5.849 MB / 0.9912 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/1.174, allocations: 1.719 kB / 0.9912 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00279/1.177, allocations: 0.5176 MB / 0.9917 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/1.177, allocations: 7.5 kB / 0.9917 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/1.177, allocations: 60.67 kB / 0.9918 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/1.177, allocations: 12.17 kB / 0.9918 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.177, allocations: 8.969 kB / 0.9918 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0068/1.184, allocations: 2.892 MB / 0.9946 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.185, allocations: 0.5686 MB / 0.9952 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/1.186, allocations: 32.31 kB / 0.9952 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/1.188, allocations: 218.9 kB / 0.9954 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/1.188, allocations: 124.5 kB / 0.9956 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.188, allocations: 76.25 kB / 0.9956 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001108/1.189, allocations: 0.7761 MB / 0.9964 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.9e-07/1.189, allocations: 0 / 0.9964 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00252/1.192, allocations: 0.7804 MB / 0.9972 GB, free: 15.16 MB / 0.7481 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.001483/1.193, allocations: 0.5999 MB / 0.9977 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009883/1.203, allocations: 3.98 MB / 1.002 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.203, allocations: 4 kB / 1.002 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003294/1.206, allocations: 1.362 MB / 1.003 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/1.209, allocations: 365.8 kB / 1.003 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009894/1.219, allocations: 5.353 MB / 1.009 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/1.22, allocations: 1.598 MB / 1.01 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004213/1.224, allocations: 0.7891 MB / 1.011 GB, free: 5.246 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008067/1.225, allocations: 216.8 kB / 1.011 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of SimCode: time 1.272e-06/1.225, allocations: 0 / 1.011 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of Templates: time 0.04552/1.27, allocations: 26.57 MB / 1.037 GB, free: 10.77 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1) Environment - environmentSimulation: