Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.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.MSLCombustionAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.414/2.414, allocations: 391.2 MB / 407 MB, free: 10.89 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.00127/0.00127, allocations: 195.4 kB / 499.1 MB, free: 4.695 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.413/1.413, allocations: 222.9 MB / 0.7948 GB, free: 15.78 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.001015/0.001015, allocations: 103.6 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 51.97 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2473, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir): time 0.1639/0.4113, allocations: 182.7 MB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.009074/0.4204, allocations: 6.857 MB / 1.403 GB, free: 7.043 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008132/0.4213, allocations: 19.88 kB / 1.403 GB, free: 7.023 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000995/0.4223, allocations: 302.4 kB / 1.403 GB, free: 6.727 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004748/0.4271, allocations: 1.866 MB / 1.405 GB, free: 4.859 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.429, allocations: 0.6177 MB / 1.406 GB, free: 4.246 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002426/0.4314, allocations: 2.258 MB / 1.408 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000758/0.4322, allocations: 495.1 kB / 1.409 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.4339, allocations: 0.8212 MB / 1.409 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.4354, allocations: 0.5178 MB / 1.41 GB, free: 164 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.4355, allocations: 28 kB / 1.41 GB, free: 136 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004371/0.4399, allocations: 2.576 MB / 1.412 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.4402, allocations: 251.3 kB / 1.413 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005062/0.4408, allocations: 354.2 kB / 1.413 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003441/0.4442, allocations: 2.088 MB / 1.415 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4442, allocations: 0 / 1.415 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4442, allocations: 0 / 1.415 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.237e-05/0.4443, allocations: 0 / 1.415 GB, free: 10.86 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002002/0.4463, allocations: 1.114 MB / 1.416 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4463, allocations: 11.98 kB / 1.416 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.4481, allocations: 270.9 kB / 1.416 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.4493, allocations: 0.6181 MB / 1.417 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.4493, allocations: 40.98 kB / 1.417 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.53e-05/0.4494, allocations: 52 kB / 1.417 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009573/0.4504, allocations: 0.5957 MB / 1.418 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.4504, allocations: 0 / 1.418 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/0.4505, allocations: 19.94 kB / 1.418 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.4505, allocations: 25 kB / 1.418 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007117/0.4512, allocations: 475.7 kB / 1.418 GB, free: 7.551 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.002715/0.4539, allocations: 2.148 MB / 1.42 GB, free: 5.227 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.4545, allocations: 390.1 kB / 1.421 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.4548, allocations: 215 kB / 1.421 GB, free: 4.629 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.351e-05/0.4549, allocations: 16.28 kB / 1.421 GB, free: 4.613 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.4549, allocations: 42.72 kB / 1.421 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.4549, allocations: 0 / 1.421 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34): time 0.001221/0.4562, allocations: 0.6565 MB / 1.422 GB, free: 3.879 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.4562, allocations: 55.41 kB / 1.422 GB, free: 3.812 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.4567, allocations: 0.4902 MB / 1.422 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.4568, allocations: 29.7 kB / 1.422 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.457, allocations: 284.3 kB / 1.422 GB, free: 2.996 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.4571, allocations: 130.2 kB / 1.422 GB, free: 2.867 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.4572, allocations: 77.59 kB / 1.423 GB, free: 2.785 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4574, allocations: 366.7 kB / 1.423 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.4576, allocations: 156.8 kB / 1.423 GB, free: 2.262 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.4579, allocations: 221.2 kB / 1.423 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.4584, allocations: 375.4 kB / 1.424 GB, free: 1.652 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4584, allocations: 0 / 1.424 GB, free: 1.652 MB / 0.9167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000719/0.4591, allocations: 468.8 kB / 1.424 GB, free: 1.188 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.4592, allocations: 4 kB / 1.424 GB, free: 1.184 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.4592, allocations: 4 kB / 1.424 GB, free: 1.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4592, allocations: 0 / 1.424 GB, free: 1.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/0.4597, allocations: 91.88 kB / 1.424 GB, free: 1.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003394/0.4601, allocations: 0.5898 MB / 1.425 GB, free: 488 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.4606, allocations: 79.72 kB / 1.425 GB, free: 408 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.4606, allocations: 20 kB / 1.425 GB, free: 388 kB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004367/0.4611, allocations: 336 kB / 1.425 GB, free: 48 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.5727/1.034, allocations: 211.2 kB / 1.425 GB, free: 207.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000578/1.034, allocations: 365.4 kB / 1.426 GB, free: 207 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/1.034, allocations: 1.375 kB / 1.426 GB, free: 207 MB / 0.9167 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0008192/1.035, allocations: 471.2 kB / 1.426 GB, free: 207 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.035, allocations: 5.25 kB / 1.426 GB, free: 207 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/1.035, allocations: 1.469 kB / 1.426 GB, free: 207 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/1.035, allocations: 3.938 kB / 1.426 GB, free: 207 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/1.036, allocations: 74.72 kB / 1.426 GB, free: 207 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/1.036, allocations: 8.188 kB / 1.426 GB, free: 207 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/1.036, allocations: 68.89 kB / 1.426 GB, free: 207 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/1.036, allocations: 16.98 kB / 1.426 GB, free: 207 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 (42): * Single equations (assignments): 41 * 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.0001379/1.036, allocations: 211.1 kB / 1.427 GB, free: 206.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.036, allocations: 51.66 kB / 1.427 GB, free: 206.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008545/1.037, allocations: 469 kB / 1.427 GB, free: 206.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.037, allocations: 7.344 kB / 1.427 GB, free: 206.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.037, allocations: 0.6094 kB / 1.427 GB, free: 206.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005911/1.038, allocations: 0.6966 MB / 1.428 GB, free: 206.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/1.04, allocations: 1.42 MB / 1.429 GB, free: 205.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.04, allocations: 3.594 kB / 1.429 GB, free: 205.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/1.04, allocations: 81 kB / 1.429 GB, free: 205.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/1.04, allocations: 25.81 kB / 1.429 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/1.04, allocations: 16.98 kB / 1.429 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003932/1.041, allocations: 1.151 MB / 1.43 GB, free: 204.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.041, allocations: 1.312 kB / 1.43 GB, free: 204.1 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.MSLCombustionAir.vol.dynBal.Medium.T_hX(vol.ports[2].h_outflow, {0.768, 0.232}, 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.00544/1.046, allocations: 2.297 MB / 1.433 GB, free: 202.7 MB / 0.9167 GB Error: post-optimization module symbolicJacobian (simulation) failed.