Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001389/0.001389, 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-master/package.mo): time 0.7063/0.7063, allocations: 133.3 MB / 150.1 MB, free: 11.15 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.451/1.451, allocations: 222.9 MB / 404.7 MB, free: 6.074 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.001104/0.001104, allocations: 91.77 kB / 485.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 59.91 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.135, allocations: 80.42 MB / 0.6421 GB, free: 5.426 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4066/0.5416, allocations: 114.4 MB / 0.7539 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.03543/0.5771, allocations: 26.64 MB / 0.7799 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005398/0.5826, allocations: 105.5 kB / 0.78 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003605/0.5862, allocations: 0.9242 MB / 0.7809 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.5963, allocations: 3.165 MB / 0.784 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.006036/0.6024, allocations: 2.09 MB / 0.786 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.009534/0.6119, allocations: 8.172 MB / 0.794 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002777/0.6147, allocations: 1.587 MB / 0.7956 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005529/0.6203, allocations: 2.334 MB / 0.7978 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003525/0.6238, allocations: 1.769 MB / 0.7996 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005183/0.6244, allocations: 116 kB / 0.7997 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005365/0.6298, allocations: 2.14 MB / 0.8018 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0005264/0.6303, allocations: 445.9 kB / 0.8022 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.632, allocations: 1.174 MB / 0.8033 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.006318/0.6384, allocations: 3.996 MB / 0.8072 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.6384, allocations: 0 / 0.8072 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6384, allocations: 0 / 0.8072 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.948e-05/0.6385, allocations: 4 kB / 0.8072 GB, free: 9.457 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.006005/0.6445, allocations: 2.83 MB / 0.81 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.6445, allocations: 12.03 kB / 0.81 GB, free: 6.555 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008003/0.6454, allocations: 257.1 kB / 0.8103 GB, free: 6.301 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004285/0.6497, allocations: 2.095 MB / 0.8123 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-05/0.6497, allocations: 110.7 kB / 0.8124 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.6499, allocations: 140 kB / 0.8125 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.6523, allocations: 1.454 MB / 0.814 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.6523, allocations: 3.938 kB / 0.814 GB, free: 2.371 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.6524, allocations: 59.94 kB / 0.814 GB, free: 2.312 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.6525, allocations: 36 kB / 0.8141 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.6544, allocations: 1.029 MB / 0.8151 GB, free: 1.242 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.009005/0.6634, allocations: 8.112 MB / 0.823 GB, free: 8.43 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.6649, allocations: 0.8375 MB / 0.8238 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006353/0.6656, allocations: 377.2 kB / 0.8242 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002162/0.6677, allocations: 2.807 MB / 0.8269 GB, free: 3.766 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.6678, allocations: 51.16 kB / 0.827 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=85): time 4.248e-06/0.6678, allocations: 0 / 0.827 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85): time 0.002547/0.6704, allocations: 1.124 MB / 0.8281 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.6704, allocations: 67.94 kB / 0.8281 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002233/0.6727, allocations: 1.61 MB / 0.8297 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/0.6728, allocations: 41.7 kB / 0.8297 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007296/0.6735, allocations: 0.9278 MB / 0.8306 GB, free: 15.86 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.6738, allocations: 303.6 kB / 0.8309 GB, free: 15.55 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/0.6741, allocations: 234.6 kB / 0.8311 GB, free: 15.32 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6743, allocations: 341.9 kB / 0.8315 GB, free: 14.98 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.6749, allocations: 333.9 kB / 0.8318 GB, free: 14.65 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009194/0.6758, allocations: 0.7071 MB / 0.8325 GB, free: 13.77 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.6774, allocations: 1.081 MB / 0.8335 GB, free: 12.53 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.6774, allocations: 4 kB / 0.8335 GB, free: 12.53 MB / 0.573 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002406/0.6798, allocations: 1.242 MB / 0.8348 GB, free: 11.27 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.6798, allocations: 12.16 kB / 0.8348 GB, free: 11.26 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-05/0.6799, allocations: 23.98 kB / 0.8348 GB, free: 11.24 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-05/0.6799, allocations: 16 kB / 0.8348 GB, free: 11.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000808/0.6807, allocations: 263.5 kB / 0.8351 GB, free: 10.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/0.6808, allocations: 27.88 kB / 0.8351 GB, free: 10.94 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.6821, allocations: 182.6 kB / 0.8353 GB, free: 10.76 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.6822, allocations: 67.97 kB / 0.8353 GB, free: 10.69 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001134/0.6834, allocations: 0.6197 MB / 0.8359 GB, free: 10.07 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008377/0.6842, allocations: 0.711 MB / 0.8366 GB, free: 9.188 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001576/0.6858, allocations: 1.081 MB / 0.8377 GB, free: 7.949 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.706e-06/0.6858, allocations: 4 kB / 0.8377 GB, free: 7.945 MB / 0.573 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002592/0.6884, allocations: 1.245 MB / 0.8389 GB, free: 6.691 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.6885, allocations: 9.094 kB / 0.8389 GB, free: 6.684 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/0.6885, allocations: 20.77 kB / 0.8389 GB, free: 6.664 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.035e-05/0.6885, allocations: 20 kB / 0.8389 GB, free: 6.645 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/0.6894, allocations: 263.5 kB / 0.8392 GB, free: 6.387 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/0.6894, allocations: 23.92 kB / 0.8392 GB, free: 6.363 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.6908, allocations: 147.2 kB / 0.8394 GB, free: 6.219 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.6909, allocations: 63.97 kB / 0.8394 GB, free: 6.156 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.0003795/0.6913, allocations: 257.1 kB / 0.8397 GB, free: 5.898 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/0.6916, allocations: 193.6 kB / 0.8399 GB, free: 5.707 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.6948, allocations: 1.744 MB / 0.8416 GB, free: 3.949 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.324e-05/0.6948, allocations: 19.98 kB / 0.8416 GB, free: 3.93 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.6949, allocations: 3.938 kB / 0.8416 GB, free: 3.926 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001724/0.6966, allocations: 1.142 MB / 0.8427 GB, free: 2.758 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007525/0.7041, allocations: 3.475 MB / 0.8461 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.166e-05/0.7043, allocations: 12 kB / 0.8461 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008426/0.7051, allocations: 199.7 kB / 0.8463 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.142e-05/0.7052, allocations: 12.53 kB / 0.8463 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.7053, allocations: 47.97 kB / 0.8463 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.326e-05/0.7054, allocations: 15.94 kB / 0.8464 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.7054, allocations: 4 kB / 0.8464 GB, free: 14.83 MB / 0.5886 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.007407/0.7128, allocations: 3.572 MB / 0.8499 GB, free: 11.12 MB / 0.5886 GB Error: post-optimization module symbolicJacobian (simulation) failed.