Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001013, allocations: 97.91 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.001416/0.001416, 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.463/1.463, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.754/1.754, allocations: 292.6 MB / 0.5497 GB, free: 14.69 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.0004957/0.0004957, allocations: 17.38 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2469, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.008191/0.2551, allocations: 6.972 MB / 0.7939 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6528/0.908, allocations: 128.8 MB / 0.9197 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.9092, allocations: 26.34 kB / 0.9197 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.9098, allocations: 151.3 kB / 0.9198 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.9119, allocations: 0.6493 MB / 0.9205 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.9143, allocations: 0.8601 MB / 0.9213 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.9163, allocations: 1.257 MB / 0.9226 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.9181, allocations: 1.379 MB / 0.9239 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008896/0.919, allocations: 0.5899 MB / 0.9245 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007658/0.9198, allocations: 0.5896 MB / 0.9251 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.9199, allocations: 46.38 kB / 0.9251 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009882/0.9209, allocations: 332.6 kB / 0.9254 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.9212, allocations: 324.3 kB / 0.9257 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.9215, allocations: 334.7 kB / 0.926 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.9242, allocations: 2.21 MB / 0.9282 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.9242, allocations: 0 / 0.9282 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9242, allocations: 0 / 0.9282 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.898e-05/0.9243, allocations: 2.844 kB / 0.9282 GB, free: 5.305 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.003841/0.9281, allocations: 1.794 MB / 0.93 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.9282, allocations: 9.125 kB / 0.93 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006253/0.9345, allocations: 0.9528 MB / 0.9309 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.9364, allocations: 1.093 MB / 0.932 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.173e-05/0.9365, allocations: 128.4 kB / 0.9321 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/0.9367, allocations: 160.8 kB / 0.9322 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005051/0.9418, allocations: 2.16 MB / 0.9343 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.9419, allocations: 5.016 kB / 0.9343 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.942, allocations: 79.7 kB / 0.9344 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.9422, allocations: 78.16 kB / 0.9345 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006496/0.9487, allocations: 2.516 MB / 0.937 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.9595, allocations: 6.992 MB / 0.9438 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005134/0.9647, allocations: 1.609 MB / 0.9454 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008633/0.9656, allocations: 492.8 kB / 0.9458 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002829/0.9685, allocations: 0.9213 MB / 0.9467 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=128): time 3.837e-06/0.9685, allocations: 1.859 kB / 0.9467 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=128): time 0.008045/0.9765, allocations: 2.205 MB / 0.9489 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/0.9768, allocations: 302.1 kB / 0.9492 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.9784, allocations: 0.8457 MB / 0.95 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002884/0.9787, allocations: 51.58 kB / 0.95 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005802/0.9793, allocations: 0.6789 MB / 0.9507 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/0.9797, allocations: 429.3 kB / 0.9511 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.9799, allocations: 25.44 kB / 0.9511 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.98, allocations: 348.4 kB / 0.9515 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.9823, allocations: 0.5866 MB / 0.952 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.9843, allocations: 0.8131 MB / 0.9528 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.986, allocations: 0.6611 MB / 0.9535 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.986, allocations: 5.578 kB / 0.9535 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.006225/0.9923, allocations: 1.621 MB / 0.9551 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007362/0.993, allocations: 1.496 MB / 0.9565 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.9931, allocations: 3.938 kB / 0.9565 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002776/0.9933, allocations: 31.56 kB / 0.9566 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.9958, allocations: 335.2 kB / 0.9569 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.9973, allocations: 1.296 MB / 0.9582 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.9994, allocations: 190.3 kB / 0.9583 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.9996, allocations: 55.72 kB / 0.9584 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.9996, allocations: 7.125 kB / 0.9584 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005246/1.005, allocations: 1.486 MB / 0.9598 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/1.005, allocations: 11.67 kB / 0.9599 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.005, allocations: 9.562 kB / 0.9599 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/1.007, allocations: 328.2 kB / 0.9602 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/1.007, allocations: 10.94 kB / 0.9602 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/1.01, allocations: 185.7 kB / 0.9604 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/1.01, allocations: 51.91 kB / 0.9604 GB, free: 11.11 MB / 0.7325 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.001517/1.011, allocations: 481.7 kB / 0.9609 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004081/1.012, allocations: 126.4 kB / 0.961 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005329/1.017, allocations: 1.888 MB / 0.9628 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/1.017, allocations: 14.12 kB / 0.9629 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/1.017, allocations: 1.75 kB / 0.9629 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/1.017, allocations: 10.84 kB / 0.9629 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006593/1.024, allocations: 3.747 MB / 0.9665 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/1.024, allocations: 0 / 0.9665 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/1.025, allocations: 306.8 kB / 0.9668 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/1.025, allocations: 25.12 kB / 0.9668 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.574e-05/1.026, allocations: 40.8 kB / 0.9669 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009021/1.026, allocations: 1.282 MB / 0.9681 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.026, allocations: 4.062 kB / 0.9681 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00398/1.03, allocations: 1.75 MB / 0.9698 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008031/1.031, allocations: 412.8 kB / 0.9702 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/1.031, allocations: 32.92 kB / 0.9703 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.033, allocations: 139.4 kB / 0.9704 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/1.033, allocations: 88.31 kB / 0.9705 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.033, allocations: 52.08 kB / 0.9705 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008683/1.034, allocations: 0.5857 MB / 0.9711 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.034, allocations: 0 / 0.9711 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002012/1.036, allocations: 0.7438 MB / 0.9718 GB, free: 6.469 MB / 0.7325 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.001241/1.037, allocations: 0.578 MB / 0.9724 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005462/1.043, allocations: 2.422 MB / 0.9748 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.043, allocations: 4.062 kB / 0.9748 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/1.045, allocations: 0.9158 MB / 0.9757 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/1.046, allocations: 307.4 kB / 0.976 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/1.051, allocations: 3.538 MB / 0.9794 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007921/1.052, allocations: 1.312 MB / 0.9807 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002386/1.055, allocations: 0.5312 MB / 0.9812 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/1.055, allocations: 149.4 kB / 0.9814 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of SimCode: time 7.91e-07/1.055, allocations: 0 / 0.9814 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of Templates: time 0.03015/1.085, allocations: 18.63 MB / 0.9995 GB, free: 7.832 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1) Environment - environmentSimulation: