Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.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.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.285/2.285, allocations: 391.2 MB / 407 MB, free: 10.83 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.001239/0.001239, allocations: 182.8 kB / 499.1 MB, free: 4.645 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.504/1.504, allocations: 222.9 MB / 0.7948 GB, free: 15.84 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.0009561/0.0009558, allocations: 95.78 kB / 0.9329 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 50.44 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2662, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.007855/0.2741, allocations: 8.863 MB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00656/0.2807, allocations: 4.464 MB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.2829, allocations: 43.88 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.285, allocations: 0.7211 MB / 1.232 GB, free: 103.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.2866, allocations: 0.5164 MB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.2892, allocations: 1.293 MB / 1.234 GB, free: 101.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003414/0.2926, allocations: 3.186 MB / 1.237 GB, free: 98.12 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00288/0.2955, allocations: 2.182 MB / 1.239 GB, free: 95.88 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.2977, allocations: 1.046 MB / 1.24 GB, free: 94.82 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.2997, allocations: 1.224 MB / 1.241 GB, free: 93.59 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008521/0.3005, allocations: 160 kB / 1.241 GB, free: 93.44 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.302, allocations: 439.7 kB / 1.242 GB, free: 93.01 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000772/0.3028, allocations: 1.234 MB / 1.243 GB, free: 91.77 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.3041, allocations: 1.84 MB / 1.245 GB, free: 89.92 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003221/0.3073, allocations: 5.536 MB / 1.25 GB, free: 84.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3073, allocations: 4 kB / 1.25 GB, free: 84.36 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3073, allocations: 0 / 1.25 GB, free: 84.36 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.713e-05/0.3074, allocations: 0 / 1.25 GB, free: 84.36 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.005988/0.3134, allocations: 4.769 MB / 1.255 GB, free: 79.46 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3135, allocations: 15.92 kB / 1.255 GB, free: 79.45 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002269/0.3157, allocations: 0.6938 MB / 1.255 GB, free: 78.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003921/0.3197, allocations: 2.933 MB / 1.258 GB, free: 75.74 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.3198, allocations: 218.8 kB / 1.258 GB, free: 75.52 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.3201, allocations: 232 kB / 1.259 GB, free: 75.29 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003565/0.3237, allocations: 2.548 MB / 1.261 GB, free: 72.59 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.3237, allocations: 3.938 kB / 1.261 GB, free: 72.59 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.3239, allocations: 95.98 kB / 1.261 GB, free: 72.49 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.3239, allocations: 52 kB / 1.261 GB, free: 72.44 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003365/0.3273, allocations: 2.158 MB / 1.263 GB, free: 70.28 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.3389, allocations: 10.54 MB / 1.274 GB, free: 59.53 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/0.342, allocations: 2.179 MB / 1.276 GB, free: 57.24 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.3432, allocations: 0.9285 MB / 1.277 GB, free: 56.28 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/0.3438, allocations: 278.3 kB / 1.277 GB, free: 55.99 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001569/0.3454, allocations: 1.205 MB / 1.278 GB, free: 54.73 MB / 0.823 GB Notification: Performance of pre-optimization done (n=166): time 4.047e-06/0.3454, allocations: 0 / 1.278 GB, free: 54.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=166): time 0.005253/0.3506, allocations: 2.874 MB / 1.281 GB, free: 51.84 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.3508, allocations: 431 kB / 1.281 GB, free: 51.33 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005583/0.3564, allocations: 4.879 MB / 1.286 GB, free: 46.43 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002495/0.3566, allocations: 109.7 kB / 1.286 GB, free: 46.32 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.3578, allocations: 1.874 MB / 1.288 GB, free: 44.43 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.3582, allocations: 457.9 kB / 1.289 GB, free: 43.98 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005241/0.3587, allocations: 467.9 kB / 1.289 GB, free: 43.51 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.326e-05/0.3588, allocations: 313.1 kB / 1.289 GB, free: 43.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.3601, allocations: 0.8631 MB / 1.29 GB, free: 42.34 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.3617, allocations: 1.401 MB / 1.292 GB, free: 40.71 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/0.3643, allocations: 2.039 MB / 1.294 GB, free: 38.47 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.3643, allocations: 4 kB / 1.294 GB, free: 38.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004357/0.3687, allocations: 2.681 MB / 1.296 GB, free: 35.77 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.3687, allocations: 41.7 kB / 1.296 GB, free: 35.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.3688, allocations: 16 kB / 1.296 GB, free: 35.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.099e-05/0.3688, allocations: 24.59 kB / 1.296 GB, free: 35.68 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.3699, allocations: 327.3 kB / 1.297 GB, free: 35.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.651e-05/0.3699, allocations: 27.94 kB / 1.297 GB, free: 35.33 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.3717, allocations: 238 kB / 1.297 GB, free: 35.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.3719, allocations: 91.98 kB / 1.297 GB, free: 35.01 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 160 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition8,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition2,con.transition3.t_start,$PRE.con.transition3.t_start,con.transition5.t_start,$PRE.con.transition5.t_start,con.transition9.t_start,$PRE.con.transition9.t_start,con.transition7.t_start,$PRE.con.transition7.t_start,con.transition10.t_start,$PRE.con.transition10.t_start,con.transition1.t_start,$PRE.con.transition1.t_start,con.transition2.t_start,$PRE.con.transition2.t_start,con.transition8.t_start,$PRE.con.transition8.t_start,con.transition6.t_start,$PRE.con.transition6.t_start,eneConEngTem.and1.u2,eneConEngTem.engTemWarUp.y,eneConTimDel.and1.u2,eneConTimDel.engTemWarUp.y,stateGraphRoot.resume,stateGraphRoot.suspend,eneConTimDel.delWarUp.y,eneConEngTem.delWarUp.y,eneConTimDel.and1.y,eneConEngTem.opeModWarUpEngTem.temChe.y,$PRE.eneConEngTem.opeModWarUpEngTem.temChe.y,stateGraphRoot.activeSteps,PEle.nextEventScaled,PEle.nextEvent,$PRE.PEle.nextEvent,PEle.last,PEle.b,PEle.a,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,con.timer.entryTime,$PRE.con.timer.entryTime,con.timer.passed,$PRE.con.timer.passed,con.transition4.t_start,$PRE.con.transition4.t_start,con.transition4.fire,con.transition4.enableFire,con.transition4.localCondition,con.plaOff.oldActive,$PRE.con.plaOff.oldActive,con.plaOff.newActive,$PRE.con.plaOff.newActive,con.plaOff.inPort[3].occupied,con.plaOff.inPort[2].occupied,con.plaOff.localActive,$PRE.con.plaOff.localActive,con.plaOff.active,con.transition6.enableFire,con.transition6.localCondition,con.warUpCtr.pre.u,$PRE.con.warUpCtr.pre.u,con.warUpCtr.hysPow.y,$PRE.con.warUpCtr.hysPow.y,con.warUpCtr.hysTem.y,$PRE.con.warUpCtr.hysTem.y,con.warUpCtr.y,con.transition8.enableFire,con.nor.oldActive,$PRE.con.nor.oldActive,con.nor.newActive,$PRE.con.nor.newActive,con.nor.localActive,$PRE.con.nor.localActive,con.nor.active,con.transition2.enableFire,con.transition1.enableFire,con.assWatMas.hys.y,$PRE.con.assWatMas.hys.y,con.assWatMas.nand.y,con.transition10.enableFire,con.transition10.localCondition,con.transition7.enableFire,con.transition7.localCondition,con.transition9.enableFire,con.transition5.enableFire,con.transition3.enableFire,con.hys.y,$PRE.con.hys.y,con.cooDow.active,con.cooDow.oldActive,$PRE.con.cooDow.oldActive,con.cooDow.newActive,$PRE.con.cooDow.newActive,con.cooDow.outPort[2].available,con.cooDow.inPort[2].occupied,con.cooDow.localActive,$PRE.con.cooDow.localActive,con.warUp.active,con.warUp.oldActive,$PRE.con.warUp.oldActive,con.warUp.newActive,$PRE.con.warUp.newActive,con.warUp.outPort[2].available,con.warUp.inPort[2].occupied,con.warUp.localActive,$PRE.con.warUp.localActive,con.pumOn.oldActive,$PRE.con.pumOn.oldActive,con.pumOn.newActive,$PRE.con.pumOn.newActive,con.pumOn.outPort[2].available,con.pumOn.localActive,$PRE.con.pumOn.localActive,con.pumOn.active,con.staBy.oldActive,$PRE.con.staBy.oldActive,con.staBy.newActive,$PRE.con.staBy.newActive,con.staBy.outPort[2].available,con.staBy.localActive,$PRE.con.staBy.localActive,con.staBy.active,con.opeMod,con.runSig,con.avaSig,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,eneConTimDel.wamUpMod.y,eneConTimDel.booExp.y,eneConTimDel.assFue.hys.y,$PRE.eneConTimDel.assFue.hys.y,eneConEngTem.and1.y,eneConEngTem.booExp.y,eneConEngTem.assFue.hys.y,$PRE.eneConEngTem.assFue.hys.y,$whenCondition1,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001515/0.3734, allocations: 1.143 MB / 1.298 GB, free: 33.85 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005375/0.374, allocations: 395 kB / 1.298 GB, free: 33.46 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/0.3773, allocations: 2.289 MB / 1.301 GB, free: 31.16 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.3773, allocations: 23.94 kB / 1.301 GB, free: 31.13 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.3773, allocations: 4 kB / 1.301 GB, free: 31.13 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.3774, allocations: 15.91 kB / 1.301 GB, free: 31.11 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00711/0.3845, allocations: 5.632 MB / 1.306 GB, free: 25.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.3845, allocations: 4 kB / 1.306 GB, free: 25.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/0.3852, allocations: 171.6 kB / 1.306 GB, free: 25.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.3853, allocations: 8 kB / 1.306 GB, free: 25.22 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.743e-05/0.3854, allocations: 47.95 kB / 1.306 GB, free: 25.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.3854, allocations: 12 kB / 1.306 GB, free: 25.16 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3854, allocations: 7.938 kB / 1.306 GB, free: 25.16 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "con.opeMod = if con.plaOff.active then Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off else if con.staBy.active then Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy else if con.pumOn.active then Buildings.Fluid.CHPs.BaseClasses.Types.Mode.PumpOn else if con.warUp.active then Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp else if con.nor.active then Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal else Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/0.3984, allocations: 6.752 MB / 1.313 GB, free: 18.24 MB / 0.823 GB Error: post-optimization module symbolicJacobian (simulation) failed.