Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.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.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.3 MB / 308.1 MB, free: 4.328 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.002365/0.002365, allocations: 198.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.499/1.499, allocations: 205.1 MB / 0.6354 GB, free: 9.766 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.001006/0.001006, allocations: 100.5 kB / 0.7479 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 47.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2713, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.7467/1.018, allocations: 248.5 MB / 1.225 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02939/1.048, allocations: 19.39 MB / 1.244 GB, free: 4.422 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004956/1.053, allocations: 62.69 kB / 1.244 GB, free: 4.398 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.004289/1.057, allocations: 0.9736 MB / 1.245 GB, free: 3.863 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01394/1.071, allocations: 3.683 MB / 1.248 GB, free: 1.797 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00877/1.08, allocations: 2.152 MB / 1.251 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01158/1.091, allocations: 6.512 MB / 1.257 GB, free: 14 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004271/1.096, allocations: 1.584 MB / 1.258 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008697/1.104, allocations: 2.09 MB / 1.26 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004942/1.109, allocations: 1.636 MB / 1.262 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001318/1.111, allocations: 114.9 kB / 1.262 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/1.123, allocations: 4.652 MB / 1.267 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001597/1.125, allocations: 0.5722 MB / 1.267 GB, free: 9.91 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003745/1.129, allocations: 1.24 MB / 1.268 GB, free: 9.188 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01385/1.143, allocations: 5.367 MB / 1.274 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.143, allocations: 0 / 1.274 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.973e-06/1.143, allocations: 0 / 1.274 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001639/1.143, allocations: 0 / 1.274 GB, free: 7.277 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.01022/1.153, allocations: 3.296 MB / 1.277 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.153, allocations: 7.75 kB / 1.277 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/1.169, allocations: 2.137 MB / 1.279 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005035/1.174, allocations: 1.862 MB / 1.281 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008276/1.175, allocations: 247.5 kB / 1.281 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007973/1.175, allocations: 183.9 kB / 1.281 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/1.19, allocations: 2.872 MB / 1.284 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.149e-05/1.19, allocations: 0 / 1.284 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000729/1.191, allocations: 68 kB / 1.284 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/1.191, allocations: 63.19 kB / 1.284 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02275/1.214, allocations: 3.405 MB / 1.288 GB, free: 10.94 MB / 0.8542 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.03383/1.248, allocations: 9.078 MB / 1.296 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01595/1.264, allocations: 2.495 MB / 1.299 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009494/1.274, allocations: 1.531 MB / 1.3 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01877/1.292, allocations: 5.231 MB / 1.305 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01018/1.303, allocations: 1.713 MB / 1.307 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=149): time 1.014e-05/1.303, allocations: 0 / 1.307 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=149): time 0.03347/1.336, allocations: 4.638 MB / 1.312 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/1.336, allocations: 149.8 kB / 1.312 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005244/1.342, allocations: 1.649 MB / 1.313 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006239/1.342, allocations: 61.7 kB / 1.313 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/1.344, allocations: 0.8268 MB / 1.314 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/1.345, allocations: 0.4968 MB / 1.315 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002243/1.347, allocations: 423.1 kB / 1.315 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.347, allocations: 301.1 kB / 1.315 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009236/1.357, allocations: 1.441 MB / 1.317 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009992/1.367, allocations: 1.768 MB / 1.319 GB, free: 10.14 MB / 0.8855 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02259/1.389, allocations: 3.668 MB / 1.322 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-05/1.389, allocations: 0 / 1.322 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.02341/1.413, allocations: 3.776 MB / 1.326 GB, free: 2.551 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/1.413, allocations: 71.39 kB / 1.326 GB, free: 2.469 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/1.413, allocations: 7.938 kB / 1.326 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/1.414, allocations: 194.6 kB / 1.326 GB, free: 2.262 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008572/1.423, allocations: 0.7957 MB / 1.327 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005355/1.428, allocations: 3.904 MB / 1.331 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007482/1.436, allocations: 0.4901 MB / 1.331 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007034/1.436, allocations: 92.55 kB / 1.331 GB, free: 12.66 MB / 0.9011 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01013/1.447, allocations: 1.833 MB / 1.333 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009204/1.456, allocations: 1.764 MB / 1.335 GB, free: 8.953 MB / 0.9011 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01772/1.474, allocations: 3.663 MB / 1.338 GB, free: 5.164 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-05/1.474, allocations: 0 / 1.338 GB, free: 5.164 MB / 0.9011 GB Notification: Performance of matching and sorting (n=233) (initialization_lambda0): time 0.0179/1.491, allocations: 3.772 MB / 1.342 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.661e-05/1.492, allocations: 71.39 kB / 1.342 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/1.492, allocations: 4 kB / 1.342 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/1.493, allocations: 198.6 kB / 1.342 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006984/1.5, allocations: 0.788 MB / 1.343 GB, free: 296 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/1.504, allocations: 3.886 MB / 1.347 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006233/1.51, allocations: 478.3 kB / 1.347 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006794/1.511, allocations: 99.91 kB / 1.347 GB, free: 11.52 MB / 0.9167 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 18 (hex.UAFroRated.isFulWet,hex.UAFroRated.isFulDry,hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 207 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001276/1.512, allocations: 363.7 kB / 1.348 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/1.514, allocations: 201.6 kB / 1.348 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01668/1.53, allocations: 3.598 MB / 1.351 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/1.53, allocations: 15.98 kB / 1.351 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.53, allocations: 3.938 kB / 1.351 GB, free: 7.301 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/1.53, allocations: 11.98 kB / 1.351 GB, free: 7.289 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/1.548, allocations: 6.368 MB / 1.358 GB, free: 0.8047 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/1.548, allocations: 0 / 1.358 GB, free: 0.8047 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003318/1.551, allocations: 0.5229 MB / 1.358 GB, free: 288 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007902/1.552, allocations: 149.6 kB / 1.358 GB, free: 132 kB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002295/1.552, allocations: 55.94 kB / 1.358 GB, free: 76 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/1.554, allocations: 1.99 MB / 1.36 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.554, allocations: 4 kB / 1.36 GB, free: 13.91 MB / 0.9323 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "hex.flowRegime = if hex.C1_flow * hex.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.05423/1.608, allocations: 11.73 MB / 1.372 GB, free: 2.016 MB / 0.9323 GB Error: post-optimization module symbolicJacobian (simulation) failed.