Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.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.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001626, allocations: 182.1 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.8495/0.8495, allocations: 132.2 MB / 148.9 MB, free: 12.13 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.477/1.477, allocations: 222.9 MB / 403.4 MB, free: 7.004 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.001099/0.001099, allocations: 107 kB / 484.4 MB, free: 8.633 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 59.91 kB / 0.5618 GB, free: 70.98 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1488, allocations: 80.2 MB / 0.6402 GB, free: 6.707 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4248/0.5737, allocations: 114.4 MB / 0.7519 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.03639/0.6101, allocations: 26.64 MB / 0.7779 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004971/0.6151, allocations: 106.3 kB / 0.778 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003175/0.6183, allocations: 0.9324 MB / 0.7789 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.009107/0.6275, allocations: 3.153 MB / 0.782 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.006583/0.6341, allocations: 2.084 MB / 0.784 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01162/0.6457, allocations: 8.174 MB / 0.792 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003518/0.6493, allocations: 1.599 MB / 0.7936 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005809/0.6551, allocations: 2.33 MB / 0.7959 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/0.6586, allocations: 1.762 MB / 0.7976 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0007404/0.6594, allocations: 112 kB / 0.7977 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005639/0.6651, allocations: 2.151 MB / 0.7998 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0008278/0.6659, allocations: 442 kB / 0.8002 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002422/0.6684, allocations: 1.174 MB / 0.8014 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.007615/0.676, allocations: 3.995 MB / 0.8053 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.676, allocations: 0 / 0.8053 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.192e-06/0.676, allocations: 0 / 0.8053 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001231/0.6762, allocations: 0 / 0.8053 GB, free: 11.32 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007171/0.6833, allocations: 2.841 MB / 0.808 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.6834, allocations: 12.03 kB / 0.808 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009373/0.6843, allocations: 253.1 kB / 0.8083 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005116/0.6895, allocations: 2.095 MB / 0.8103 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.6896, allocations: 102.7 kB / 0.8104 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003197/0.6899, allocations: 140 kB / 0.8106 GB, free: 5.773 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/0.6929, allocations: 1.461 MB / 0.812 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.654e-05/0.693, allocations: 4 kB / 0.812 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.6931, allocations: 56 kB / 0.8121 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/0.6932, allocations: 43.88 kB / 0.8121 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.6954, allocations: 1.017 MB / 0.8131 GB, free: 3.109 MB / 0.5417 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.01077/0.7062, allocations: 8.124 MB / 0.821 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.7078, allocations: 0.8329 MB / 0.8218 GB, free: 9.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.7084, allocations: 380.3 kB / 0.8222 GB, free: 9.059 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002257/0.7107, allocations: 2.807 MB / 0.8249 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.7108, allocations: 43.22 kB / 0.825 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=85): time 3.206e-06/0.7108, allocations: 4 kB / 0.825 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85): time 0.002562/0.7133, allocations: 1.132 MB / 0.8261 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.7134, allocations: 64 kB / 0.8262 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.7161, allocations: 1.602 MB / 0.8277 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/0.7162, allocations: 41.7 kB / 0.8278 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007204/0.7169, allocations: 0.9315 MB / 0.8287 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/0.7173, allocations: 303.6 kB / 0.829 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003417/0.7176, allocations: 234.6 kB / 0.8292 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7177, allocations: 350.7 kB / 0.8295 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006122/0.7184, allocations: 329.9 kB / 0.8298 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000912/0.7193, allocations: 0.7033 MB / 0.8305 GB, free: 15.64 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.7209, allocations: 1.085 MB / 0.8316 GB, free: 14.39 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.7209, allocations: 7.938 kB / 0.8316 GB, free: 14.39 MB / 0.573 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002528/0.7234, allocations: 1.241 MB / 0.8328 GB, free: 13.14 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.7235, allocations: 15.94 kB / 0.8328 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/0.7235, allocations: 16 kB / 0.8328 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.7236, allocations: 16 kB / 0.8328 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/0.7244, allocations: 260.2 kB / 0.8331 GB, free: 12.84 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.621e-05/0.7244, allocations: 35.8 kB / 0.8331 GB, free: 12.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.7259, allocations: 186.6 kB / 0.8333 GB, free: 12.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.726, allocations: 59.98 kB / 0.8334 GB, free: 12.56 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001138/0.7271, allocations: 0.6236 MB / 0.834 GB, free: 11.93 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008573/0.728, allocations: 0.6994 MB / 0.8346 GB, free: 11.06 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001492/0.7295, allocations: 1.081 MB / 0.8357 GB, free: 9.82 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.917e-06/0.7295, allocations: 4 kB / 0.8357 GB, free: 9.816 MB / 0.573 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002385/0.7319, allocations: 1.249 MB / 0.8369 GB, free: 8.559 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.732, allocations: 8 kB / 0.8369 GB, free: 8.551 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/0.732, allocations: 20 kB / 0.837 GB, free: 8.531 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.732, allocations: 20 kB / 0.837 GB, free: 8.512 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000783/0.7328, allocations: 255.6 kB / 0.8372 GB, free: 8.262 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.821e-05/0.7328, allocations: 28.72 kB / 0.8372 GB, free: 8.234 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.7342, allocations: 139.4 kB / 0.8374 GB, free: 8.098 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.7344, allocations: 71.97 kB / 0.8374 GB, free: 8.027 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003729/0.7347, allocations: 253.2 kB / 0.8377 GB, free: 7.773 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005524/0.7353, allocations: 193.7 kB / 0.8379 GB, free: 7.582 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/0.7386, allocations: 1.742 MB / 0.8396 GB, free: 5.824 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.726e-05/0.7386, allocations: 23.97 kB / 0.8396 GB, free: 5.801 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.7387, allocations: 3.938 kB / 0.8396 GB, free: 5.797 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001682/0.7403, allocations: 1.142 MB / 0.8407 GB, free: 4.629 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006748/0.7471, allocations: 3.467 MB / 0.8441 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/0.7472, allocations: 16.12 kB / 0.8441 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/0.748, allocations: 207.6 kB / 0.8443 GB, free: 0.7773 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.064e-05/0.748, allocations: 12 kB / 0.8443 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.7481, allocations: 43.98 kB / 0.8444 GB, free: 0.7227 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.032e-05/0.7481, allocations: 15.98 kB / 0.8444 GB, free: 0.707 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.7482, allocations: 7.938 kB / 0.8444 GB, free: 0.6992 MB / 0.573 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.006874/0.755, allocations: 3.572 MB / 0.8479 GB, free: 12.99 MB / 0.5886 GB Error: post-optimization module symbolicJacobian (simulation) failed.