Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 308.1 MB, free: 4.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002286/0.002286, allocations: 192.2 kB / 376.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.1 MB / 0.6354 GB, free: 9.746 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 98.59 kB / 0.748 GB, free: 61.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 55.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.296, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.6474/0.9435, allocations: 44.43 MB / 1.026 GB, free: 63.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01797/0.9615, allocations: 13.1 MB / 1.038 GB, free: 63.03 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002479/0.964, allocations: 40.62 kB / 1.038 GB, free: 63.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.966, allocations: 492.3 kB / 1.039 GB, free: 63.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006753/0.9728, allocations: 1.812 MB / 1.041 GB, free: 62.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004697/0.9775, allocations: 1.181 MB / 1.042 GB, free: 62.9 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.009932/0.9875, allocations: 4.243 MB / 1.046 GB, free: 62.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00298/0.9905, allocations: 0.8682 MB / 1.047 GB, free: 62.64 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004677/0.9952, allocations: 1.188 MB / 1.048 GB, free: 62.34 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003418/0.9987, allocations: 0.9323 MB / 1.049 GB, free: 62.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007586/0.9995, allocations: 60 kB / 1.049 GB, free: 62.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006346/1.006, allocations: 1.434 MB / 1.05 GB, free: 62.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0008915/1.007, allocations: 234.2 kB / 1.051 GB, free: 61.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00287/1.01, allocations: 0.6145 MB / 1.051 GB, free: 61.78 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.008439/1.018, allocations: 2.402 MB / 1.054 GB, free: 61.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/1.018, allocations: 1.969 kB / 1.054 GB, free: 61.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.342e-06/1.018, allocations: 0 / 1.054 GB, free: 61.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.904e-05/1.018, allocations: 4 kB / 1.054 GB, free: 61.47 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.007109/1.025, allocations: 1.67 MB / 1.055 GB, free: 60.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.732e-05/1.026, allocations: 8.562 kB / 1.055 GB, free: 60.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009599/1.026, allocations: 132 kB / 1.055 GB, free: 60.51 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/1.03, allocations: 1.19 MB / 1.056 GB, free: 60.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.431e-05/1.03, allocations: 56.09 kB / 1.056 GB, free: 60.13 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002895/1.031, allocations: 75.41 kB / 1.057 GB, free: 60.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/1.033, allocations: 0.7626 MB / 1.057 GB, free: 60.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/1.033, allocations: 0 / 1.057 GB, free: 60.01 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/1.033, allocations: 31.95 kB / 1.057 GB, free: 60.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.231e-05/1.033, allocations: 19.34 kB / 1.057 GB, free: 60.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/1.035, allocations: 0.5645 MB / 1.058 GB, free: 60 MB / 0.7448 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.007448/1.042, allocations: 3.99 MB / 1.062 GB, free: 57.44 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/1.043, allocations: 485.2 kB / 1.062 GB, free: 57.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/1.044, allocations: 210.1 kB / 1.062 GB, free: 57.17 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/1.045, allocations: 1.506 MB / 1.064 GB, free: 55.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/1.045, allocations: 39.72 kB / 1.064 GB, free: 55.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=46): time 4.939e-06/1.045, allocations: 0 / 1.064 GB, free: 55.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46): time 0.001953/1.047, allocations: 0.6623 MB / 1.065 GB, free: 55.15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/1.047, allocations: 62.53 kB / 1.065 GB, free: 55.08 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/1.049, allocations: 1.011 MB / 1.066 GB, free: 54.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-05/1.049, allocations: 36.8 kB / 1.066 GB, free: 54.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/1.05, allocations: 481.9 kB / 1.066 GB, free: 54.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/1.05, allocations: 160.2 kB / 1.066 GB, free: 54.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/1.05, allocations: 122.3 kB / 1.066 GB, free: 54.06 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/1.051, allocations: 323.8 kB / 1.067 GB, free: 53.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/1.051, allocations: 191.5 kB / 1.067 GB, free: 53.67 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/1.051, allocations: 323.9 kB / 1.067 GB, free: 53.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/1.052, allocations: 0.5087 MB / 1.068 GB, free: 53.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/1.052, allocations: 0.75 kB / 1.068 GB, free: 53.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001383/1.054, allocations: 0.6543 MB / 1.068 GB, free: 52.87 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/1.054, allocations: 6.375 kB / 1.068 GB, free: 52.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/1.054, allocations: 5.844 kB / 1.068 GB, free: 52.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/1.054, allocations: 10.31 kB / 1.068 GB, free: 52.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/1.054, allocations: 126.3 kB / 1.069 GB, free: 52.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/1.054, allocations: 6.594 kB / 1.069 GB, free: 52.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.055, allocations: 94.12 kB / 1.069 GB, free: 52.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/1.055, allocations: 30.81 kB / 1.069 GB, free: 52.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006469/1.056, allocations: 397.7 kB / 1.069 GB, free: 52.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004024/1.057, allocations: 322.5 kB / 1.069 GB, free: 52.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007559/1.057, allocations: 0.501 MB / 1.07 GB, free: 52.05 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/1.057, allocations: 6.5 kB / 1.07 GB, free: 52.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001298/1.059, allocations: 0.6453 MB / 1.07 GB, free: 51.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/1.059, allocations: 10.02 kB / 1.07 GB, free: 51.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/1.059, allocations: 6.844 kB / 1.07 GB, free: 51.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/1.059, allocations: 10.78 kB / 1.07 GB, free: 51.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/1.059, allocations: 126.3 kB / 1.071 GB, free: 51.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.059, allocations: 3.797 kB / 1.071 GB, free: 51.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009773/1.06, allocations: 74.44 kB / 1.071 GB, free: 51.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/1.06, allocations: 29.92 kB / 1.071 GB, free: 51.71 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * 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.0002319/1.06, allocations: 209.7 kB / 1.071 GB, free: 51.51 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/1.061, allocations: 108.8 kB / 1.071 GB, free: 51.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/1.063, allocations: 0.9753 MB / 1.072 GB, free: 51.08 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.292e-05/1.063, allocations: 13.08 kB / 1.072 GB, free: 51.08 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/1.063, allocations: 0 / 1.072 GB, free: 51.08 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009723/1.064, allocations: 0.8513 MB / 1.073 GB, free: 50.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003572/1.067, allocations: 1.997 MB / 1.075 GB, free: 49.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/1.067, allocations: 3.375 kB / 1.075 GB, free: 49.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/1.068, allocations: 97.47 kB / 1.075 GB, free: 49.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/1.068, allocations: 5.562 kB / 1.075 GB, free: 49.47 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/1.068, allocations: 20.88 kB / 1.075 GB, free: 49.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/1.068, allocations: 6.938 kB / 1.075 GB, free: 49.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.068, allocations: 4.125 kB / 1.075 GB, free: 49.46 MB / 0.7448 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip.cor.senMasFlo.port_a.h_outflow, pip.cor.del.port_b.h_outflow) = spatialDistribution(0, sou.ports[1].h_outflow, pip.ports_b[1].h_outflow, pip.cor.del.x / pip.cor.del.length, pip.cor.del.v >= 0.0, {0.0, 1.0}, {pip.cor.del.h_ini_in, pip.cor.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.005303/1.073, allocations: 2.548 MB / 1.077 GB, free: 48.26 MB / 0.7448 GB Error: post-optimization module symbolicJacobian (simulation) failed.