Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Examples.RenewableSources.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 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.Examples.RenewableSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|EWin.y|ESol.y|ELoa.y|ERat.y|sen1.V|sen2.V|sen3.V|winTur.P|PSol.y",fileNamePrefix="Buildings_latest_Buildings.Electrical.Examples.RenewableSources") translateModel(Buildings.Electrical.Examples.RenewableSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|EWin.y|ESol.y|ELoa.y|ERat.y|sen1.V|sen2.V|sen3.V|winTur.P|PSol.y",fileNamePrefix="Buildings_latest_Buildings.Electrical.Examples.RenewableSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 105.3 kB / 16.41 MB, free: 6.449 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.001763/0.001763, allocations: 189.6 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.715/1.715, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 68.11 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152/1.154, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.08345/1.237, allocations: 54.73 MB / 1.262 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1881/1.425, allocations: 174.1 MB / 1.432 GB, free: 8.023 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006893/1.432, allocations: 143.4 kB / 1.432 GB, free: 7.883 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.01261/1.445, allocations: 5.599 MB / 1.437 GB, free: 2.266 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01788/1.463, allocations: 6.038 MB / 1.443 GB, free: 12.21 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01274/1.475, allocations: 5.712 MB / 1.449 GB, free: 6.512 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.02364/1.499, allocations: 14.97 MB / 1.464 GB, free: 7.488 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02253/1.522, allocations: 12.47 MB / 1.476 GB, free: 10.89 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01351/1.535, allocations: 6.156 MB / 1.482 GB, free: 4.719 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01136/1.547, allocations: 7.025 MB / 1.489 GB, free: 13.67 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.005858/1.552, allocations: 1.527 MB / 1.49 GB, free: 12.14 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01497/1.567, allocations: 3.575 MB / 1.494 GB, free: 8.562 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.008792/1.576, allocations: 3.794 MB / 1.497 GB, free: 4.758 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0155/1.592, allocations: 6.514 MB / 1.504 GB, free: 14.21 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.03365/1.626, allocations: 19.37 MB / 1.523 GB, free: 10.79 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.626, allocations: 7.938 kB / 1.523 GB, free: 10.78 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.645e-06/1.626, allocations: 0 / 1.523 GB, free: 10.78 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0008161/1.626, allocations: 0 / 1.523 GB, free: 10.78 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2591 * Number of variables: 2591 Notification: Performance of Generate backend data structure: time 0.03452/1.661, allocations: 12.16 MB / 1.534 GB, free: 14.45 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.661, allocations: 12.03 kB / 1.534 GB, free: 14.44 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05569/1.717, allocations: 8.392 MB / 1.543 GB, free: 6.02 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/1.733, allocations: 5.928 MB / 1.548 GB, free: 12 kB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009091/1.733, allocations: 0.7224 MB / 1.549 GB, free: 15.29 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00466/1.738, allocations: 0.9568 MB / 1.55 GB, free: 14.33 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.737/3.476, allocations: 15.05 MB / 1.565 GB, free: 319.2 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004314/3.476, allocations: 17.7 kB / 1.565 GB, free: 319.2 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003264/3.479, allocations: 417.7 kB / 1.565 GB, free: 319.2 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001969/3.481, allocations: 0.612 MB / 1.566 GB, free: 319.2 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05592/3.537, allocations: 16.12 MB / 1.582 GB, free: 314.6 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09337/3.631, allocations: 51.89 MB / 1.632 GB, free: 276 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02755/3.658, allocations: 10.54 MB / 1.642 GB, free: 268.3 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01622/3.675, allocations: 6.192 MB / 1.649 GB, free: 262.1 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/3.676, allocations: 0.7131 MB / 1.649 GB, free: 261.3 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01869/3.695, allocations: 7.183 MB / 1.656 GB, free: 254.1 MB / 1.279 GB Notification: Performance of pre-optimization done (n=729): time 1.201e-05/3.695, allocations: 0 / 1.656 GB, free: 254.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=1269): time 2.153/5.848, allocations: 363.4 MB / 2.011 GB, free: 2.023 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006113/5.848, allocations: 0.7159 MB / 2.012 GB, free: 1.164 MB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01561/5.864, allocations: 6.037 MB / 2.018 GB, free: 11.14 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.005816/5.87, allocations: 257.7 kB / 2.018 GB, free: 10.88 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.006674/5.876, allocations: 4.038 MB / 2.022 GB, free: 6.832 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.01376/5.89, allocations: 4.137 MB / 2.026 GB, free: 2.734 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02844/5.919, allocations: 2.621 MB / 2.029 GB, free: 100 kB / 1.404 GB Notification: Performance of setup shared object (initialization): time 0.0001754/5.919, allocations: 301.1 kB / 2.029 GB, free: 15.8 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1151/6.034, allocations: 21.62 MB / 2.05 GB, free: 10.15 MB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1218/6.156, allocations: 23.13 MB / 2.072 GB, free: 2.621 MB / 1.451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2273/6.383, allocations: 41.99 MB / 2.114 GB, free: 8.242 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000123/6.384, allocations: 8 kB / 2.114 GB, free: 8.234 MB / 1.498 GB Notification: Performance of matching and sorting (n=1631) (initialization): time 1.584/7.967, allocations: 56.26 MB / 2.168 GB, free: 0.5163 GB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/7.968, allocations: 15.19 kB / 2.168 GB, free: 0.5163 GB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001206/7.968, allocations: 27.69 kB / 2.168 GB, free: 0.5163 GB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09668/8.065, allocations: 13.48 MB / 2.182 GB, free: 0.5153 GB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06612/8.131, allocations: 6.827 MB / 2.188 GB, free: 0.515 GB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1266/8.257, allocations: 44.48 MB / 2.232 GB, free: 486.5 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06462/8.322, allocations: 4.821 MB / 2.236 GB, free: 481.7 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009451/8.332, allocations: 0.6672 MB / 2.237 GB, free: 481 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1132/8.445, allocations: 23.4 MB / 2.26 GB, free: 457.6 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.101/8.546, allocations: 22.94 MB / 2.282 GB, free: 434.3 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1516/8.698, allocations: 41.6 MB / 2.323 GB, free: 392.3 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.487e-05/8.698, allocations: 8 kB / 2.323 GB, free: 392.3 MB / 1.514 GB Notification: Performance of matching and sorting (n=1631) (initialization_lambda0): time 0.19/8.888, allocations: 53.56 MB / 2.375 GB, free: 339.1 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/8.888, allocations: 16 kB / 2.375 GB, free: 339.1 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.387e-05/8.888, allocations: 30.12 kB / 2.375 GB, free: 339.1 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04104/8.929, allocations: 9.806 MB / 2.385 GB, free: 329.2 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04854/8.978, allocations: 6.882 MB / 2.392 GB, free: 322.4 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05328/9.031, allocations: 35.32 MB / 2.426 GB, free: 286.8 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04472/9.076, allocations: 4.786 MB / 2.431 GB, free: 282.1 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005163/9.081, allocations: 0.6594 MB / 2.431 GB, free: 281.4 MB / 1.514 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 105 ($PRE.pow1.nextTimeEvent,$whenCondition7,$PRE.pow2.nextTimeEvent,$whenCondition6,$PRE.pow3.nextTimeEvent,$whenCondition5,$PRE.pow4.nextTimeEvent,$whenCondition4,$PRE.pow5.nextTimeEvent,$whenCondition3,$PRE.pow6.nextTimeEvent,$whenCondition2,$PRE.pow7.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,line8.commercialCable.material,line7.commercialCable.material,line6.commercialCable.material,line5.commercialCable.material,line4.commercialCable.material,line3.commercialCable.material,line2.commercialCable.material,line1.commercialCable.material,pow7.nextTimeEventScaled,$PRE.pow7.nextTimeEventScaled,pow7.nextTimeEvent,pow6.nextTimeEventScaled,$PRE.pow6.nextTimeEventScaled,pow6.nextTimeEvent,pow5.nextTimeEventScaled,$PRE.pow5.nextTimeEventScaled,pow5.nextTimeEvent,pow4.nextTimeEventScaled,$PRE.pow4.nextTimeEventScaled,pow4.nextTimeEvent,pow3.nextTimeEventScaled,$PRE.pow3.nextTimeEventScaled,pow3.nextTimeEvent,pow2.nextTimeEventScaled,$PRE.pow2.nextTimeEventScaled,pow2.nextTimeEvent,pow1.nextTimeEventScaled,$PRE.pow1.nextTimeEventScaled,pow1.nextTimeEvent,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pv7.HDirTil.incAng.decAng.tNext,$PRE.pv7.HDirTil.incAng.decAng.tNext,pv7.HDifTil.incAng.decAng.tNext,$PRE.pv7.HDifTil.incAng.decAng.tNext,pv6.HDirTil.incAng.decAng.tNext,$PRE.pv6.HDirTil.incAng.decAng.tNext,pv6.HDifTil.incAng.decAng.tNext,$PRE.pv6.HDifTil.incAng.decAng.tNext,pv5.HDirTil.incAng.decAng.tNext,$PRE.pv5.HDirTil.incAng.decAng.tNext,pv5.HDifTil.incAng.decAng.tNext,$PRE.pv5.HDifTil.incAng.decAng.tNext,pv4.HDirTil.incAng.decAng.tNext,$PRE.pv4.HDirTil.incAng.decAng.tNext,pv4.HDifTil.incAng.decAng.tNext,$PRE.pv4.HDifTil.incAng.decAng.tNext,pv3.HDirTil.incAng.decAng.tNext,$PRE.pv3.HDirTil.incAng.decAng.tNext,pv3.HDifTil.incAng.decAng.tNext,$PRE.pv3.HDifTil.incAng.decAng.tNext,pv2.HDirTil.incAng.decAng.tNext,$PRE.pv2.HDirTil.incAng.decAng.tNext,pv2.HDifTil.incAng.decAng.tNext,$PRE.pv2.HDifTil.incAng.decAng.tNext,pv1.HDirTil.incAng.decAng.tNext,$PRE.pv1.HDirTil.incAng.decAng.tNext,pv1.HDifTil.incAng.decAng.tNext,$PRE.pv1.HDifTil.incAng.decAng.tNext,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26,ELoa.local_reset,ESol.local_reset,EWin.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1412): * Single equations (assignments): 1401 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(23,67,20.6%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(23,67)} Notification: Performance of prepare postOptimizeDAE: time 0.008417/9.089, allocations: 0.8846 MB / 2.432 GB, free: 280.5 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005917/9.095, allocations: 0.9043 MB / 2.433 GB, free: 279.9 MB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2073/9.303, allocations: 58.19 MB / 2.49 GB, free: 221.7 MB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000561/9.303, allocations: 63.75 kB / 2.49 GB, free: 221.6 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.202e-05/9.303, allocations: 0 / 2.49 GB, free: 221.6 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01362/9.317, allocations: 4.676 MB / 2.495 GB, free: 216.9 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007733/9.325, allocations: 246.9 kB / 2.495 GB, free: 216.7 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04846/9.373, allocations: 4.761 MB / 2.5 GB, free: 211.9 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005276/9.379, allocations: 0.9618 MB / 2.5 GB, free: 211 MB / 1.514 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2091/9.588, allocations: 54.43 MB / 2.554 GB, free: 156.7 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2296/9.817, allocations: 70.31 MB / 2.622 GB, free: 86.29 MB / 1.514 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.06753/9.885, allocations: 22.73 MB / 2.644 GB, free: 63.54 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.01036/9.895, allocations: 4.118 MB / 2.649 GB, free: 59.44 MB / 1.514 GB Notification: Performance of Backend: time 1.302e-06/9.895, allocations: 4 kB / 2.649 GB, free: 59.43 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 1.114/11.01, allocations: 55.86 MB / 2.703 GB, free: 0.5069 GB / 1.514 GB Notification: Performance of SimCode: time 0.072/11.08, allocations: 20.5 MB / 2.723 GB, free: 0.4999 GB / 1.514 GB Notification: Performance of Templates: time 1.92/13, allocations: 0.6489 GB / 3.372 GB, free: 454.7 MB / 1.514 GB make -j1 -f Buildings_latest_Buildings.Electrical.Examples.RenewableSources.makefile (rm -f Buildings_latest_Buildings.Electrical.Examples.RenewableSources.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Examples.RenewableSources.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Examples.RenewableSources.pipe >> ../files/Buildings_latest_Buildings.Electrical.Examples.RenewableSources.sim & ./Buildings_latest_Buildings.Electrical.Examples.RenewableSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Examples.RenewableSources.pipe 2>&1)