Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.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.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.278/2.278, allocations: 391.2 MB / 407 MB, free: 10.85 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.001286/0.001287, allocations: 198.8 kB / 499.1 MB, free: 4.664 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.572/1.572, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.001939/0.001939, allocations: 103.7 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 52.31 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2851, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 0.9603/1.245, allocations: 307.7 MB / 1.519 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.04191/1.287, allocations: 26.76 MB / 1.545 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008307/1.296, allocations: 113.4 kB / 1.545 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.006303/1.302, allocations: 1.37 MB / 1.546 GB, free: 0.8008 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0196/1.322, allocations: 5.243 MB / 1.551 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.01258/1.334, allocations: 3.335 MB / 1.555 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.01832/1.353, allocations: 11.46 MB / 1.566 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006454/1.359, allocations: 2.498 MB / 1.568 GB, free: 8.941 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01091/1.37, allocations: 3.244 MB / 1.571 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008169/1.378, allocations: 2.529 MB / 1.574 GB, free: 6.07 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.001828/1.38, allocations: 168.8 kB / 1.574 GB, free: 6.066 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0175/1.398, allocations: 5.57 MB / 1.579 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.003157/1.401, allocations: 0.9435 MB / 1.58 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.006642/1.408, allocations: 1.718 MB / 1.582 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0215/1.429, allocations: 6.935 MB / 1.589 GB, free: 8.891 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/1.429, allocations: 0 / 1.589 GB, free: 8.891 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.845e-06/1.429, allocations: 0 / 1.589 GB, free: 8.891 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002675/1.43, allocations: 0 / 1.589 GB, free: 8.891 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.01342/1.443, allocations: 3.918 MB / 1.593 GB, free: 4.934 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.443, allocations: 15.98 kB / 1.593 GB, free: 4.918 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005864/1.449, allocations: 0.813 MB / 1.593 GB, free: 4.105 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006994/1.456, allocations: 2.518 MB / 1.596 GB, free: 1.578 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/1.456, allocations: 163.7 kB / 1.596 GB, free: 1.418 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/1.457, allocations: 223.8 kB / 1.596 GB, free: 1.199 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007534/1.465, allocations: 2.541 MB / 1.599 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.864e-05/1.465, allocations: 11.84 kB / 1.599 GB, free: 14.54 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005239/1.466, allocations: 90.11 kB / 1.599 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/1.466, allocations: 96.05 kB / 1.599 GB, free: 14.35 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004953/1.471, allocations: 2.015 MB / 1.601 GB, free: 12.32 MB / 0.9636 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.02062/1.491, allocations: 12.34 MB / 1.613 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/1.494, allocations: 1.503 MB / 1.614 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/1.495, allocations: 0.7624 MB / 1.615 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00199/1.497, allocations: 1.976 MB / 1.617 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.82e-05/1.498, allocations: 51.88 kB / 1.617 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=150): time 4.539e-06/1.498, allocations: 0 / 1.617 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of matching and sorting (n=152): time 0.01329/1.511, allocations: 4.991 MB / 1.622 GB, free: 5.207 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/1.511, allocations: 64.72 kB / 1.622 GB, free: 5.133 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004395/1.515, allocations: 2.101 MB / 1.624 GB, free: 3.016 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003744/1.516, allocations: 53.7 kB / 1.624 GB, free: 2.957 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/1.517, allocations: 1.258 MB / 1.625 GB, free: 1.688 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008672/1.518, allocations: 0.5271 MB / 1.626 GB, free: 1.164 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008925/1.519, allocations: 315.3 kB / 1.626 GB, free: 0.8477 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/1.519, allocations: 301.1 kB / 1.627 GB, free: 0.5508 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/1.52, allocations: 0.6086 MB / 1.627 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/1.522, allocations: 0.9739 MB / 1.628 GB, free: 14.82 MB / 0.9948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start (sin1.p = duc.vol_b.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02061/1.543, allocations: 5.187 MB / 1.633 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/1.543, allocations: 4 kB / 1.633 GB, free: 9.488 MB / 0.9948 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005539/1.548, allocations: 2.109 MB / 1.635 GB, free: 7.363 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.908e-05/1.548, allocations: 16.09 kB / 1.635 GB, free: 7.348 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.563e-05/1.548, allocations: 19.98 kB / 1.635 GB, free: 7.328 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/1.549, allocations: 209.5 kB / 1.635 GB, free: 7.117 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/1.551, allocations: 355.5 kB / 1.636 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/1.552, allocations: 1.78 MB / 1.638 GB, free: 4.914 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/1.555, allocations: 207.6 kB / 1.638 GB, free: 4.711 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/1.556, allocations: 75.98 kB / 1.638 GB, free: 4.637 MB / 0.9948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00262/1.558, allocations: 1.138 MB / 1.639 GB, free: 3.496 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001559/1.56, allocations: 0.9663 MB / 1.64 GB, free: 2.395 MB / 0.9948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start (sin1.p = duc.vol_b.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0192/1.579, allocations: 5.164 MB / 1.645 GB, free: 13.08 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.414e-05/1.579, allocations: 0 / 1.645 GB, free: 13.08 MB / 1.01 GB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.005322/1.585, allocations: 2.094 MB / 1.647 GB, free: 10.97 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.585, allocations: 12 kB / 1.647 GB, free: 10.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-05/1.585, allocations: 19.98 kB / 1.647 GB, free: 10.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/1.586, allocations: 214 kB / 1.647 GB, free: 10.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/1.587, allocations: 343.5 kB / 1.647 GB, free: 10.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009325/1.588, allocations: 1.191 MB / 1.649 GB, free: 9.148 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/1.591, allocations: 199.6 kB / 1.649 GB, free: 8.953 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003021/1.591, allocations: 75.97 kB / 1.649 GB, free: 8.879 MB / 1.01 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (196): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006138/1.592, allocations: 276.5 kB / 1.649 GB, free: 8.602 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.593, allocations: 260.8 kB / 1.649 GB, free: 8.344 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005701/1.599, allocations: 2.373 MB / 1.652 GB, free: 5.98 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.525e-05/1.599, allocations: 19.98 kB / 1.652 GB, free: 5.961 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/1.599, allocations: 4 kB / 1.652 GB, free: 5.957 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003665/1.602, allocations: 2.085 MB / 1.654 GB, free: 3.773 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/1.615, allocations: 5.375 MB / 1.659 GB, free: 14.26 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.464e-05/1.615, allocations: 15.98 kB / 1.659 GB, free: 14.24 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/1.616, allocations: 280.4 kB / 1.659 GB, free: 13.97 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/1.617, allocations: 259.1 kB / 1.66 GB, free: 13.7 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/1.617, allocations: 51.98 kB / 1.66 GB, free: 13.65 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00383/1.621, allocations: 4.649 MB / 1.664 GB, free: 8.664 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/1.621, allocations: 7.938 kB / 1.664 GB, free: 8.656 MB / 1.026 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip.res.port_a.h_outflow, pip.del.port_b.h_outflow) = spatialDistribution(0, senTemIn.port_a.h_outflow, senTemOutW.port_b.h_outflow, pip.del.x / pip.del.length, pip.v >= 0.0, {0.0, 1.0}, {pip.del.h_ini_in, pip.del.h_ini_out})" 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.01265/1.634, allocations: 5.749 MB / 1.67 GB, free: 2.762 MB / 1.026 GB Error: post-optimization module symbolicJacobian (simulation) failed.