Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8844/0.8844, allocations: 143.4 MB / 159.2 MB, free: 4.875 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 191.2 kB / 191.9 MB, free: 5.695 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 447.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 99.69 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00193/0.00193, allocations: 281.2 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 79.88 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3642, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 0.6196/0.9838, allocations: 307.7 MB / 1.068 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03642/1.02, allocations: 26.69 MB / 1.094 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006138/1.026, allocations: 107.3 kB / 1.095 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005445/1.032, allocations: 1.368 MB / 1.096 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01589/1.048, allocations: 5.219 MB / 1.101 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01044/1.058, allocations: 3.314 MB / 1.104 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.0152/1.074, allocations: 11.4 MB / 1.115 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005723/1.079, allocations: 2.492 MB / 1.118 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008557/1.088, allocations: 3.244 MB / 1.121 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006118/1.094, allocations: 2.538 MB / 1.123 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00128/1.095, allocations: 160 kB / 1.124 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/1.108, allocations: 5.572 MB / 1.129 GB, free: 12.11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002109/1.11, allocations: 0.9459 MB / 1.13 GB, free: 11.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00458/1.115, allocations: 1.71 MB / 1.132 GB, free: 9.441 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01472/1.13, allocations: 6.918 MB / 1.138 GB, free: 2.504 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/1.13, allocations: 0 / 1.138 GB, free: 2.504 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.212e-06/1.13, allocations: 3.938 kB / 1.138 GB, free: 2.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002007/1.13, allocations: 0 / 1.138 GB, free: 2.5 MB / 0.698 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.009999/1.14, allocations: 3.903 MB / 1.142 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/1.14, allocations: 8.031 kB / 1.142 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005008/1.145, allocations: 0.8117 MB / 1.143 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005258/1.15, allocations: 2.477 MB / 1.145 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/1.15, allocations: 164.2 kB / 1.146 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000529/1.151, allocations: 216 kB / 1.146 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00474/1.156, allocations: 2.551 MB / 1.148 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-05/1.156, allocations: 3.906 kB / 1.148 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002031/1.156, allocations: 95.98 kB / 1.148 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-05/1.156, allocations: 84.11 kB / 1.148 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/1.159, allocations: 2.019 MB / 1.15 GB, free: 5.883 MB / 0.7136 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.01449/1.174, allocations: 12.33 MB / 1.162 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/1.176, allocations: 1.487 MB / 1.164 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/1.177, allocations: 0.7624 MB / 1.165 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001822/1.179, allocations: 1.979 MB / 1.167 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/1.179, allocations: 55.81 kB / 1.167 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=150): time 3.566e-06/1.179, allocations: 0 / 1.167 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of matching and sorting (n=152): time 0.01049/1.19, allocations: 4.978 MB / 1.171 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/1.19, allocations: 64.72 kB / 1.172 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/1.192, allocations: 2.084 MB / 1.174 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/1.193, allocations: 57.7 kB / 1.174 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008971/1.193, allocations: 1.239 MB / 1.175 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004728/1.194, allocations: 0.5313 MB / 1.175 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004562/1.194, allocations: 315.3 kB / 1.176 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.195, allocations: 305.1 kB / 1.176 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/1.196, allocations: 0.5982 MB / 1.177 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/1.197, allocations: 0.9842 MB / 1.178 GB, free: 8.297 MB / 0.7448 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.01801/1.215, allocations: 5.164 MB / 1.183 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/1.215, allocations: 4 kB / 1.183 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00438/1.219, allocations: 2.096 MB / 1.185 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/1.219, allocations: 8.594 kB / 1.185 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.582e-05/1.219, allocations: 27.97 kB / 1.185 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009962/1.22, allocations: 213.5 kB / 1.185 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/1.222, allocations: 355.5 kB / 1.185 GB, free: 268 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2884/1.51, allocations: 1.77 MB / 1.187 GB, free: 308.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/1.513, allocations: 186.5 kB / 1.187 GB, free: 308.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/1.513, allocations: 77.2 kB / 1.187 GB, free: 308.8 MB / 0.7448 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.00224/1.515, allocations: 1.133 MB / 1.188 GB, free: 308.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001268/1.517, allocations: 0.9813 MB / 1.189 GB, free: 307.9 MB / 0.7448 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.01865/1.535, allocations: 5.126 MB / 1.194 GB, free: 306.2 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.695e-05/1.535, allocations: 2.656 kB / 1.194 GB, free: 306.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.004488/1.54, allocations: 2.096 MB / 1.196 GB, free: 305.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.54, allocations: 9.203 kB / 1.196 GB, free: 305.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-05/1.54, allocations: 18.58 kB / 1.196 GB, free: 305.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009662/1.541, allocations: 219 kB / 1.197 GB, free: 305.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.542, allocations: 336.5 kB / 1.197 GB, free: 305.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006711/1.543, allocations: 1.191 MB / 1.198 GB, free: 304.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/1.545, allocations: 194.5 kB / 1.198 GB, free: 304.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.545, allocations: 77.19 kB / 1.198 GB, free: 304.3 MB / 0.7448 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.0004598/1.546, allocations: 281.9 kB / 1.199 GB, free: 304 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/1.546, allocations: 260.8 kB / 1.199 GB, free: 304 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004581/1.551, allocations: 2.351 MB / 1.201 GB, free: 303.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/1.551, allocations: 23.45 kB / 1.201 GB, free: 303.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.551, allocations: 7.25 kB / 1.201 GB, free: 303.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002731/1.553, allocations: 2.079 MB / 1.203 GB, free: 302 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007406/1.561, allocations: 5.36 MB / 1.208 GB, free: 299.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/1.561, allocations: 19.39 kB / 1.208 GB, free: 299.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.562, allocations: 279.7 kB / 1.209 GB, free: 299.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008262/1.563, allocations: 251.2 kB / 1.209 GB, free: 299.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.861e-05/1.563, allocations: 54.34 kB / 1.209 GB, free: 299.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/1.565, allocations: 4.654 MB / 1.213 GB, free: 294.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.565, allocations: 7.906 kB / 1.213 GB, free: 294.9 MB / 0.7448 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.008621/1.574, allocations: 5.762 MB / 1.219 GB, free: 291.7 MB / 0.7448 GB Error: post-optimization module symbolicJacobian (simulation) failed.