Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.Examples.RenewableSources.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.Examples.RenewableSources") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.645/4.645, allocations: 0.5623 GB / 0.5769 GB, free: 3.301 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002489/0.002488, allocations: 361 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.922/3.922, allocations: 410.7 MB / 1.112 GB, free: 5.898 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001777/0.001776, allocations: 183.6 kB / 1.225 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005369/0.0005372, allocations: 19.98 kB / 1.348 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.5752, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.042/0.6173, allocations: 40.35 MB / 1.5 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1708/0.7881, allocations: 156.8 MB / 1.653 GB, free: 87.14 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006386/0.7945, allocations: 135.3 kB / 1.653 GB, free: 87.01 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004304/0.7989, allocations: 1.695 MB / 1.655 GB, free: 85.31 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01398/0.8129, allocations: 4.168 MB / 1.659 GB, free: 81.14 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01145/0.8244, allocations: 3.602 MB / 1.663 GB, free: 77.57 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01496/0.8394, allocations: 12.06 MB / 1.674 GB, free: 65.47 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01821/0.8576, allocations: 9.532 MB / 1.684 GB, free: 55.87 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01164/0.8693, allocations: 6.6 MB / 1.69 GB, free: 49.25 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006988/0.8764, allocations: 4.624 MB / 1.695 GB, free: 44.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002015/0.8784, allocations: 280 kB / 1.695 GB, free: 44.33 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006281/0.8847, allocations: 1.58 MB / 1.696 GB, free: 42.75 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003058/0.8878, allocations: 2.179 MB / 1.699 GB, free: 40.56 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002734/0.8906, allocations: 1.801 MB / 1.7 GB, free: 38.75 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.9055, allocations: 13.41 MB / 1.713 GB, free: 25.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.817e-06/0.9056, allocations: 0 / 1.713 GB, free: 25.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.626e-06/0.9056, allocations: 0 / 1.713 GB, free: 25.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003243/0.9059, allocations: 0 / 1.713 GB, free: 25.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2462 * Number of variables: 2462 Notification: Performance of Generate backend data structure: time 0.02053/0.9265, allocations: 9 MB / 1.722 GB, free: 16.18 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.9265, allocations: 11.62 kB / 1.722 GB, free: 16.17 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05792/0.9844, allocations: 8.557 MB / 1.731 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.9969, allocations: 5.389 MB / 1.736 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005779/0.9975, allocations: 0.6978 MB / 1.736 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002748/1, allocations: 0.8983 MB / 1.737 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.099/2.1, allocations: 14.32 MB / 1.751 GB, free: 244.4 MB / 0.8543 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002925/2.1, allocations: 21.88 kB / 1.751 GB, free: 244.4 MB / 0.8543 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002232/2.102, allocations: 396.6 kB / 1.752 GB, free: 244.1 MB / 0.8543 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00171/2.104, allocations: 0.5888 MB / 1.752 GB, free: 244.1 MB / 0.8543 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0623/2.166, allocations: 15.52 MB / 1.767 GB, free: 237.8 MB / 0.8543 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08918/2.255, allocations: 47.12 MB / 1.813 GB, free: 193.3 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03327/2.289, allocations: 9.848 MB / 1.823 GB, free: 183.5 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01803/2.307, allocations: 5.8 MB / 1.829 GB, free: 177.7 MB / 0.8543 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/2.308, allocations: 0.7038 MB / 1.829 GB, free: 176.9 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02021/2.328, allocations: 6.462 MB / 1.836 GB, free: 170.4 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=671): time 1.499e-05/2.328, allocations: 0 / 1.836 GB, free: 170.4 MB / 0.8543 GB Notification: Performance of matching and sorting (n=1187): time 2.682/5.01, allocations: 335.3 MB / 2.163 GB, free: 293.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002121/5.01, allocations: 0.7017 MB / 2.164 GB, free: 292.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008715/5.019, allocations: 5.487 MB / 2.169 GB, free: 287.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003424/5.023, allocations: 233.7 kB / 2.17 GB, free: 287.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003277/5.026, allocations: 3.904 MB / 2.173 GB, free: 283.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006202/5.032, allocations: 3.915 MB / 2.177 GB, free: 279.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002988/5.035, allocations: 228 kB / 2.177 GB, free: 279.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0006041/5.036, allocations: 0.7552 MB / 2.178 GB, free: 278.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.08202/5.118, allocations: 19.14 MB / 2.197 GB, free: 259.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1178/5.236, allocations: 20.82 MB / 2.217 GB, free: 238.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06981/5.306, allocations: 18.78 MB / 2.235 GB, free: 219.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.578e-05/5.306, allocations: 8 kB / 2.235 GB, free: 219.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=1533) (initialization): time 0.2047/5.51, allocations: 51.95 MB / 2.286 GB, free: 167.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004867/5.511, allocations: 1.087 MB / 2.287 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-05/5.511, allocations: 35.95 kB / 2.287 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.068/5.579, allocations: 14.23 MB / 2.301 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04983/5.629, allocations: 6.324 MB / 2.307 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1622/5.791, allocations: 41.49 MB / 2.348 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05081/5.842, allocations: 4.429 MB / 2.352 GB, free: 99.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004373/5.846, allocations: 0.6321 MB / 2.353 GB, free: 98.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/5.846, allocations: 4 kB / 2.353 GB, free: 98.58 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.197/6.043, allocations: 48.58 MB / 2.4 GB, free: 49.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/6.044, allocations: 36.98 kB / 2.4 GB, free: 49.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04893/6.092, allocations: 10.56 MB / 2.411 GB, free: 39.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05055/6.143, allocations: 6.375 MB / 2.417 GB, free: 32.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6162/6.759, allocations: 31.69 MB / 2.448 GB, free: 294.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05069/6.81, allocations: 4.38 MB / 2.452 GB, free: 294.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004082/6.814, allocations: 0.6295 MB / 2.453 GB, free: 294.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 54 ($whenCondition7,$PRE.pow1.nextTimeEvent,$whenCondition6,$PRE.pow2.nextTimeEvent,$whenCondition5,$PRE.pow3.nextTimeEvent,$whenCondition4,$PRE.pow4.nextTimeEvent,$whenCondition3,$PRE.pow5.nextTimeEvent,$whenCondition2,$PRE.pow6.nextTimeEvent,$whenCondition1,$PRE.pow7.nextTimeEvent,$whenCondition9,$whenCondition8,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,pow1.nextTimeEvent,$PRE.pow1.nextTimeEventScaled,pow1.nextTimeEventScaled,pow2.nextTimeEvent,$PRE.pow2.nextTimeEventScaled,pow2.nextTimeEventScaled,pow3.nextTimeEvent,$PRE.pow3.nextTimeEventScaled,pow3.nextTimeEventScaled,pow4.nextTimeEvent,$PRE.pow4.nextTimeEventScaled,pow4.nextTimeEventScaled,pow5.nextTimeEvent,$PRE.pow5.nextTimeEventScaled,pow5.nextTimeEventScaled,pow6.nextTimeEvent,$PRE.pow6.nextTimeEventScaled,pow6.nextTimeEventScaled,pow7.nextTimeEvent,$PRE.pow7.nextTimeEventScaled,pow7.nextTimeEventScaled,line1.commercialCable.material,line2.commercialCable.material,line3.commercialCable.material,line4.commercialCable.material,line5.commercialCable.material,line6.commercialCable.material,line7.commercialCable.material,line8.commercialCable.material,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,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 (1314): * Single equations (assignments): 1303 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(23,20.6%) 67,(1,100.0%) 1} * Non-linear torn systems: 1 {23 67} Notification: Performance of prepare postOptimizeDAE: time 0.01022/6.824, allocations: 2.473 MB / 2.455 GB, free: 293.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003946/6.828, allocations: 0.8359 MB / 2.456 GB, free: 293.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2547/7.083, allocations: 53.52 MB / 2.508 GB, free: 282.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001093/7.083, allocations: 116.3 kB / 2.508 GB, free: 282.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.112e-05/7.083, allocations: 15.19 kB / 2.508 GB, free: 282.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002532/7.084, allocations: 57.42 kB / 2.508 GB, free: 282.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.268/7.352, allocations: 118.2 MB / 2.624 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001416/7.352, allocations: 4 kB / 2.624 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04671/7.398, allocations: 5.708 MB / 2.629 GB, free: 161.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06132/7.46, allocations: 13.03 MB / 2.642 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003833/7.464, allocations: 435.4 kB / 2.643 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08334/7.547, allocations: 39.02 MB / 2.681 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.258e-06/7.547, allocations: 4 kB / 2.681 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2784/7.826, allocations: 74.48 MB / 2.753 GB, free: 34.24 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01133/7.837, allocations: 4.126 MB / 2.757 GB, free: 30.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004599/7.842, allocations: 212 kB / 2.758 GB, free: 29.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0409/7.883, allocations: 4.391 MB / 2.762 GB, free: 25.49 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002961/7.886, allocations: 0.7561 MB / 2.763 GB, free: 24.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002978/7.889, allocations: 0.5072 MB / 2.763 GB, free: 24.22 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005863/7.894, allocations: 3.661 MB / 2.767 GB, free: 20.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.134e-06/7.894, allocations: 0 / 2.767 GB, free: 20.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02426/7.919, allocations: 6.189 MB / 2.773 GB, free: 14.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (EWin.y,ESol.y,ELoa.y) * Number of discrete variables: 25 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,pow1.nextTimeEvent,pow1.nextTimeEventScaled,pow2.nextTimeEvent,pow2.nextTimeEventScaled,pow3.nextTimeEvent,pow3.nextTimeEventScaled,pow4.nextTimeEvent,pow4.nextTimeEventScaled,pow5.nextTimeEvent,pow5.nextTimeEventScaled,pow6.nextTimeEvent,pow6.nextTimeEventScaled,pow7.nextTimeEvent,pow7.nextTimeEventScaled) * Number of discrete states: 16 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,pow1.nextTimeEvent,pow2.nextTimeEvent,pow3.nextTimeEvent,pow4.nextTimeEvent,pow5.nextTimeEvent,pow6.nextTimeEvent,pow7.nextTimeEvent,pow1.nextTimeEventScaled,pow2.nextTimeEventScaled,pow3.nextTimeEventScaled,pow4.nextTimeEventScaled,pow5.nextTimeEventScaled,pow6.nextTimeEventScaled,pow7.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1048): * Single equations (assignments): 1029 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(23,21.0%) 67,(1,100.0%) 1} * Non-linear torn systems: 1 {23 67} Notification: Performance of Backend phase and start with SimCode phase: time 0.006051/7.925, allocations: 1.341 MB / 2.774 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.8069/8.732, allocations: 67.17 MB / 2.84 GB, free: 313.8 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/8.732, allocations: 4.406 kB / 2.84 GB, free: 313.8 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.09756/8.829, allocations: 22.75 MB / 2.862 GB, free: 306.9 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01364/8.843, allocations: 1.608 MB / 2.863 GB, free: 306.4 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1057/8.949, allocations: 39.41 MB / 2.902 GB, free: 272.6 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006734/8.956, allocations: 5.587 MB / 2.907 GB, free: 267 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.06123/9.017, allocations: 5.329 MB / 2.913 GB, free: 261.8 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01349/9.03, allocations: 1.135 MB / 2.914 GB, free: 260.7 MB / 0.9637 GB Notification: Performance of SimCode: time 1.88e-06/9.03, allocations: 0 / 2.914 GB, free: 260.7 MB / 0.9637 GB Notification: Performance of Templates: time 1.053/10.08, allocations: 305.4 MB / 3.212 GB, free: 293.2 MB / 0.9637 GB