Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.259/2.259, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 191.4 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 117.6 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 54.09 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3082, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.01023/0.3185, allocations: 8.025 MB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1558/0.4745, allocations: 149.9 MB / 1.372 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.4762, allocations: 27.88 kB / 1.372 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.4782, allocations: 0.6066 MB / 1.373 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.481, allocations: 0.6718 MB / 1.374 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.4841, allocations: 1.042 MB / 1.375 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003083/0.4872, allocations: 2.28 MB / 1.377 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.4897, allocations: 1.672 MB / 1.378 GB, free: 384 kB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.4909, allocations: 0.7547 MB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.4926, allocations: 0.9333 MB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.000382/0.493, allocations: 120 kB / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.4951, allocations: 0.6632 MB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0005959/0.4957, allocations: 462.3 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.4971, allocations: 0.8857 MB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.5016, allocations: 2.933 MB / 1.385 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.5016, allocations: 0 / 1.385 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.286e-06/0.5016, allocations: 4 kB / 1.385 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.76e-05/0.5017, allocations: 7.938 kB / 1.385 GB, free: 9.602 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.004944/0.5067, allocations: 2.192 MB / 1.387 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5067, allocations: 23.92 kB / 1.387 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005954/0.5127, allocations: 0.8958 MB / 1.388 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.5147, allocations: 1.13 MB / 1.389 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.5149, allocations: 127.5 kB / 1.389 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/0.5151, allocations: 168 kB / 1.389 GB, free: 4.965 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00478/0.5199, allocations: 2.227 MB / 1.392 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.52, allocations: 0 / 1.392 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.5201, allocations: 75.98 kB / 1.392 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.671e-05/0.5202, allocations: 79.33 kB / 1.392 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006211/0.5265, allocations: 2.546 MB / 1.394 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.5397, allocations: 7.078 MB / 1.401 GB, free: 8.656 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/0.5439, allocations: 1.596 MB / 1.403 GB, free: 7.059 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/0.5459, allocations: 0.7731 MB / 1.403 GB, free: 6.285 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007183/0.5467, allocations: 494.8 kB / 1.404 GB, free: 5.711 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002215/0.5489, allocations: 0.949 MB / 1.405 GB, free: 4.734 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=129): time 3.577e-06/0.5489, allocations: 0 / 1.405 GB, free: 4.734 MB / 0.9011 GB Notification: Performance of matching and sorting (n=129): time 0.006295/0.5552, allocations: 2.271 MB / 1.407 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.5554, allocations: 304 kB / 1.407 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.5568, allocations: 0.8866 MB / 1.408 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.5569, allocations: 53.7 kB / 1.408 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006065/0.5575, allocations: 0.6712 MB / 1.409 GB, free: 428 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/0.5579, allocations: 433.8 kB / 1.409 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004465/0.5584, allocations: 266.6 kB / 1.41 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5585, allocations: 357.9 kB / 1.41 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.5603, allocations: 0.6423 MB / 1.411 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.5622, allocations: 0.8239 MB / 1.411 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/0.5658, allocations: 1.446 MB / 1.413 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.5658, allocations: 0 / 1.413 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004497/0.5703, allocations: 1.703 MB / 1.414 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.5704, allocations: 8 kB / 1.415 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.5704, allocations: 4 kB / 1.415 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.5706, allocations: 32.84 kB / 1.415 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.5723, allocations: 339.5 kB / 1.415 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.5735, allocations: 1.301 MB / 1.416 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.5752, allocations: 196 kB / 1.416 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.5754, allocations: 63.95 kB / 1.416 GB, free: 8.574 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002474/0.5778, allocations: 0.9515 MB / 1.417 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001886/0.5797, allocations: 0.8287 MB / 1.418 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003561/0.5833, allocations: 1.44 MB / 1.42 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.469e-06/0.5833, allocations: 0 / 1.42 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of matching and sorting (n=158) (initialization_lambda0): time 0.004458/0.5878, allocations: 1.69 MB / 1.421 GB, free: 3.562 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.5878, allocations: 8 kB / 1.421 GB, free: 3.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5879, allocations: 0 / 1.421 GB, free: 3.555 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.5879, allocations: 15.98 kB / 1.421 GB, free: 3.539 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.5896, allocations: 339.7 kB / 1.422 GB, free: 3.207 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.5897, allocations: 11.94 kB / 1.422 GB, free: 3.195 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.5913, allocations: 183.9 kB / 1.422 GB, free: 3.016 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.5914, allocations: 67.94 kB / 1.422 GB, free: 2.949 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004687/0.5919, allocations: 253.5 kB / 1.422 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.5922, allocations: 126.4 kB / 1.422 GB, free: 2.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005192/0.5974, allocations: 1.936 MB / 1.424 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.5974, allocations: 12 kB / 1.424 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5974, allocations: 7.938 kB / 1.424 GB, free: 0.6016 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.5974, allocations: 7.969 kB / 1.424 GB, free: 0.5938 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7084/1.306, allocations: 3.904 MB / 1.428 GB, free: 201.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.306, allocations: 1.625 kB / 1.428 GB, free: 201.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/1.308, allocations: 311.4 kB / 1.428 GB, free: 201.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/1.308, allocations: 32.78 kB / 1.428 GB, free: 201.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/1.308, allocations: 42.53 kB / 1.428 GB, free: 201.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007825/1.309, allocations: 1.277 MB / 1.429 GB, free: 200.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.309, allocations: 1.719 kB / 1.429 GB, free: 200.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007648/1.316, allocations: 3.403 MB / 1.433 GB, free: 198.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007926/1.317, allocations: 408.7 kB / 1.433 GB, free: 198.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/1.317, allocations: 25.11 kB / 1.433 GB, free: 198.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.319, allocations: 127.6 kB / 1.433 GB, free: 198.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/1.319, allocations: 95.2 kB / 1.433 GB, free: 198.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.319, allocations: 50.98 kB / 1.433 GB, free: 198.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001017/1.32, allocations: 0.614 MB / 1.434 GB, free: 198.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.4e-07/1.32, allocations: 4.438 kB / 1.434 GB, free: 198.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002847/1.323, allocations: 0.7978 MB / 1.435 GB, free: 198 MB / 0.9167 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001682/1.325, allocations: 0.626 MB / 1.435 GB, free: 197.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007507/1.332, allocations: 2.558 MB / 1.438 GB, free: 197 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/1.332, allocations: 0.875 kB / 1.438 GB, free: 197 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002536/1.335, allocations: 0.951 MB / 1.439 GB, free: 196.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/1.337, allocations: 332.8 kB / 1.439 GB, free: 196.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00703/1.344, allocations: 4.452 MB / 1.444 GB, free: 193.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.345, allocations: 1.328 MB / 1.445 GB, free: 193 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002864/1.348, allocations: 0.5372 MB / 1.445 GB, free: 192.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006616/1.349, allocations: 147.3 kB / 1.446 GB, free: 192.8 MB / 0.9167 GB Notification: Performance of SimCode: time 2.485e-06/1.349, allocations: 0.75 kB / 1.446 GB, free: 192.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.03723/1.386, allocations: 20.59 MB / 1.466 GB, free: 180.9 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1)