Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009063/0.0009063, allocations: 100.1 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.001019/0.001019, allocations: 177.3 kB / 15.95 MB, free: 216 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.566/1.566, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.7/1.7, allocations: 251.9 MB / 0.51 GB, free: 4.82 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.0006255/0.0006256, allocations: 16 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6273/0.6279, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.008884/0.6369, allocations: 6.979 MB / 0.7348 GB, free: 4.434 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1605/0.7974, allocations: 128.8 MB / 0.8606 GB, free: 3.289 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.7987, allocations: 27.88 kB / 0.8606 GB, free: 3.262 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005689/0.7992, allocations: 138.8 kB / 0.8607 GB, free: 3.125 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.8015, allocations: 0.656 MB / 0.8614 GB, free: 2.469 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.8041, allocations: 0.8512 MB / 0.8622 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002681/0.8068, allocations: 1.256 MB / 0.8634 GB, free: 372 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.8088, allocations: 1.381 MB / 0.8648 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009255/0.8097, allocations: 0.5912 MB / 0.8654 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008987/0.8107, allocations: 0.6015 MB / 0.8659 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.8108, allocations: 48 kB / 0.866 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.8119, allocations: 319.6 kB / 0.8663 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.8122, allocations: 334.6 kB / 0.8666 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.8125, allocations: 332.7 kB / 0.8669 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.8148, allocations: 2.209 MB / 0.8691 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8148, allocations: 7.938 kB / 0.8691 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.465e-06/0.8148, allocations: 0 / 0.8691 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.054e-05/0.8149, allocations: 0 / 0.8691 GB, free: 10.5 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.003783/0.8187, allocations: 1.79 MB / 0.8708 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.8187, allocations: 8.031 kB / 0.8709 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006211/0.8249, allocations: 0.9536 MB / 0.8718 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.827, allocations: 1.087 MB / 0.8728 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.8272, allocations: 123.4 kB / 0.873 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.8274, allocations: 163.9 kB / 0.8731 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00461/0.832, allocations: 2.171 MB / 0.8752 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.8321, allocations: 0 / 0.8752 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/0.8323, allocations: 72 kB / 0.8753 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-05/0.8324, allocations: 79.17 kB / 0.8754 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005928/0.8383, allocations: 2.514 MB / 0.8778 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.8492, allocations: 6.993 MB / 0.8847 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/0.8535, allocations: 1.615 MB / 0.8862 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007857/0.8543, allocations: 486.6 kB / 0.8867 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/0.8566, allocations: 0.9172 MB / 0.8876 GB, free: 7 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=128): time 6.693e-06/0.8567, allocations: 3.984 kB / 0.8876 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of matching and sorting (n=128): time 0.006095/0.8628, allocations: 2.208 MB / 0.8898 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.8629, allocations: 295.7 kB / 0.89 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.8644, allocations: 0.8508 MB / 0.8909 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.8646, allocations: 49.7 kB / 0.8909 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007506/0.8653, allocations: 0.675 MB / 0.8916 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005816/0.8659, allocations: 441.7 kB / 0.892 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.214e-05/0.866, allocations: 20 kB / 0.892 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.8662, allocations: 353.9 kB / 0.8924 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.8679, allocations: 0.5842 MB / 0.8929 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.8697, allocations: 0.8111 MB / 0.8937 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.8716, allocations: 0.6663 MB / 0.8944 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.8716, allocations: 4 kB / 0.8944 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004541/0.8761, allocations: 1.621 MB / 0.896 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006693/0.8768, allocations: 1.49 MB / 0.8974 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.8768, allocations: 4 kB / 0.8974 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/0.8771, allocations: 36.77 kB / 0.8975 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.8787, allocations: 323.6 kB / 0.8978 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.8804, allocations: 1.307 MB / 0.899 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.8818, allocations: 193.3 kB / 0.8992 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.8819, allocations: 63.95 kB / 0.8993 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.186e-06/0.8819, allocations: 3.938 kB / 0.8993 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003787/0.8857, allocations: 1.479 MB / 0.9007 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.8857, allocations: 4.188 kB / 0.9007 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.8858, allocations: 16 kB / 0.9008 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.8874, allocations: 327.5 kB / 0.9011 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.8874, allocations: 11.98 kB / 0.9011 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.8888, allocations: 178.9 kB / 0.9012 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.8889, allocations: 59.95 kB / 0.9013 GB, free: 8.48 MB / 0.7169 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.0008977/0.8898, allocations: 480.8 kB / 0.9018 GB, free: 8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003516/0.8901, allocations: 122.5 kB / 0.9019 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004924/0.8951, allocations: 1.882 MB / 0.9037 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.8951, allocations: 16 kB / 0.9037 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8951, allocations: 0 / 0.9037 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.8952, allocations: 11.97 kB / 0.9037 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007146/0.9023, allocations: 3.751 MB / 0.9074 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.9023, allocations: 0 / 0.9074 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.9039, allocations: 303.7 kB / 0.9077 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/0.9041, allocations: 28.84 kB / 0.9077 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.9042, allocations: 47.94 kB / 0.9078 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.9053, allocations: 1.28 MB / 0.909 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.9053, allocations: 3.938 kB / 0.909 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5772/1.483, allocations: 1.741 MB / 0.9107 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.484, allocations: 415.6 kB / 0.9111 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002674/1.484, allocations: 26.48 kB / 0.9111 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1.485, allocations: 135.2 kB / 0.9113 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/1.486, allocations: 86.22 kB / 0.9114 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.486, allocations: 60.81 kB / 0.9114 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001272/1.487, allocations: 0.584 MB / 0.912 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.487, allocations: 0 / 0.912 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003254/1.49, allocations: 0.7476 MB / 0.9127 GB, free: 176.2 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.001701/1.492, allocations: 0.5894 MB / 0.9133 GB, free: 176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007305/1.499, allocations: 2.411 MB / 0.9156 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.499, allocations: 0.8125 kB / 0.9156 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002734/1.502, allocations: 0.9225 MB / 0.9165 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/1.504, allocations: 296.2 kB / 0.9168 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008261/1.513, allocations: 3.545 MB / 0.9203 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.514, allocations: 1.321 MB / 0.9216 GB, free: 172 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002928/1.517, allocations: 0.5269 MB / 0.9221 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006088/1.517, allocations: 153.3 kB / 0.9222 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of SimCode: time 1.242e-06/1.517, allocations: 0 / 0.9222 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.03009/1.548, allocations: 18.61 MB / 0.9404 GB, free: 158.4 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1) Environment - environmentSimulation: