Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.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.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.072/2.072, allocations: 391.2 MB / 407 MB, free: 10.84 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.001262/0.001262, allocations: 198.2 kB / 499.1 MB, free: 4.668 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.341/1.341, allocations: 222.9 MB / 0.7948 GB, free: 15.71 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.001018/0.001018, allocations: 98.28 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 51.98 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2193, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve): time 1.677/1.897, allocations: 0.6863 GB / 1.904 GB, free: 63.35 MB / 1.245 GB Notification: Performance of NFInst.instExpressions: time 0.1483/2.045, allocations: 128.8 MB / 2.03 GB, free: 61.6 MB / 1.245 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02401/2.069, allocations: 0.5513 MB / 2.031 GB, free: 61.6 MB / 1.245 GB Notification: Performance of NFTyping.typeComponents: time 0.01937/2.088, allocations: 6.427 MB / 2.037 GB, free: 61.48 MB / 1.245 GB Notification: Performance of NFTyping.typeBindings: time 0.05052/2.139, allocations: 18.17 MB / 2.055 GB, free: 59.05 MB / 1.245 GB Notification: Performance of NFTyping.typeClassSections: time 0.02901/2.168, allocations: 12.85 MB / 2.067 GB, free: 52.14 MB / 1.245 GB Notification: Performance of NFFlatten.flatten: time 0.05249/2.221, allocations: 47.86 MB / 2.114 GB, free: 31.35 MB / 1.245 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02548/2.246, allocations: 15.62 MB / 2.129 GB, free: 17.21 MB / 1.245 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03223/2.278, allocations: 13.81 MB / 2.143 GB, free: 4.086 MB / 1.245 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02183/2.3, allocations: 11.01 MB / 2.153 GB, free: 9.84 MB / 1.26 GB Notification: Performance of NFPackage.collectConstants: time 0.006363/2.307, allocations: 0.8242 MB / 2.154 GB, free: 9.016 MB / 1.26 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02888/2.336, allocations: 10.62 MB / 2.165 GB, free: 15.23 MB / 1.276 GB Notification: Performance of NFScalarize.scalarize: time 0.008218/2.344, allocations: 3.732 MB / 2.168 GB, free: 11.58 MB / 1.276 GB Notification: Performance of NFVerifyModel.verify: time 0.02127/2.365, allocations: 8.374 MB / 2.176 GB, free: 3.242 MB / 1.276 GB Notification: Performance of NFConvertDAE.convert: time 0.06247/2.428, allocations: 36.18 MB / 2.212 GB, free: 4 kB / 1.307 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/2.428, allocations: 0 / 2.212 GB, free: 4 kB / 1.307 GB Notification: Performance of FrontEnd: time 1.693e-06/2.428, allocations: 4 kB / 2.212 GB, free: 0 / 1.307 GB Notification: Performance of Transformations before backend: time 0.0008225/2.429, allocations: 0 / 2.212 GB, free: 0 / 1.307 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2689 * Number of variables: 2689 Notification: Performance of Generate backend data structure: time 0.04472/2.473, allocations: 18.2 MB / 2.23 GB, free: 13.81 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/2.473, allocations: 11.98 kB / 2.23 GB, free: 13.8 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03736/2.511, allocations: 6.945 MB / 2.236 GB, free: 6.836 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03003/2.541, allocations: 15.78 MB / 2.252 GB, free: 7.25 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002537/2.543, allocations: 1.184 MB / 2.253 GB, free: 6.059 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003667/2.547, allocations: 1.072 MB / 2.254 GB, free: 4.992 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0391/2.586, allocations: 15.73 MB / 2.269 GB, free: 4.91 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002379/2.586, allocations: 21.12 kB / 2.269 GB, free: 4.891 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002508/2.589, allocations: 438.6 kB / 2.27 GB, free: 4.465 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003111/2.589, allocations: 391.9 kB / 2.27 GB, free: 4.082 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04178/2.631, allocations: 16.19 MB / 2.286 GB, free: 3.879 MB / 1.385 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1133/2.744, allocations: 68.46 MB / 2.353 GB, free: 13.04 MB / 1.464 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02399/2.768, allocations: 9.532 MB / 2.362 GB, free: 3.539 MB / 1.464 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01426/2.783, allocations: 5.957 MB / 2.368 GB, free: 13.55 MB / 1.479 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.03761/2.82, allocations: 22.27 MB / 2.39 GB, free: 6.688 MB / 1.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01361/2.834, allocations: 6.305 MB / 2.396 GB, free: 308 kB / 1.495 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005019/2.839, allocations: 0.7984 MB / 2.397 GB, free: 15.5 MB / 1.51 GB Notification: Performance of pre-optimization done (n=623): time 1.41e-05/2.839, allocations: 0 / 2.397 GB, free: 15.5 MB / 1.51 GB Notification: Performance of matching and sorting (n=623): time 0.09608/2.935, allocations: 23.67 MB / 2.42 GB, free: 7.578 MB / 1.526 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001885/2.935, allocations: 406.9 kB / 2.42 GB, free: 7.098 MB / 1.526 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02123/2.957, allocations: 11.6 MB / 2.431 GB, free: 11.57 MB / 1.542 GB Notification: Performance of collectPreVariables (initialization): time 0.002311/2.959, allocations: 171.9 kB / 2.432 GB, free: 11.39 MB / 1.542 GB Notification: Performance of collectInitialEqns (initialization): time 0.008113/2.967, allocations: 6.413 MB / 2.438 GB, free: 4.977 MB / 1.542 GB Notification: Performance of collectInitialBindings (initialization): time 0.004114/2.971, allocations: 2.112 MB / 2.44 GB, free: 2.883 MB / 1.542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005135/2.976, allocations: 1.732 MB / 2.442 GB, free: 1.145 MB / 1.542 GB Notification: Performance of setup shared object (initialization): time 0.0001207/2.977, allocations: 305.1 kB / 2.442 GB, free: 0.8438 MB / 1.542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01511/2.992, allocations: 5.53 MB / 2.447 GB, free: 11.31 MB / 1.557 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01801/3.01, allocations: 7.773 MB / 2.455 GB, free: 2.641 MB / 1.557 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5806/3.59, allocations: 12.7 MB / 2.467 GB, free: 0.7625 GB / 1.557 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.002e-05/3.591, allocations: 14.94 kB / 2.467 GB, free: 0.7625 GB / 1.557 GB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.0457/3.636, allocations: 15.63 MB / 2.483 GB, free: 0.7571 GB / 1.557 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/3.636, allocations: 32.5 kB / 2.483 GB, free: 0.7571 GB / 1.557 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.758e-05/3.636, allocations: 51.97 kB / 2.483 GB, free: 0.7571 GB / 1.557 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008917/3.645, allocations: 3.129 MB / 2.486 GB, free: 0.7564 GB / 1.557 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01225/3.658, allocations: 2.187 MB / 2.488 GB, free: 0.7563 GB / 1.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02122/3.679, allocations: 16.79 MB / 2.504 GB, free: 0.7433 GB / 1.557 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01577/3.695, allocations: 1.422 MB / 2.506 GB, free: 0.7432 GB / 1.557 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002529/3.697, allocations: 421.1 kB / 2.506 GB, free: 0.7431 GB / 1.557 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0223/3.72, allocations: 8.626 MB / 2.515 GB, free: 0.7395 GB / 1.557 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01645/3.736, allocations: 7.624 MB / 2.522 GB, free: 0.7351 GB / 1.557 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02942/3.766, allocations: 12.42 MB / 2.534 GB, free: 0.7289 GB / 1.557 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001219/3.766, allocations: 15.5 kB / 2.534 GB, free: 0.7289 GB / 1.557 GB Notification: Performance of matching and sorting (n=1007) (initialization_lambda0): time 0.04409/3.81, allocations: 15.32 MB / 2.549 GB, free: 0.7236 GB / 1.557 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/3.81, allocations: 28.03 kB / 2.549 GB, free: 0.7236 GB / 1.557 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/3.81, allocations: 52.78 kB / 2.549 GB, free: 0.7236 GB / 1.557 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008847/3.819, allocations: 3.121 MB / 2.552 GB, free: 0.7211 GB / 1.557 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01136/3.83, allocations: 2.17 MB / 2.554 GB, free: 0.7194 GB / 1.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/3.85, allocations: 15.4 MB / 2.569 GB, free: 0.7039 GB / 1.557 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01614/3.866, allocations: 1.401 MB / 2.571 GB, free: 0.7026 GB / 1.557 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002379/3.868, allocations: 411.8 kB / 2.571 GB, free: 0.7022 GB / 1.557 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 236 * Number of states: 0 () * Number of discrete variables: 27 (bui.terUni.hexWetNtu.flowRegime_nominal,$PRE.bui.intGai.nextTimeEvent,$whenCondition3,bui.disFloCoo.conVal.fixMod.y,bui.disFloHea.conVal.fixMod.y,bui.disFloCoo.conVal.conTSup.con1.y,bui.disFloHea.conVal.conTSup.con1.y,bui.terUni.conCoo.con1.y,bui.terUni.conHea.con1.y,bui.terUni.hexWetNtu.UAFroRated.isFulWet,bui.terUni.hexWetNtu.UAFroRated.isFulDry,bui.terUni.hexHea.flowRegime_nominal,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,bui.terUni.hexWetNtu.flowRegime,bui.terUni.hexHea.flowRegime,bui.intGai.nextTimeEventScaled,$PRE.bui.intGai.nextTimeEventScaled,bui.intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,bui.disFloCoo.conVal.conTSup.cheYMinMax.y,bui.disFloHea.conVal.conTSup.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (908): * Single equations (assignments): 893 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,4,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,46), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.004272/3.872, allocations: 0.6705 MB / 2.572 GB, free: 0.7015 GB / 1.557 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004823/3.877, allocations: 1.176 MB / 2.573 GB, free: 0.7006 GB / 1.557 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0582/3.935, allocations: 15.49 MB / 2.588 GB, free: 0.6854 GB / 1.557 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/3.936, allocations: 71.92 kB / 2.588 GB, free: 0.6853 GB / 1.557 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.993e-05/3.936, allocations: 4 kB / 2.588 GB, free: 0.6853 GB / 1.557 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04837/3.984, allocations: 12.71 MB / 2.601 GB, free: 0.6728 GB / 1.557 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06857/4.053, allocations: 29.36 MB / 2.629 GB, free: 0.6441 GB / 1.557 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-05/4.053, allocations: 4 kB / 2.629 GB, free: 0.6441 GB / 1.557 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009406/4.062, allocations: 1.588 MB / 2.631 GB, free: 0.6425 GB / 1.557 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005941/4.068, allocations: 2.053 MB / 2.633 GB, free: 0.6405 GB / 1.557 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001693/4.07, allocations: 199.8 kB / 2.633 GB, free: 0.6403 GB / 1.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/4.085, allocations: 16.1 MB / 2.649 GB, free: 0.6236 GB / 1.557 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/4.085, allocations: 7.938 kB / 2.649 GB, free: 0.6236 GB / 1.557 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "bui.terUni.hexHea.flowRegime = if bui.terUni.hexHea.C1_flow * bui.terUni.hexHea.C2_flow >= 0.0 then Buildings.Fluid.Types.HeatExchangerFlowRegime.CounterFlow else Buildings.Fluid.Types.HeatExchangerFlowRegime.ParallelFlow" 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.169/4.254, allocations: 53.39 MB / 2.701 GB, free: 0.571 GB / 1.557 GB Error: post-optimization module symbolicJacobian (simulation) failed.