Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7696/0.7696, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.704/1.704, allocations: 222.9 MB / 403.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 113.5 kB / 484.4 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009555/0.0009555, allocations: 59.91 kB / 0.5619 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1405, allocations: 80.2 MB / 0.6402 GB, free: 6.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 0.5826/0.7232, allocations: 307.7 MB / 0.9407 GB, free: 340 kB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.5281/1.251, allocations: 26.71 MB / 0.9667 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007925/1.259, allocations: 114 kB / 0.9669 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.008492/1.268, allocations: 1.364 MB / 0.9682 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02705/1.295, allocations: 5.235 MB / 0.9733 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01086/1.306, allocations: 3.33 MB / 0.9766 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0165/1.322, allocations: 11.45 MB / 0.9877 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006317/1.329, allocations: 2.501 MB / 0.9902 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01162/1.34, allocations: 3.256 MB / 0.9934 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007355/1.348, allocations: 2.543 MB / 0.9958 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001511/1.349, allocations: 162.2 kB / 0.996 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/1.363, allocations: 5.569 MB / 1.001 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002417/1.365, allocations: 0.9415 MB / 1.002 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005391/1.371, allocations: 1.719 MB / 1.004 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0135/1.384, allocations: 6.93 MB / 1.011 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.384, allocations: 0 / 1.011 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.513e-06/1.384, allocations: 0 / 1.011 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002173/1.385, allocations: 0 / 1.011 GB, free: 5.875 MB / 0.6823 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.009556/1.394, allocations: 3.92 MB / 1.015 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.394, allocations: 10.41 kB / 1.015 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004543/1.399, allocations: 0.8105 MB / 1.015 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004338/1.403, allocations: 2.522 MB / 1.018 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.134e-05/1.403, allocations: 165.9 kB / 1.018 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002881/1.404, allocations: 215.8 kB / 1.018 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00424/1.408, allocations: 2.556 MB / 1.021 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.774e-05/1.408, allocations: 3.906 kB / 1.021 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/1.408, allocations: 91.53 kB / 1.021 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.851e-05/1.408, allocations: 92.09 kB / 1.021 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/1.411, allocations: 2.012 MB / 1.023 GB, free: 2.641 MB / 0.6823 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.01375/1.425, allocations: 12.34 MB / 1.035 GB, free: 10.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/1.427, allocations: 1.474 MB / 1.036 GB, free: 10.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/1.428, allocations: 0.7617 MB / 1.037 GB, free: 9.922 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/1.43, allocations: 1.982 MB / 1.039 GB, free: 7.699 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.43, allocations: 47.78 kB / 1.039 GB, free: 7.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=150): time 3.657e-06/1.43, allocations: 0 / 1.039 GB, free: 7.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=152): time 0.01054/1.44, allocations: 4.986 MB / 1.044 GB, free: 5.918 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/1.44, allocations: 75.17 kB / 1.044 GB, free: 5.844 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/1.443, allocations: 2.093 MB / 1.046 GB, free: 5.289 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/1.444, allocations: 52.86 kB / 1.046 GB, free: 5.258 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008699/1.445, allocations: 1.255 MB / 1.047 GB, free: 4.723 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000545/1.445, allocations: 0.5324 MB / 1.048 GB, free: 4.332 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004414/1.446, allocations: 312.1 kB / 1.048 GB, free: 4.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.446, allocations: 309.1 kB / 1.048 GB, free: 3.965 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009512/1.447, allocations: 0.599 MB / 1.049 GB, free: 3.871 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/1.448, allocations: 0.9816 MB / 1.05 GB, free: 3.363 MB / 0.698 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.01833/1.466, allocations: 5.16 MB / 1.055 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/1.466, allocations: 4 kB / 1.055 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004529/1.471, allocations: 2.096 MB / 1.057 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/1.471, allocations: 15.98 kB / 1.057 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.282e-05/1.471, allocations: 19.62 kB / 1.057 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/1.472, allocations: 212.8 kB / 1.057 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/1.473, allocations: 344.6 kB / 1.058 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/1.475, allocations: 1.781 MB / 1.059 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/1.478, allocations: 195.6 kB / 1.06 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/1.478, allocations: 75.36 kB / 1.06 GB, free: 11.75 MB / 0.7136 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.002281/1.48, allocations: 1.134 MB / 1.061 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001364/1.481, allocations: 0.9765 MB / 1.062 GB, free: 10.03 MB / 0.7136 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.01796/1.499, allocations: 5.134 MB / 1.067 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.437e-05/1.499, allocations: 15.69 kB / 1.067 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.00451/1.504, allocations: 2.085 MB / 1.069 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.504, allocations: 13.03 kB / 1.069 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.68e-05/1.504, allocations: 19.98 kB / 1.069 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009267/1.505, allocations: 216 kB / 1.069 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.506, allocations: 332.3 kB / 1.069 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008769/1.507, allocations: 1.198 MB / 1.071 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/1.51, allocations: 182.1 kB / 1.071 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/1.51, allocations: 75.97 kB / 1.071 GB, free: 0.6953 MB / 0.7136 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.0004843/1.51, allocations: 284.3 kB / 1.071 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004397/1.511, allocations: 264.8 kB / 1.071 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/1.515, allocations: 2.345 MB / 1.074 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/1.515, allocations: 19.98 kB / 1.074 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.515, allocations: 4 kB / 1.074 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003384/1.519, allocations: 2.086 MB / 1.076 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009521/1.528, allocations: 5.366 MB / 1.081 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/1.528, allocations: 20.08 kB / 1.081 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/1.53, allocations: 287.1 kB / 1.081 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009393/1.53, allocations: 232.6 kB / 1.081 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/1.531, allocations: 58.59 kB / 1.081 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/1.534, allocations: 4.662 MB / 1.086 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.534, allocations: 6.531 kB / 1.086 GB, free: 0.6328 MB / 0.7292 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.01068/1.545, allocations: 5.756 MB / 1.092 GB, free: 10.77 MB / 0.7448 GB Error: post-optimization module symbolicJacobian (simulation) failed.