Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.176/2.176, allocations: 391.2 MB / 407 MB, free: 10.83 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: 201.3 kB / 499.1 MB, free: 4.684 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.551/1.551, allocations: 222.9 MB / 0.7948 GB, free: 15.85 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.001049/0.001049, allocations: 105.6 kB / 0.9329 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 54.02 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3296, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.04747/0.3772, allocations: 60.37 MB / 1.277 GB, free: 56.73 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01735/0.3946, allocations: 14.76 MB / 1.291 GB, free: 41.93 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.3976, allocations: 59.62 kB / 1.292 GB, free: 41.87 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/0.4003, allocations: 0.5788 MB / 1.292 GB, free: 41.29 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006624/0.4069, allocations: 2.077 MB / 1.294 GB, free: 39.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.4112, allocations: 1.497 MB / 1.296 GB, free: 37.71 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.005766/0.417, allocations: 5.299 MB / 1.301 GB, free: 32.39 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.4188, allocations: 1.07 MB / 1.302 GB, free: 31.29 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.4219, allocations: 1.365 MB / 1.303 GB, free: 29.92 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.4236, allocations: 1.085 MB / 1.304 GB, free: 28.83 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.4237, allocations: 64 kB / 1.304 GB, free: 28.77 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003892/0.4276, allocations: 1.598 MB / 1.306 GB, free: 27.17 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003641/0.428, allocations: 270.8 kB / 1.306 GB, free: 26.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.4292, allocations: 0.7151 MB / 1.307 GB, free: 26.18 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005211/0.4344, allocations: 2.653 MB / 1.309 GB, free: 23.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4344, allocations: 4 kB / 1.309 GB, free: 23.52 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4344, allocations: 0 / 1.309 GB, free: 23.52 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.038e-05/0.4345, allocations: 0 / 1.309 GB, free: 23.52 MB / 0.823 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.00346/0.4379, allocations: 1.849 MB / 1.311 GB, free: 21.62 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.438, allocations: 15.92 kB / 1.311 GB, free: 21.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005224/0.4385, allocations: 159.2 kB / 1.311 GB, free: 21.45 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.4405, allocations: 1.288 MB / 1.313 GB, free: 20.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.4406, allocations: 66 kB / 1.313 GB, free: 20.04 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.4407, allocations: 87.98 kB / 1.313 GB, free: 19.95 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.4421, allocations: 0.9553 MB / 1.314 GB, free: 18.95 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.4421, allocations: 7.906 kB / 1.314 GB, free: 18.94 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-05/0.4422, allocations: 32 kB / 1.314 GB, free: 18.91 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.4422, allocations: 31.92 kB / 1.314 GB, free: 18.88 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009615/0.4432, allocations: 0.6597 MB / 1.314 GB, free: 18.21 MB / 0.823 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.004399/0.4476, allocations: 5.216 MB / 1.319 GB, free: 12.58 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.4483, allocations: 402.2 kB / 1.32 GB, free: 12.18 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.4486, allocations: 242.1 kB / 1.32 GB, free: 11.95 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.4496, allocations: 1.595 MB / 1.322 GB, free: 10 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4497, allocations: 39 kB / 1.322 GB, free: 9.953 MB / 0.823 GB Notification: Performance of pre-optimization done (n=53): time 3.467e-06/0.4497, allocations: 0 / 1.322 GB, free: 9.953 MB / 0.823 GB Notification: Performance of matching and sorting (n=53): time 0.002138/0.4518, allocations: 0.929 MB / 1.323 GB, free: 8.992 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.4519, allocations: 59.84 kB / 1.323 GB, free: 8.922 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.4531, allocations: 0.985 MB / 1.324 GB, free: 7.922 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.4531, allocations: 37.7 kB / 1.324 GB, free: 7.879 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/0.4535, allocations: 0.5735 MB / 1.324 GB, free: 7.297 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.4536, allocations: 189.2 kB / 1.324 GB, free: 7.109 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.4538, allocations: 150.1 kB / 1.325 GB, free: 6.957 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.4539, allocations: 330 kB / 1.325 GB, free: 6.629 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.4543, allocations: 203.7 kB / 1.325 GB, free: 6.422 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.4547, allocations: 400.9 kB / 1.325 GB, free: 5.949 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.4554, allocations: 0.6334 MB / 1.326 GB, free: 5.238 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4554, allocations: 0 / 1.326 GB, free: 5.238 MB / 0.823 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001442/0.4568, allocations: 0.8344 MB / 1.327 GB, free: 4.395 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.4569, allocations: 17.17 kB / 1.327 GB, free: 4.379 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.4569, allocations: 8 kB / 1.327 GB, free: 4.371 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005258/0.4574, allocations: 100.8 kB / 1.327 GB, free: 4.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.4578, allocations: 143.7 kB / 1.327 GB, free: 4.129 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004287/0.4583, allocations: 0.603 MB / 1.328 GB, free: 3.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008233/0.4591, allocations: 107.3 kB / 1.328 GB, free: 3.395 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.4592, allocations: 35.98 kB / 1.328 GB, free: 3.359 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006153/0.4598, allocations: 441.7 kB / 1.328 GB, free: 2.926 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003741/0.4602, allocations: 403.5 kB / 1.329 GB, free: 2.453 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006705/0.4609, allocations: 0.6178 MB / 1.329 GB, free: 1.754 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.577e-06/0.4609, allocations: 4 kB / 1.329 GB, free: 1.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.00142/0.4623, allocations: 0.8301 MB / 1.33 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4623, allocations: 8 kB / 1.33 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.4624, allocations: 7.938 kB / 1.33 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004212/0.4628, allocations: 121.1 kB / 1.33 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.4632, allocations: 135.8 kB / 1.33 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002997/0.4635, allocations: 0.5953 MB / 1.331 GB, free: 16 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/0.4643, allocations: 91.52 kB / 1.331 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/0.4644, allocations: 43.92 kB / 1.331 GB, free: 15.88 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002465/0.4646, allocations: 225.5 kB / 1.331 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.4648, allocations: 110.7 kB / 1.331 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.467, allocations: 1.063 MB / 1.332 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.467, allocations: 11.98 kB / 1.332 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.467, allocations: 0 / 1.332 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001271/0.4683, allocations: 0.8224 MB / 1.333 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/0.4717, allocations: 2.071 MB / 1.335 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.4717, allocations: 4 kB / 1.335 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.4721, allocations: 103.8 kB / 1.335 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000324/0.4725, allocations: 76.73 kB / 1.335 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/0.4725, allocations: 20.08 kB / 1.335 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004026/0.4729, allocations: 0.5992 MB / 1.336 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4729, allocations: 0 / 1.336 GB, free: 10.66 MB / 0.8386 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, senTemOut.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.005438/0.4784, allocations: 2.608 MB / 1.339 GB, free: 7.992 MB / 0.8386 GB Error: post-optimization module symbolicJacobian (simulation) failed.