Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.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.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 180 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.7865/0.7865, 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.398/1.398, allocations: 222.9 MB / 403.4 MB, free: 7.113 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.00108/0.00108, allocations: 108.4 kB / 484.4 MB, free: 8.715 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009977/0.0009978, allocations: 51.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1464, allocations: 80.21 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.3933/0.5397, allocations: 66.14 MB / 0.7048 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02337/0.5632, allocations: 16.8 MB / 0.7212 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003148/0.5664, allocations: 63.69 kB / 0.7212 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.5686, allocations: 0.654 MB / 0.7219 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009284/0.5779, allocations: 2.348 MB / 0.7242 GB, free: 13.19 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006341/0.5843, allocations: 1.618 MB / 0.7257 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.05638/0.6407, allocations: 45.71 MB / 0.7704 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02154/0.6623, allocations: 12.47 MB / 0.7826 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01949/0.6818, allocations: 8.811 MB / 0.7912 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01892/0.7008, allocations: 9.193 MB / 0.8001 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.003673/0.7045, allocations: 0.5664 MB / 0.8007 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01208/0.7166, allocations: 2.121 MB / 0.8028 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.005829/0.7225, allocations: 2.288 MB / 0.805 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.01425/0.7367, allocations: 6.214 MB / 0.8111 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02604/0.7628, allocations: 21.09 MB / 0.8317 GB, free: 15.98 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-05/0.7629, allocations: 11.98 kB / 0.8317 GB, free: 15.97 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.105e-06/0.7629, allocations: 0 / 0.8317 GB, free: 15.97 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0007288/0.7636, allocations: 0 / 0.8317 GB, free: 15.97 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.04348/0.8071, allocations: 13.11 MB / 0.8445 GB, free: 2.871 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.8072, allocations: 12.03 kB / 0.8445 GB, free: 2.859 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006665/0.8139, allocations: 1.287 MB / 0.8457 GB, free: 1.559 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02989/0.8438, allocations: 13.37 MB / 0.8588 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005954/0.8444, allocations: 0.5294 MB / 0.8593 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003027/0.8475, allocations: 0.7068 MB / 0.86 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03066/0.8781, allocations: 11.19 MB / 0.8709 GB, free: 7.465 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005199/0.8787, allocations: 35.67 kB / 0.871 GB, free: 7.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00323/0.882, allocations: 304 kB / 0.8713 GB, free: 7.133 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003449/0.8823, allocations: 223.9 kB / 0.8715 GB, free: 6.914 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02367/0.906, allocations: 9.237 MB / 0.8805 GB, free: 13.66 MB / 0.6198 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.09165/0.9977, allocations: 51.17 MB / 0.9305 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.008, allocations: 4.849 MB / 0.9352 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005614/1.014, allocations: 2.825 MB / 0.938 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001946/1.016, allocations: 1.719 MB / 0.9396 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/1.016, allocations: 90.2 kB / 0.9397 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=420): time 9.778e-06/1.016, allocations: 0 / 0.9397 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=420): time 0.01874/1.035, allocations: 7.815 MB / 0.9473 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/1.035, allocations: 94.55 kB / 0.9474 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5505/1.585, allocations: 9.978 MB / 0.9572 GB, free: 230.1 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.001436/1.587, allocations: 113 kB / 0.9573 GB, free: 230 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.006066/1.593, allocations: 4.721 MB / 0.9619 GB, free: 227.7 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.003803/1.597, allocations: 1.484 MB / 0.9633 GB, free: 226.8 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003995/1.601, allocations: 1.104 MB / 0.9644 GB, free: 226.3 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 6.13e-05/1.601, allocations: 303.2 kB / 0.9647 GB, free: 226 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005194/1.606, allocations: 2.642 MB / 0.9673 GB, free: 225 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007349/1.613, allocations: 4.162 MB / 0.9714 GB, free: 222.3 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/1.625, allocations: 7.383 MB / 0.9786 GB, free: 218.1 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.285e-05/1.625, allocations: 13.75 kB / 0.9786 GB, free: 218.1 MB / 0.6824 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01922/1.644, allocations: 7.923 MB / 0.9863 GB, free: 215 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 9.434e-05/1.644, allocations: 30.16 kB / 0.9863 GB, free: 215 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002767/1.645, allocations: 75.17 kB / 0.9864 GB, free: 215 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/1.645, allocations: 73.5 kB / 0.9865 GB, free: 215 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004781/1.65, allocations: 1.209 MB / 0.9877 GB, free: 214.9 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001479/1.65, allocations: 103.3 kB / 0.9878 GB, free: 214.9 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009634/1.659, allocations: 1.012 MB / 0.9888 GB, free: 214.5 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001731/1.661, allocations: 287.5 kB / 0.989 GB, free: 214.5 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01308/1.674, allocations: 6.405 MB / 0.9953 GB, free: 212.1 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006576/1.681, allocations: 4.155 MB / 0.9993 GB, free: 209.3 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01044/1.691, allocations: 7.373 MB / 1.007 GB, free: 204.4 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.086e-05/1.691, allocations: 15.03 kB / 1.007 GB, free: 204.4 MB / 0.6824 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01695/1.708, allocations: 7.918 MB / 1.014 GB, free: 196.5 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/1.708, allocations: 32.69 kB / 1.014 GB, free: 196.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002131/1.709, allocations: 67.98 kB / 1.014 GB, free: 196.4 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.888e-05/1.709, allocations: 74.95 kB / 1.014 GB, free: 196.4 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004323/1.713, allocations: 1.209 MB / 1.016 GB, free: 195.1 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.857e-05/1.713, allocations: 103.6 kB / 1.016 GB, free: 195 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009314/1.723, allocations: 0.918 MB / 1.017 GB, free: 194.1 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.724, allocations: 284.9 kB / 1.017 GB, free: 193.8 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.002381/1.726, allocations: 0.5076 MB / 1.017 GB, free: 193.3 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003586/1.73, allocations: 0.8374 MB / 1.018 GB, free: 192.5 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01861/1.748, allocations: 8.917 MB / 1.027 GB, free: 183.6 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.89e-05/1.749, allocations: 79.94 kB / 1.027 GB, free: 183.5 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.013e-05/1.749, allocations: 0 / 1.027 GB, free: 183.5 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01018/1.759, allocations: 6.106 MB / 1.033 GB, free: 177.3 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04117/1.8, allocations: 20.06 MB / 1.053 GB, free: 157 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002352/1.8, allocations: 40.91 kB / 1.053 GB, free: 157 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004175/1.805, allocations: 0.944 MB / 1.054 GB, free: 156.1 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.733e-05/1.805, allocations: 32 kB / 1.054 GB, free: 156 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009736/1.806, allocations: 191.8 kB / 1.054 GB, free: 155.8 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.406e-05/1.806, allocations: 50.59 kB / 1.054 GB, free: 155.8 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/1.806, allocations: 23.88 kB / 1.054 GB, free: 155.8 MB / 0.6824 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip.pipSeg[1].senMasFlo.port_a.h_outflow, pip.pipSeg[1].del.port_b.h_outflow) = spatialDistribution(0, senTemIn.port_a.h_outflow, pip.pipSeg[1].port_b.h_outflow, pip.pipSeg[1].del.x / pip.pipSeg[1].del.length, pip.v >= 0.0, {0.0, 1.0}, {pip.pipSeg[1].del.h_ini_in, pip.pipSeg[1].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.03695/1.843, allocations: 19.74 MB / 1.073 GB, free: 135.6 MB / 0.6824 GB Error: post-optimization module symbolicJacobian (simulation) failed.