Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1.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.CouplingSpawnZ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.017/2.017, allocations: 391.2 MB / 407 MB, free: 10.88 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.001235/0.001235, allocations: 193.4 kB / 499.1 MB, free: 4.676 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.328/1.328, allocations: 222.9 MB / 0.7948 GB, free: 15.77 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.0009988/0.0009989, allocations: 107.6 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 51.05 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2742, 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.CouplingSpawnZ1): time 1.111/1.385, allocations: 0.6667 GB / 1.885 GB, free: 1.961 MB / 1.229 GB Notification: Performance of NFInst.instExpressions: time 0.8562/2.242, allocations: 132 MB / 2.014 GB, free: 58.5 MB / 1.245 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02747/2.269, allocations: 0.552 MB / 2.014 GB, free: 58.5 MB / 1.245 GB Notification: Performance of NFTyping.typeComponents: time 0.01292/2.282, allocations: 3.802 MB / 2.018 GB, free: 58.43 MB / 1.245 GB Notification: Performance of NFTyping.typeBindings: time 0.03604/2.318, allocations: 11.55 MB / 2.029 GB, free: 57.93 MB / 1.245 GB Notification: Performance of NFTyping.typeClassSections: time 0.02036/2.339, allocations: 7.266 MB / 2.036 GB, free: 57.73 MB / 1.245 GB Notification: Performance of NFFlatten.flatten: time 0.03405/2.373, allocations: 27.19 MB / 2.063 GB, free: 52.97 MB / 1.245 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01988/2.393, allocations: 8.003 MB / 2.071 GB, free: 49.68 MB / 1.245 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02598/2.419, allocations: 8.726 MB / 2.079 GB, free: 46.1 MB / 1.245 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01444/2.433, allocations: 5.955 MB / 2.085 GB, free: 43.18 MB / 1.245 GB Notification: Performance of NFPackage.collectConstants: time 0.004127/2.437, allocations: 446.2 kB / 2.085 GB, free: 43.18 MB / 1.245 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0235/2.461, allocations: 8.838 MB / 2.094 GB, free: 39.69 MB / 1.245 GB Notification: Performance of NFScalarize.scalarize: time 0.004787/2.466, allocations: 2.035 MB / 2.096 GB, free: 38.31 MB / 1.245 GB Notification: Performance of NFVerifyModel.verify: time 0.01243/2.478, allocations: 4.623 MB / 2.101 GB, free: 35.25 MB / 1.245 GB Notification: Performance of NFConvertDAE.convert: time 0.03102/2.509, allocations: 21.3 MB / 2.121 GB, free: 17.8 MB / 1.245 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/2.509, allocations: 0 / 2.121 GB, free: 17.8 MB / 1.245 GB Notification: Performance of FrontEnd: time 1.453e-06/2.509, allocations: 0 / 2.121 GB, free: 17.8 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.0005551/2.51, allocations: 0 / 2.121 GB, free: 17.8 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.02391/2.534, allocations: 10.2 MB / 2.131 GB, free: 7.594 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/2.534, allocations: 11.98 kB / 2.131 GB, free: 7.582 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0206/2.554, allocations: 3.589 MB / 2.135 GB, free: 3.988 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01746/2.572, allocations: 8.589 MB / 2.143 GB, free: 11.62 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00159/2.573, allocations: 0.7501 MB / 2.144 GB, free: 10.86 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/2.575, allocations: 0.6047 MB / 2.145 GB, free: 10.26 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/2.591, allocations: 8.246 MB / 2.153 GB, free: 1.848 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.06e-05/2.591, allocations: 12.3 kB / 2.153 GB, free: 1.84 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005802/2.591, allocations: 243.9 kB / 2.153 GB, free: 1.602 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/2.591, allocations: 215.9 kB / 2.153 GB, free: 1.391 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/2.61, allocations: 8.341 MB / 2.161 GB, free: 9.078 MB / 1.276 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.05165/2.662, allocations: 37.08 MB / 2.197 GB, free: 3.035 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01465/2.677, allocations: 5.789 MB / 2.203 GB, free: 13.26 MB / 1.323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007345/2.684, allocations: 3.138 MB / 2.206 GB, free: 10.11 MB / 1.323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02052/2.705, allocations: 12.96 MB / 2.219 GB, free: 12.7 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007946/2.713, allocations: 3.401 MB / 2.222 GB, free: 9.25 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003635/2.716, allocations: 440.1 kB / 2.223 GB, free: 8.816 MB / 1.339 GB Notification: Performance of pre-optimization done (n=354): time 1.637e-05/2.716, allocations: 7.922 kB / 2.223 GB, free: 8.809 MB / 1.339 GB Notification: Performance of matching and sorting (n=354): time 0.08584/2.802, allocations: 17.68 MB / 2.24 GB, free: 6.996 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001957/2.802, allocations: 461.3 kB / 2.24 GB, free: 6.445 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/2.814, allocations: 5.968 MB / 2.246 GB, free: 0.5 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001095/2.815, allocations: 105.7 kB / 2.246 GB, free: 400 kB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.003375/2.818, allocations: 3.367 MB / 2.249 GB, free: 13.02 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.001709/2.82, allocations: 1.178 MB / 2.251 GB, free: 11.85 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00316/2.823, allocations: 1.029 MB / 2.252 GB, free: 10.81 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/2.823, allocations: 301.1 kB / 2.252 GB, free: 10.51 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008317/2.832, allocations: 2.957 MB / 2.255 GB, free: 7.539 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01162/2.843, allocations: 4.184 MB / 2.259 GB, free: 2.887 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01819/2.862, allocations: 6.682 MB / 2.265 GB, free: 11.91 MB / 1.385 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.062e-05/2.862, allocations: 8 kB / 2.265 GB, free: 11.9 MB / 1.385 GB Notification: Performance of matching and sorting (n=587) (initialization): time 0.02535/2.887, allocations: 8.835 MB / 2.274 GB, free: 3.141 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 6.982e-05/2.887, allocations: 41.7 kB / 2.274 GB, free: 3.094 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.523e-05/2.887, allocations: 24 kB / 2.274 GB, free: 3.07 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008878/2.896, allocations: 2.889 MB / 2.277 GB, free: 164 kB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006166/2.902, allocations: 1.165 MB / 2.278 GB, free: 15.05 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01667/2.919, allocations: 10.88 MB / 2.289 GB, free: 3.605 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00944/2.928, allocations: 0.8224 MB / 2.29 GB, free: 2.789 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/2.93, allocations: 243.9 kB / 2.29 GB, free: 2.551 MB / 1.401 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0125/2.942, allocations: 4.593 MB / 2.294 GB, free: 13.95 MB / 1.417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009338/2.952, allocations: 4.125 MB / 2.298 GB, free: 9.352 MB / 1.417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01639/2.968, allocations: 6.586 MB / 2.305 GB, free: 2.461 MB / 1.417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.606e-05/2.968, allocations: 8 kB / 2.305 GB, free: 2.453 MB / 1.417 GB Notification: Performance of matching and sorting (n=587) (initialization_lambda0): time 0.02529/2.993, allocations: 8.741 MB / 2.313 GB, free: 9.793 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 6.395e-05/2.994, allocations: 45.69 kB / 2.313 GB, free: 9.742 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.523e-05/2.994, allocations: 28 kB / 2.313 GB, free: 9.715 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008713/3.002, allocations: 2.878 MB / 2.316 GB, free: 6.82 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006015/3.008, allocations: 1.156 MB / 2.317 GB, free: 5.723 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/3.025, allocations: 10.88 MB / 2.328 GB, free: 10.27 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009271/3.034, allocations: 0.8139 MB / 2.329 GB, free: 9.465 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/3.035, allocations: 239.9 kB / 2.329 GB, free: 9.23 MB / 1.448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 118 * Number of states: 0 () * Number of discrete variables: 37 (bui.terUni.hexWetNtu.flowRegime_nominal,bui.zon.fmuZon.tLast,bui.building.weaDat.conTim.canRepeatWeatherFile,bui.building.weaDat.conTimMin.canRepeatWeatherFile,bui.building.weaDat.conTim.tNext,$PRE.bui.building.weaDat.conTim.tNext,bui.building.weaDat.conTimMin.tNext,$PRE.bui.building.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3,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,bui.zon.vol.computeCSen,bui.zon.fmuZon.nObj,bui.terUni.hexWetNtu.flowRegime,bui.terUni.hexHea.flowRegime,bui.zon.fmuZon.QConLast_flow,bui.zon.fmuZon.TRooLast,bui.zon.fmuZon.TAveInlet,$PRE.bui.zon.fmuZon.TAveInlet,bui.zon.fmuZon.mInlet_flow,bui.zon.fmuZon.dtLast,$PRE.bui.zon.fmuZon.tLast,bui.zon.fmuZon.tNext,$PRE.bui.zon.fmuZon.tNext,bui.zon.fmuZon.yEP[5],bui.zon.fmuZon.yEP[4],bui.zon.fmuZon.yEP[3],bui.zon.fmuZon.yEP[2],bui.zon.fmuZon.yEP[1],bui.zon.fmuZon.QPeo_flow,bui.zon.fmuZon.QLat_flow,bui.zon.fmuZon.TRad,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (514): * Single equations (assignments): 502 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (5,46), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002099/3.038, allocations: 0.5063 MB / 2.329 GB, free: 8.773 MB / 1.448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002494/3.04, allocations: 0.6405 MB / 2.33 GB, free: 8.125 MB / 1.448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.042/3.082, allocations: 9.597 MB / 2.339 GB, free: 14.51 MB / 1.464 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.884e-05/3.082, allocations: 43.98 kB / 2.339 GB, free: 14.46 MB / 1.464 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.561e-05/3.082, allocations: 8 kB / 2.339 GB, free: 14.46 MB / 1.464 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03601/3.118, allocations: 7.496 MB / 2.347 GB, free: 6.859 MB / 1.464 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.04581/3.164, allocations: 16.46 MB / 2.363 GB, free: 6.398 MB / 1.479 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.966e-05/3.164, allocations: 7.938 kB / 2.363 GB, free: 6.391 MB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004482/3.169, allocations: 0.7686 MB / 2.364 GB, free: 5.621 MB / 1.479 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006209/3.175, allocations: 1.878 MB / 2.365 GB, free: 3.727 MB / 1.479 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008148/3.176, allocations: 123.8 kB / 2.366 GB, free: 3.605 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/3.19, allocations: 10.24 MB / 2.376 GB, free: 8.676 MB / 1.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/3.19, allocations: 4 kB / 2.376 GB, free: 8.672 MB / 1.495 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.08647/3.276, allocations: 21.88 MB / 2.397 GB, free: 2.5 MB / 1.51 GB Error: post-optimization module symbolicJacobian (simulation) failed.