Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.3 MB / 308.1 MB, free: 4.277 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.001417/0.001417, allocations: 192.5 kB / 376.9 MB, free: 1.809 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.788/1.788, allocations: 205 MB / 0.6353 GB, free: 9.797 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.00101/0.00101, allocations: 101.6 kB / 0.748 GB, free: 61.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3154, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.6332/0.9487, allocations: 44.38 MB / 1.026 GB, free: 63.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.968, allocations: 13.11 MB / 1.038 GB, free: 63.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.9703, allocations: 39.62 kB / 1.038 GB, free: 63.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.9722, allocations: 489 kB / 1.039 GB, free: 63.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005923/0.9782, allocations: 1.807 MB / 1.041 GB, free: 63.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003858/0.982, allocations: 1.176 MB / 1.042 GB, free: 63.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007724/0.9898, allocations: 4.202 MB / 1.046 GB, free: 62.91 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.9922, allocations: 0.857 MB / 1.047 GB, free: 62.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004043/0.9963, allocations: 1.165 MB / 1.048 GB, free: 62.51 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002812/0.9991, allocations: 0.9144 MB / 1.049 GB, free: 62.3 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005221/0.9997, allocations: 61.5 kB / 1.049 GB, free: 62.3 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005595/1.005, allocations: 1.429 MB / 1.05 GB, free: 62.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006138/1.006, allocations: 223.8 kB / 1.05 GB, free: 62.13 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001547/1.007, allocations: 0.6053 MB / 1.051 GB, free: 61.95 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005671/1.013, allocations: 2.372 MB / 1.053 GB, free: 61.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.013, allocations: 0 / 1.053 GB, free: 61.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.342e-06/1.013, allocations: 3.938 kB / 1.053 GB, free: 61.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.815e-05/1.013, allocations: 4 kB / 1.053 GB, free: 61.64 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004045/1.017, allocations: 1.637 MB / 1.055 GB, free: 60.76 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/1.017, allocations: 9.188 kB / 1.055 GB, free: 60.76 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004548/1.018, allocations: 139.8 kB / 1.055 GB, free: 60.69 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/1.02, allocations: 1.202 MB / 1.056 GB, free: 60.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/1.02, allocations: 54.45 kB / 1.056 GB, free: 60.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/1.02, allocations: 67.28 kB / 1.056 GB, free: 60.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/1.022, allocations: 0.7536 MB / 1.057 GB, free: 60.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/1.022, allocations: 0 / 1.057 GB, free: 60.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.416e-05/1.022, allocations: 26.41 kB / 1.057 GB, free: 60.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/1.022, allocations: 25.59 kB / 1.057 GB, free: 60.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008871/1.023, allocations: 0.5228 MB / 1.058 GB, free: 60.15 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.004537/1.027, allocations: 4.525 MB / 1.062 GB, free: 57.01 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/1.028, allocations: 358.2 kB / 1.062 GB, free: 56.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/1.028, allocations: 211.4 kB / 1.063 GB, free: 56.79 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/1.029, allocations: 1.51 MB / 1.064 GB, free: 55.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/1.029, allocations: 45.66 kB / 1.064 GB, free: 55.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=43): time 3.717e-06/1.029, allocations: 0 / 1.064 GB, free: 55.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43): time 0.002118/1.032, allocations: 0.8846 MB / 1.065 GB, free: 54.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/1.032, allocations: 58.44 kB / 1.065 GB, free: 54.56 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/1.033, allocations: 0.8805 MB / 1.066 GB, free: 54.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/1.033, allocations: 36.73 kB / 1.066 GB, free: 54.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/1.033, allocations: 491.5 kB / 1.066 GB, free: 53.76 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/1.033, allocations: 154.1 kB / 1.067 GB, free: 53.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/1.034, allocations: 120.7 kB / 1.067 GB, free: 53.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.245e-05/1.034, allocations: 323.6 kB / 1.067 GB, free: 53.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/1.034, allocations: 178.6 kB / 1.067 GB, free: 53.2 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/1.034, allocations: 329.8 kB / 1.067 GB, free: 52.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/1.035, allocations: 0.5216 MB / 1.068 GB, free: 52.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.035, allocations: 4 kB / 1.068 GB, free: 52.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001451/1.036, allocations: 0.7194 MB / 1.069 GB, free: 52.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.036, allocations: 9.734 kB / 1.069 GB, free: 52.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/1.036, allocations: 6.469 kB / 1.069 GB, free: 52.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/1.037, allocations: 114.8 kB / 1.069 GB, free: 52.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/1.037, allocations: 111.8 kB / 1.069 GB, free: 52.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004027/1.038, allocations: 0.6246 MB / 1.07 GB, free: 51.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/1.039, allocations: 92.02 kB / 1.07 GB, free: 51.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/1.039, allocations: 31.41 kB / 1.07 GB, free: 51.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007569/1.04, allocations: 390.3 kB / 1.07 GB, free: 51.44 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003939/1.04, allocations: 330.7 kB / 1.07 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006982/1.041, allocations: 0.5191 MB / 1.071 GB, free: 50.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/1.041, allocations: 0.9375 kB / 1.071 GB, free: 50.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001444/1.042, allocations: 0.7197 MB / 1.072 GB, free: 50.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/1.042, allocations: 6.5 kB / 1.072 GB, free: 50.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.042, allocations: 10.62 kB / 1.072 GB, free: 50.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004583/1.043, allocations: 110.9 kB / 1.072 GB, free: 50.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/1.043, allocations: 116 kB / 1.072 GB, free: 50.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003918/1.043, allocations: 0.6266 MB / 1.072 GB, free: 49.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/1.044, allocations: 78 kB / 1.072 GB, free: 49.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/1.044, allocations: 33.97 kB / 1.073 GB, free: 49.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002202/1.045, allocations: 209.1 kB / 1.073 GB, free: 49.69 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/1.045, allocations: 94.75 kB / 1.073 GB, free: 49.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/1.047, allocations: 1.01 MB / 1.074 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/1.047, allocations: 10.16 kB / 1.074 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.047, allocations: 2.953 kB / 1.074 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/1.048, allocations: 0.9225 MB / 1.075 GB, free: 48.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/1.051, allocations: 1.947 MB / 1.077 GB, free: 47.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/1.051, allocations: 3 kB / 1.077 GB, free: 47.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/1.051, allocations: 89.3 kB / 1.077 GB, free: 47.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003452/1.052, allocations: 89.05 kB / 1.077 GB, free: 47.69 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/1.052, allocations: 18.66 kB / 1.077 GB, free: 47.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000367/1.052, allocations: 0.6183 MB / 1.077 GB, free: 47.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.052, allocations: 3.375 kB / 1.077 GB, free: 47.12 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.004676/1.057, allocations: 2.461 MB / 1.08 GB, free: 45.93 MB / 0.7448 GB Error: post-optimization module symbolicJacobian (simulation) failed.