Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.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.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.113/2.113, allocations: 391.2 MB / 407 MB, free: 10.91 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.001177/0.001177, allocations: 197.3 kB / 499.1 MB, free: 4.672 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.478/1.478, allocations: 222.9 MB / 0.7948 GB, free: 15.79 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.001413/0.001414, allocations: 109.9 kB / 0.9329 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 54.39 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2755, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents): time 0.1691/0.4447, allocations: 182.8 MB / 1.397 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.4554, allocations: 6.863 MB / 1.403 GB, free: 6.953 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009307/0.4564, allocations: 23.81 kB / 1.403 GB, free: 6.93 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0009759/0.4574, allocations: 298.4 kB / 1.404 GB, free: 6.637 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004872/0.4623, allocations: 1.873 MB / 1.405 GB, free: 4.762 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.4641, allocations: 0.6219 MB / 1.406 GB, free: 4.145 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002566/0.4667, allocations: 2.402 MB / 1.408 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009113/0.4676, allocations: 0.7605 MB / 1.409 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.4699, allocations: 1.067 MB / 1.41 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002679/0.4726, allocations: 0.6992 MB / 1.411 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.4727, allocations: 40 kB / 1.411 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005381/0.4781, allocations: 2.99 MB / 1.414 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004464/0.4786, allocations: 494.7 kB / 1.414 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0006264/0.4792, allocations: 0.5716 MB / 1.415 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004126/0.4834, allocations: 2.961 MB / 1.418 GB, free: 8.148 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4834, allocations: 4 kB / 1.418 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.92e-07/0.4834, allocations: 0 / 1.418 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.4834, allocations: 4 kB / 1.418 GB, free: 8.141 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002422/0.4858, allocations: 1.5 MB / 1.419 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4859, allocations: 11.98 kB / 1.419 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00303/0.4889, allocations: 498.1 kB / 1.42 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.4907, allocations: 0.9524 MB / 1.421 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.222e-05/0.4908, allocations: 69.94 kB / 1.421 GB, free: 5.023 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.4909, allocations: 87.91 kB / 1.421 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.4924, allocations: 1.065 MB / 1.422 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.4924, allocations: 0 / 1.422 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.4925, allocations: 43.94 kB / 1.422 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/0.4926, allocations: 37.98 kB / 1.422 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.4939, allocations: 0.9877 MB / 1.423 GB, free: 2.797 MB / 0.9167 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.5705/1.064, allocations: 3.583 MB / 1.426 GB, free: 206 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/1.066, allocations: 0.7215 MB / 1.427 GB, free: 205.9 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006053/1.066, allocations: 467.1 kB / 1.428 GB, free: 205.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.885e-05/1.066, allocations: 23.19 kB / 1.428 GB, free: 205.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.066, allocations: 49.81 kB / 1.428 GB, free: 205.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=62): time 2.755e-06/1.066, allocations: 0 / 1.428 GB, free: 205.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=62): time 0.002316/1.069, allocations: 1.192 MB / 1.429 GB, free: 205.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/1.069, allocations: 62.61 kB / 1.429 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009939/1.07, allocations: 0.7357 MB / 1.43 GB, free: 204.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/1.07, allocations: 37.3 kB / 1.43 GB, free: 204.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/1.07, allocations: 413.1 kB / 1.43 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/1.07, allocations: 217.7 kB / 1.43 GB, free: 204.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/1.071, allocations: 121.2 kB / 1.43 GB, free: 204.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.071, allocations: 388.3 kB / 1.431 GB, free: 204.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/1.071, allocations: 340.9 kB / 1.431 GB, free: 203.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/1.072, allocations: 434.5 kB / 1.431 GB, free: 203.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/1.073, allocations: 0.7397 MB / 1.432 GB, free: 203.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.073, allocations: 0.5625 kB / 1.432 GB, free: 203.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001509/1.075, allocations: 0.8942 MB / 1.433 GB, free: 203.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.075, allocations: 6.516 kB / 1.433 GB, free: 203.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.075, allocations: 3.734 kB / 1.433 GB, free: 203.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/1.075, allocations: 6 kB / 1.433 GB, free: 203.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/1.075, allocations: 142.9 kB / 1.433 GB, free: 203.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002892/1.076, allocations: 0.5942 MB / 1.434 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009148/1.077, allocations: 147.2 kB / 1.434 GB, free: 202.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/1.077, allocations: 26.05 kB / 1.434 GB, free: 202.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009219/1.078, allocations: 0.6118 MB / 1.434 GB, free: 202.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005908/1.078, allocations: 434.7 kB / 1.435 GB, free: 202 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00136/1.08, allocations: 0.7349 MB / 1.436 GB, free: 201.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/1.08, allocations: 2.062 kB / 1.436 GB, free: 201.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.00195/1.082, allocations: 0.8909 MB / 1.436 GB, free: 201.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.082, allocations: 6.203 kB / 1.436 GB, free: 201.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.082, allocations: 0.9375 kB / 1.436 GB, free: 201.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/1.082, allocations: 3.688 kB / 1.436 GB, free: 201.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/1.082, allocations: 131.8 kB / 1.437 GB, free: 201.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.082, allocations: 3.906 kB / 1.437 GB, free: 201.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/1.083, allocations: 128.4 kB / 1.437 GB, free: 201.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.011e-05/1.084, allocations: 37.2 kB / 1.437 GB, free: 201.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0003064/1.084, allocations: 212.5 kB / 1.437 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/1.084, allocations: 79.05 kB / 1.437 GB, free: 201 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/1.086, allocations: 0.8797 MB / 1.438 GB, free: 200.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/1.086, allocations: 11.09 kB / 1.438 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.086, allocations: 1.359 kB / 1.438 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001462/1.087, allocations: 0.8204 MB / 1.439 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005695/1.093, allocations: 2.588 MB / 1.441 GB, free: 199 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.093, allocations: 8.75 kB / 1.441 GB, free: 199 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006394/1.094, allocations: 135.6 kB / 1.441 GB, free: 198.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001998/1.094, allocations: 44.17 kB / 1.441 GB, free: 198.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-05/1.094, allocations: 25.77 kB / 1.441 GB, free: 198.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005075/1.095, allocations: 1.181 MB / 1.443 GB, free: 197.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/1.095, allocations: 7.938 kB / 1.443 GB, free: 197.8 MB / 0.9167 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "$cse1 = Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.vol.dynBal.Medium.T_hX(vol.ports[2].h_outflow, {0.768, 0.0, 0.0, 0.232, 0.0, 0.0}, true, Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K, 0.0)" 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.008769/1.103, allocations: 3.673 MB / 1.446 GB, free: 195.8 MB / 0.9167 GB Error: post-optimization module symbolicJacobian (simulation) failed.