Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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-master/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-master/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.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 183.1 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6993/0.6993, allocations: 133.3 MB / 150.1 MB, free: 11.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.408/1.408, allocations: 222.9 MB / 404.7 MB, free: 6.062 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.001056/0.001056, allocations: 99.75 kB / 485.9 MB, free: 7.148 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 59.91 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1425, allocations: 80.42 MB / 0.6421 GB, free: 5.398 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.3547/0.4973, allocations: 60.34 MB / 0.7011 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01794/0.5152, allocations: 14.73 MB / 0.7154 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.5176, allocations: 56.75 kB / 0.7155 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.5195, allocations: 0.5793 MB / 0.7161 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006615/0.5262, allocations: 2.084 MB / 0.7181 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005543/0.5317, allocations: 1.491 MB / 0.7196 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00716/0.5389, allocations: 5.29 MB / 0.7247 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.5405, allocations: 1.056 MB / 0.7258 GB, free: 11.87 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.5431, allocations: 1.377 MB / 0.7271 GB, free: 11.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.5445, allocations: 1.08 MB / 0.7282 GB, free: 10.97 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.5446, allocations: 65.16 kB / 0.7282 GB, free: 10.97 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00375/0.5484, allocations: 1.595 MB / 0.7298 GB, free: 10.5 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000289/0.5487, allocations: 275.6 kB / 0.73 GB, free: 10.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008072/0.5495, allocations: 0.7153 MB / 0.7307 GB, free: 9.961 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003896/0.5534, allocations: 2.653 MB / 0.7333 GB, free: 9.074 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5534, allocations: 3.984 kB / 0.7333 GB, free: 9.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.5535, allocations: 0 / 0.7333 GB, free: 9.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.5535, allocations: 0 / 0.7333 GB, free: 9.07 MB / 490.7 MB 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.002743/0.5562, allocations: 1.845 MB / 0.7351 GB, free: 7.676 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.5563, allocations: 9.375 kB / 0.7351 GB, free: 7.676 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004475/0.5567, allocations: 166.8 kB / 0.7353 GB, free: 7.594 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.5586, allocations: 1.286 MB / 0.7366 GB, free: 6.598 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.5586, allocations: 65.97 kB / 0.7366 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.5587, allocations: 92.08 kB / 0.7367 GB, free: 6.535 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.5601, allocations: 0.9537 MB / 0.7376 GB, free: 5.914 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.5601, allocations: 6.281 kB / 0.7376 GB, free: 5.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.5602, allocations: 36.41 kB / 0.7377 GB, free: 5.883 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/0.5602, allocations: 28.8 kB / 0.7377 GB, free: 5.879 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.5613, allocations: 0.6684 MB / 0.7384 GB, free: 5.539 MB / 490.7 MB 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.004073/0.5654, allocations: 5.2 MB / 0.7434 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.566, allocations: 406.3 kB / 0.7438 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.5664, allocations: 242.2 kB / 0.7441 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/0.5676, allocations: 1.593 MB / 0.7456 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.5677, allocations: 37.53 kB / 0.7457 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 2.334e-06/0.5677, allocations: 0 / 0.7457 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.002249/0.5699, allocations: 0.9353 MB / 0.7466 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.57, allocations: 60.92 kB / 0.7466 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.5712, allocations: 0.9865 MB / 0.7476 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/0.5713, allocations: 39.83 kB / 0.7476 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.5717, allocations: 0.5725 MB / 0.7482 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.5719, allocations: 195.8 kB / 0.7484 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.5721, allocations: 138.1 kB / 0.7485 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5722, allocations: 337.9 kB / 0.7488 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.5726, allocations: 198.5 kB / 0.749 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.5731, allocations: 401.9 kB / 0.7494 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008624/0.5739, allocations: 0.6267 MB / 0.75 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5739, allocations: 6.109 kB / 0.75 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001604/0.5755, allocations: 0.8214 MB / 0.7508 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5756, allocations: 9.406 kB / 0.7508 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.5756, allocations: 8.031 kB / 0.7508 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/0.5762, allocations: 115 kB / 0.7509 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.5766, allocations: 147.5 kB / 0.7511 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004655/0.5771, allocations: 0.5972 MB / 0.7517 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007854/0.5779, allocations: 121.3 kB / 0.7518 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/0.578, allocations: 35.55 kB / 0.7518 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006362/0.5786, allocations: 434.5 kB / 0.7522 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004725/0.5791, allocations: 404 kB / 0.7526 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000828/0.5799, allocations: 0.6187 MB / 0.7532 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.5799, allocations: 0 / 0.7532 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001613/0.5816, allocations: 0.8271 MB / 0.754 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5816, allocations: 8.219 kB / 0.754 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.5816, allocations: 11.03 kB / 0.754 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004809/0.5821, allocations: 106.8 kB / 0.7541 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.5825, allocations: 138.1 kB / 0.7543 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004272/0.583, allocations: 0.5949 MB / 0.7549 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/0.5837, allocations: 93.7 kB / 0.7549 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/0.5838, allocations: 42.88 kB / 0.755 GB, free: 7.98 MB / 0.4948 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.0002131/0.584, allocations: 225.9 kB / 0.7552 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.5842, allocations: 114.3 kB / 0.7553 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/0.5862, allocations: 1.067 MB / 0.7564 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.5862, allocations: 12 kB / 0.7564 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5862, allocations: 7.984 kB / 0.7564 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001324/0.5875, allocations: 0.7991 MB / 0.7572 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.5908, allocations: 2.089 MB / 0.7592 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.5908, allocations: 4 kB / 0.7592 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.5912, allocations: 99.88 kB / 0.7593 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/0.5915, allocations: 76.89 kB / 0.7594 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/0.5916, allocations: 16 kB / 0.7594 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004049/0.592, allocations: 0.5952 MB / 0.76 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.592, allocations: 4.031 kB / 0.76 GB, free: 3.266 MB / 0.4948 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.005777/0.5978, allocations: 2.599 MB / 0.7625 GB, free: 0.6172 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.