Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 183.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.7995/0.7995, allocations: 132.2 MB / 148.9 MB, free: 12.18 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.467/1.467, allocations: 222.9 MB / 403.4 MB, free: 7.09 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.001105/0.001105, allocations: 107.7 kB / 484.3 MB, free: 8.676 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009861/0.0009864, allocations: 55.89 kB / 0.5619 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1352, allocations: 80.2 MB / 0.6402 GB, free: 6.75 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.4088/0.544, allocations: 76.34 MB / 0.7147 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02576/0.5698, allocations: 20.08 MB / 0.7343 GB, free: 8.844 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004032/0.5739, allocations: 73.28 kB / 0.7344 GB, free: 8.816 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002922/0.5769, allocations: 0.8081 MB / 0.7352 GB, free: 8.344 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009093/0.586, allocations: 2.626 MB / 0.7378 GB, free: 6.805 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007307/0.5933, allocations: 1.89 MB / 0.7396 GB, free: 5.715 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0107/0.604, allocations: 6.736 MB / 0.7462 GB, free: 2.727 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002543/0.6066, allocations: 1.404 MB / 0.7476 GB, free: 1.812 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004387/0.611, allocations: 1.832 MB / 0.7493 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002637/0.6137, allocations: 1.482 MB / 0.7508 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002757/0.614, allocations: 92.97 kB / 0.7509 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004958/0.6189, allocations: 1.809 MB / 0.7526 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004596/0.6194, allocations: 390.5 kB / 0.753 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.6209, allocations: 1.001 MB / 0.754 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.009247/0.6301, allocations: 3.396 MB / 0.7573 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.6302, allocations: 0 / 0.7573 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6302, allocations: 7.938 kB / 0.7573 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.758e-05/0.6303, allocations: 0 / 0.7573 GB, free: 11.7 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.005676/0.636, allocations: 2.498 MB / 0.7598 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.6361, allocations: 6.969 kB / 0.7598 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.6379, allocations: 400.9 kB / 0.7601 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.6412, allocations: 1.788 MB / 0.7619 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.89e-05/0.6413, allocations: 94.44 kB / 0.762 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.6415, allocations: 124 kB / 0.7621 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.644, allocations: 1.425 MB / 0.7635 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.644, allocations: 3.938 kB / 0.7635 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.6441, allocations: 59.94 kB / 0.7636 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.6442, allocations: 32 kB / 0.7636 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.6464, allocations: 1.07 MB / 0.7646 GB, free: 4.926 MB / 0.4948 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.008444/0.6549, allocations: 7.84 MB / 0.7723 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/0.6583, allocations: 0.9934 MB / 0.7733 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000823/0.6591, allocations: 432.7 kB / 0.7737 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/0.6607, allocations: 1.864 MB / 0.7755 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.6618, allocations: 0.4982 MB / 0.776 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=84): time 3.226e-06/0.6618, allocations: 0 / 0.776 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of matching and sorting (n=84): time 0.003017/0.6648, allocations: 1.258 MB / 0.7772 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.6649, allocations: 93.7 kB / 0.7773 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.6667, allocations: 1.383 MB / 0.7786 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.593e-05/0.6668, allocations: 49.7 kB / 0.7787 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006347/0.6675, allocations: 0.8178 MB / 0.7795 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.6677, allocations: 291.8 kB / 0.7798 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.668, allocations: 214.6 kB / 0.78 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6682, allocations: 345.9 kB / 0.7803 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007722/0.6689, allocations: 365.9 kB / 0.7806 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009889/0.6699, allocations: 0.6715 MB / 0.7813 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.6717, allocations: 1.056 MB / 0.7823 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.6717, allocations: 7.938 kB / 0.7823 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002518/0.6743, allocations: 1.237 MB / 0.7835 GB, free: 192 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6743, allocations: 8 kB / 0.7836 GB, free: 184 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.6743, allocations: 12 kB / 0.7836 GB, free: 172 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.6744, allocations: 12 kB / 0.7836 GB, free: 160 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009072/0.6753, allocations: 256.1 kB / 0.7838 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/0.6753, allocations: 19.94 kB / 0.7838 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.6767, allocations: 190.7 kB / 0.784 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.6768, allocations: 51.98 kB / 0.7841 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001293/0.6781, allocations: 0.6392 MB / 0.7847 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009811/0.6791, allocations: 0.6598 MB / 0.7853 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001763/0.6809, allocations: 1.063 MB / 0.7864 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.951e-06/0.6809, allocations: 4 kB / 0.7864 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.002451/0.6833, allocations: 1.234 MB / 0.7876 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6834, allocations: 16 kB / 0.7876 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.6834, allocations: 8 kB / 0.7876 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.6834, allocations: 16 kB / 0.7876 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008517/0.6843, allocations: 247.6 kB / 0.7879 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.6843, allocations: 23.92 kB / 0.7879 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.6856, allocations: 159.2 kB / 0.788 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.56e-05/0.6857, allocations: 51.98 kB / 0.7881 GB, free: 11.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003327/0.6861, allocations: 259.2 kB / 0.7883 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.6863, allocations: 169.9 kB / 0.7885 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/0.6892, allocations: 1.45 MB / 0.7899 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/0.6893, allocations: 15.98 kB / 0.7899 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6893, allocations: 0 / 0.7899 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001917/0.6912, allocations: 1.098 MB / 0.791 GB, free: 8.25 MB / 0.5261 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 postOpt removeSimpleEquations (simulation): time 0.004928/0.6962, allocations: 2.911 MB / 0.7938 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.6962, allocations: 7.984 kB / 0.7939 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007762/0.697, allocations: 179.9 kB / 0.794 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.697, allocations: 4 kB / 0.794 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/0.6971, allocations: 27.98 kB / 0.7941 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.6971, allocations: 4 kB / 0.7941 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.6971, allocations: 11.92 kB / 0.7941 GB, free: 5.023 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pipe.res.port_a.h_outflow, pipe.del.port_b.h_outflow) = spatialDistribution(0, senEntIn.port_a.h_outflow, senEntOut.port_b.h_outflow, pipe.del.x / pipe.del.length, pipe.v >= 0.0, {0.0, 1.0}, {pipe.del.h_ini_in, pipe.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.008406/0.7055, allocations: 3.724 MB / 0.7977 GB, free: 1.211 MB / 0.5261 GB Error: post-optimization module symbolicJacobian (simulation) failed.