Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.3 MB / 308.1 MB, free: 4.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 186.1 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.1 MB / 0.6354 GB, free: 9.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 102.8 kB / 0.748 GB, free: 60.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 55.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2666, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.01176/0.2784, allocations: 8.946 MB / 0.991 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.008978/0.2874, allocations: 4.398 MB / 0.9953 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.2898, allocations: 47.81 kB / 0.9953 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.2926, allocations: 0.7193 MB / 0.996 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002833/0.2955, allocations: 0.5169 MB / 0.9965 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003745/0.2992, allocations: 1.272 MB / 0.9977 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00542/0.3047, allocations: 3.205 MB / 1.001 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003988/0.3087, allocations: 2.166 MB / 1.003 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.3104, allocations: 1.042 MB / 1.004 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.3121, allocations: 1.224 MB / 1.005 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006965/0.3128, allocations: 160 kB / 1.005 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.3139, allocations: 451.6 kB / 1.006 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.3152, allocations: 1.219 MB / 1.007 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002125/0.3174, allocations: 1.832 MB / 1.009 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005358/0.3227, allocations: 5.547 MB / 1.014 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.3228, allocations: 4 kB / 1.014 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3228, allocations: 0 / 1.014 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002114/0.323, allocations: 0 / 1.014 GB, free: 9.441 MB / 0.7448 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.01083/0.3338, allocations: 4.741 MB / 1.019 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.3339, allocations: 8.031 kB / 1.019 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003572/0.3375, allocations: 0.7092 MB / 1.02 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006271/0.3438, allocations: 2.972 MB / 1.022 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/0.3441, allocations: 214.6 kB / 1.023 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006459/0.3447, allocations: 224 kB / 1.023 GB, free: 380 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4552/0.7999, allocations: 2.541 MB / 1.025 GB, free: 93.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.8, allocations: 5.531 kB / 1.025 GB, free: 93.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.8002, allocations: 88.28 kB / 1.025 GB, free: 93.8 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/0.8003, allocations: 51.16 kB / 1.025 GB, free: 93.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003879/0.8041, allocations: 2.171 MB / 1.028 GB, free: 93.79 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01738/0.8215, allocations: 10.52 MB / 1.038 GB, free: 90.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004724/0.8263, allocations: 2.031 MB / 1.04 GB, free: 89.28 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.8282, allocations: 0.8412 MB / 1.041 GB, free: 88.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008226/0.829, allocations: 277.9 kB / 1.041 GB, free: 88.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002152/0.8312, allocations: 1.108 MB / 1.042 GB, free: 88.4 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=157): time 3.777e-06/0.8312, allocations: 0.5625 kB / 1.042 GB, free: 88.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=157): time 0.006334/0.8375, allocations: 2.794 MB / 1.045 GB, free: 87.4 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.8377, allocations: 183.8 kB / 1.045 GB, free: 87.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009003/0.8467, allocations: 4.938 MB / 1.05 GB, free: 85.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004796/0.8472, allocations: 95.53 kB / 1.05 GB, free: 85.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.8489, allocations: 1.913 MB / 1.052 GB, free: 83.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004292/0.8494, allocations: 438 kB / 1.052 GB, free: 83.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006104/0.85, allocations: 453.9 kB / 1.053 GB, free: 83.39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.254e-05/0.8501, allocations: 305.1 kB / 1.053 GB, free: 83.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.8516, allocations: 0.8455 MB / 1.054 GB, free: 82.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.8532, allocations: 1.392 MB / 1.055 GB, free: 81.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/0.856, allocations: 2.01 MB / 1.057 GB, free: 80.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.856, allocations: 6.031 kB / 1.057 GB, free: 80.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005203/0.8612, allocations: 2.645 MB / 1.06 GB, free: 79.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/0.8613, allocations: 42.77 kB / 1.06 GB, free: 79.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/0.8613, allocations: 15.03 kB / 1.06 GB, free: 79.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.172e-05/0.8614, allocations: 28.69 kB / 1.06 GB, free: 79.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.8626, allocations: 320.8 kB / 1.06 GB, free: 79.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-05/0.8626, allocations: 33.8 kB / 1.06 GB, free: 79.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.8647, allocations: 230.1 kB / 1.06 GB, free: 79.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.8649, allocations: 90.7 kB / 1.06 GB, free: 79.46 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 142 ($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,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 (257): * Single equations (assignments): 256 * 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.001767/0.8667, allocations: 1.135 MB / 1.061 GB, free: 78.88 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005963/0.8673, allocations: 395.5 kB / 1.062 GB, free: 78.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003801/0.8711, allocations: 2.3 MB / 1.064 GB, free: 77.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.8711, allocations: 18.77 kB / 1.064 GB, free: 77.79 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.8712, allocations: 0 / 1.064 GB, free: 77.79 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.8712, allocations: 13.16 kB / 1.064 GB, free: 77.79 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/0.8818, allocations: 5.602 MB / 1.07 GB, free: 75.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.8819, allocations: 3.062 kB / 1.07 GB, free: 75.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.8827, allocations: 166.8 kB / 1.07 GB, free: 75.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.18e-05/0.8827, allocations: 5.969 kB / 1.07 GB, free: 75.45 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.8829, allocations: 46.94 kB / 1.07 GB, free: 75.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/0.8829, allocations: 7.062 kB / 1.07 GB, free: 75.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.8829, allocations: 6.375 kB / 1.07 GB, free: 75.43 MB / 0.7448 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.01409/0.897, allocations: 6.657 MB / 1.076 GB, free: 72.52 MB / 0.7448 GB Error: post-optimization module symbolicJacobian (simulation) failed.