Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001102/0.001102, allocations: 182.2 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.7122/0.7122, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.421/1.421, allocations: 222.9 MB / 403.4 MB, free: 7.133 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.001075/0.001075, allocations: 112.8 kB / 484.4 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 51.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1462, allocations: 80.21 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.3517/0.4979, allocations: 60.35 MB / 0.6991 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01949/0.5174, allocations: 14.72 MB / 0.7135 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003089/0.5206, allocations: 63.03 kB / 0.7135 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.5228, allocations: 0.5861 MB / 0.7141 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007044/0.5298, allocations: 2.076 MB / 0.7161 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004698/0.5345, allocations: 1.487 MB / 0.7176 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.007463/0.542, allocations: 5.282 MB / 0.7228 GB, free: 12.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/0.544, allocations: 1.071 MB / 0.7238 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.5475, allocations: 1.366 MB / 0.7251 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.5496, allocations: 1.089 MB / 0.7262 GB, free: 11.45 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.5498, allocations: 64.16 kB / 0.7263 GB, free: 11.45 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00431/0.5541, allocations: 1.595 MB / 0.7278 GB, free: 10.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.5544, allocations: 276.3 kB / 0.7281 GB, free: 10.84 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008486/0.5553, allocations: 0.7114 MB / 0.7288 GB, free: 10.44 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004098/0.5594, allocations: 2.651 MB / 0.7314 GB, free: 9.605 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5594, allocations: 2.281 kB / 0.7314 GB, free: 9.605 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5594, allocations: 0 / 0.7314 GB, free: 9.605 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.5595, allocations: 0 / 0.7314 GB, free: 9.605 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.002924/0.5624, allocations: 1.849 MB / 0.7332 GB, free: 8.312 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5625, allocations: 9 kB / 0.7332 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004463/0.5629, allocations: 161.5 kB / 0.7333 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.5648, allocations: 1.28 MB / 0.7346 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.5648, allocations: 68.91 kB / 0.7347 GB, free: 7.215 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.565, allocations: 91.92 kB / 0.7347 GB, free: 7.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.5664, allocations: 0.9582 MB / 0.7357 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.5664, allocations: 9.219 kB / 0.7357 GB, free: 6.547 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.5665, allocations: 37.5 kB / 0.7357 GB, free: 6.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.5665, allocations: 25.33 kB / 0.7357 GB, free: 6.516 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.5676, allocations: 0.6682 MB / 0.7364 GB, free: 6.18 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.00422/0.5718, allocations: 5.202 MB / 0.7415 GB, free: 1.445 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/0.5725, allocations: 409.4 kB / 0.7419 GB, free: 1.238 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.5728, allocations: 241 kB / 0.7421 GB, free: 1.117 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/0.574, allocations: 1.59 MB / 0.7437 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.574, allocations: 41.12 kB / 0.7437 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 2.595e-06/0.574, allocations: 3 kB / 0.7437 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.002363/0.5764, allocations: 0.9339 MB / 0.7446 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.5764, allocations: 61.14 kB / 0.7447 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.5777, allocations: 0.9823 MB / 0.7456 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/0.5778, allocations: 39.97 kB / 0.7457 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.5782, allocations: 0.5738 MB / 0.7462 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.5785, allocations: 187.5 kB / 0.7464 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.5787, allocations: 145.1 kB / 0.7465 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5788, allocations: 330.5 kB / 0.7469 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.5792, allocations: 207.2 kB / 0.7471 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.5797, allocations: 398.2 kB / 0.7474 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/0.5805, allocations: 0.6314 MB / 0.748 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.5806, allocations: 2.625 kB / 0.748 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001634/0.5822, allocations: 0.8284 MB / 0.7489 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5822, allocations: 7.969 kB / 0.7489 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.5823, allocations: 7.656 kB / 0.7489 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/0.5828, allocations: 109.2 kB / 0.749 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.5832, allocations: 142 kB / 0.7491 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004782/0.5837, allocations: 0.5995 MB / 0.7497 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008956/0.5846, allocations: 120.4 kB / 0.7498 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.5847, allocations: 39.2 kB / 0.7499 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006548/0.5854, allocations: 433.9 kB / 0.7503 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004731/0.5859, allocations: 400.4 kB / 0.7506 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008451/0.5867, allocations: 0.6315 MB / 0.7513 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.5867, allocations: 0 / 0.7513 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001554/0.5883, allocations: 0.8231 MB / 0.7521 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.5883, allocations: 8.688 kB / 0.7521 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.5883, allocations: 9.438 kB / 0.7521 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004556/0.5888, allocations: 107.5 kB / 0.7522 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.5892, allocations: 143 kB / 0.7523 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000421/0.5896, allocations: 0.5981 MB / 0.7529 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008213/0.5905, allocations: 88.55 kB / 0.753 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.5905, allocations: 43.17 kB / 0.753 GB, free: 8.617 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.0002384/0.5908, allocations: 230.2 kB / 0.7533 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.591, allocations: 113.8 kB / 0.7534 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.593, allocations: 1.051 MB / 0.7544 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.593, allocations: 8.281 kB / 0.7544 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.593, allocations: 3.984 kB / 0.7544 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001267/0.5943, allocations: 0.8077 MB / 0.7552 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.5976, allocations: 2.089 MB / 0.7572 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.5976, allocations: 4 kB / 0.7572 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.598, allocations: 104 kB / 0.7573 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003239/0.5983, allocations: 76.33 kB / 0.7574 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.5984, allocations: 20 kB / 0.7574 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000394/0.5988, allocations: 0.5836 MB / 0.758 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5988, allocations: 4.062 kB / 0.758 GB, free: 4.176 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.005363/0.6042, allocations: 2.603 MB / 0.7605 GB, free: 1.523 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.