Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 99.7 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.001881/0.001881, 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.603/1.603, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.617/1.617, allocations: 251.9 MB / 0.51 GB, free: 4.891 MB / 414.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.0007371/0.0007374, allocations: 15.12 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7051/0.7058, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.009669/0.7155, allocations: 6.507 MB / 0.7343 GB, free: 4.902 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1867/0.9023, allocations: 128.7 MB / 0.86 GB, free: 3.855 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.9041, allocations: 23.88 kB / 0.86 GB, free: 3.832 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.9053, allocations: 146.7 kB / 0.8602 GB, free: 3.688 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00334/0.9086, allocations: 0.629 MB / 0.8608 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.9123, allocations: 0.8603 MB / 0.8616 GB, free: 2.207 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003155/0.9155, allocations: 1.213 MB / 0.8628 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002926/0.9184, allocations: 1.261 MB / 0.8641 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.92, allocations: 0.5485 MB / 0.8646 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.9216, allocations: 0.5791 MB / 0.8652 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.9221, allocations: 48 kB / 0.8652 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.9236, allocations: 335.6 kB / 0.8655 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005846/0.9242, allocations: 318.7 kB / 0.8658 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004937/0.9247, allocations: 304.8 kB / 0.8661 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002985/0.9277, allocations: 1.905 MB / 0.868 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.9277, allocations: 0 / 0.868 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of FrontEnd: time 5.39e-06/0.9277, allocations: 4 kB / 0.868 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.595e-05/0.9277, allocations: 0 / 0.868 GB, free: 11.64 MB / 0.6856 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.003886/0.9316, allocations: 1.727 MB / 0.8697 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.9317, allocations: 8.031 kB / 0.8697 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006062/0.9377, allocations: 0.938 MB / 0.8706 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.9398, allocations: 0.9811 MB / 0.8715 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.9399, allocations: 119.2 kB / 0.8717 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/0.9402, allocations: 152 kB / 0.8718 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004524/0.9447, allocations: 2.043 MB / 0.8738 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.9448, allocations: 3.984 kB / 0.8738 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.9449, allocations: 71.98 kB / 0.8739 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-05/0.945, allocations: 78.97 kB / 0.8739 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005823/0.9509, allocations: 2.404 MB / 0.8763 GB, free: 2.934 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.9626, allocations: 6.406 MB / 0.8826 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004204/0.9669, allocations: 1.569 MB / 0.8841 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007244/0.9677, allocations: 494.4 kB / 0.8846 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002108/0.9698, allocations: 0.9171 MB / 0.8855 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=128): time 4.208e-06/0.9698, allocations: 0 / 0.8855 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of matching and sorting (n=128): time 0.005954/0.9757, allocations: 2.173 MB / 0.8876 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/0.9759, allocations: 303.7 kB / 0.8879 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.9773, allocations: 0.8294 MB / 0.8887 GB, free: 5.793 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.9774, allocations: 49.7 kB / 0.8887 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007572/0.9782, allocations: 0.6401 MB / 0.8893 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/0.9786, allocations: 425.8 kB / 0.8898 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.85e-05/0.9787, allocations: 24 kB / 0.8898 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9789, allocations: 349.9 kB / 0.8901 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.9806, allocations: 0.5803 MB / 0.8907 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.9824, allocations: 0.7766 MB / 0.8914 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.9841, allocations: 0.6661 MB / 0.8921 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.9841, allocations: 0 / 0.8921 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004118/0.9883, allocations: 1.605 MB / 0.8937 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006344/0.9889, allocations: 1.135 MB / 0.8948 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.9889, allocations: 4 kB / 0.8948 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/0.9892, allocations: 36.77 kB / 0.8948 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.991, allocations: 331.5 kB / 0.8951 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.9925, allocations: 1.292 MB / 0.8964 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.994, allocations: 198.9 kB / 0.8966 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.9941, allocations: 59.95 kB / 0.8966 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.9941, allocations: 4 kB / 0.8966 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003707/0.9978, allocations: 1.46 MB / 0.8981 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9979, allocations: 4 kB / 0.8981 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.9979, allocations: 8 kB / 0.8981 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.9995, allocations: 335.7 kB / 0.8984 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.9995, allocations: 8 kB / 0.8984 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/1.001, allocations: 191.3 kB / 0.8986 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.001, allocations: 63.89 kB / 0.8986 GB, free: 11.26 MB / 0.7169 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.001025/1.002, allocations: 439.6 kB / 0.8991 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/1.002, allocations: 126.5 kB / 0.8992 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004741/1.007, allocations: 1.893 MB / 0.901 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/1.007, allocations: 16 kB / 0.901 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.007, allocations: 0 / 0.901 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/1.007, allocations: 7.969 kB / 0.901 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006603/1.014, allocations: 3.576 MB / 0.9045 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.014, allocations: 4 kB / 0.9045 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.015, allocations: 303.6 kB / 0.9048 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/1.015, allocations: 24.84 kB / 0.9049 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/1.015, allocations: 43.91 kB / 0.9049 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/1.017, allocations: 1.276 MB / 0.9061 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.017, allocations: 4.047 kB / 0.9061 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004084/1.021, allocations: 1.731 MB / 0.9078 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007274/1.022, allocations: 407 kB / 0.9082 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.022, allocations: 28 kB / 0.9083 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.023, allocations: 140.4 kB / 0.9084 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/1.023, allocations: 89.11 kB / 0.9085 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/1.024, allocations: 55.97 kB / 0.9085 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009777/1.025, allocations: 0.5943 MB / 0.9091 GB, free: 248 kB / 0.7169 GB Notification: Performance of sort global known variables: time 4.71e-07/1.025, allocations: 0 / 0.9091 GB, free: 248 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.5675/1.592, allocations: 0.7182 MB / 0.9098 GB, free: 177.1 MB / 0.7169 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.001648/1.594, allocations: 0.5799 MB / 0.9104 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00735/1.601, allocations: 2.39 MB / 0.9127 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.601, allocations: 0.8438 kB / 0.9127 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00247/1.604, allocations: 0.9005 MB / 0.9136 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/1.606, allocations: 295.5 kB / 0.9139 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006812/1.612, allocations: 3.4 MB / 0.9172 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.614, allocations: 1.293 MB / 0.9185 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003014/1.617, allocations: 0.5161 MB / 0.919 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007155/1.618, allocations: 155.8 kB / 0.9191 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of SimCode: time 2.285e-06/1.618, allocations: 0 / 0.9191 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.02933/1.647, allocations: 18.89 MB / 0.9376 GB, free: 161.6 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1) Environment - environmentSimulation: