Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") translateModel(Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.007/2.007, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 195.4 kB / 499.1 MB, free: 4.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 111.7 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001016, allocations: 55.41 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2531, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.02708/0.2802, allocations: 33.31 MB / 1.251 GB, free: 83.82 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01148/0.2918, allocations: 9.919 MB / 1.26 GB, free: 73.88 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.2931, allocations: 23.81 kB / 1.26 GB, free: 73.85 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.2945, allocations: 326.2 kB / 1.261 GB, free: 73.53 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003541/0.2981, allocations: 1.287 MB / 1.262 GB, free: 72.24 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.3004, allocations: 0.8257 MB / 1.263 GB, free: 71.41 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002726/0.3031, allocations: 2.668 MB / 1.265 GB, free: 68.74 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000867/0.304, allocations: 0.5266 MB / 1.266 GB, free: 68.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.3058, allocations: 0.8712 MB / 1.267 GB, free: 67.32 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.3068, allocations: 0.6223 MB / 1.267 GB, free: 66.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.307, allocations: 36 kB / 1.267 GB, free: 66.66 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.3094, allocations: 1.263 MB / 1.269 GB, free: 65.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.3096, allocations: 151.3 kB / 1.269 GB, free: 65.25 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005396/0.3102, allocations: 413.8 kB / 1.269 GB, free: 64.84 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.3129, allocations: 1.644 MB / 1.271 GB, free: 63.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3129, allocations: 4 kB / 1.271 GB, free: 63.19 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3129, allocations: 0 / 1.271 GB, free: 63.19 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.041e-05/0.313, allocations: 0 / 1.271 GB, free: 63.19 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002533/0.3155, allocations: 1.234 MB / 1.272 GB, free: 61.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3155, allocations: 11.98 kB / 1.272 GB, free: 61.89 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.3158, allocations: 87.91 kB / 1.272 GB, free: 61.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000999/0.3168, allocations: 0.6525 MB / 1.273 GB, free: 61.11 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.3168, allocations: 33 kB / 1.273 GB, free: 61.08 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.481e-05/0.3169, allocations: 48 kB / 1.273 GB, free: 61.04 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/0.3176, allocations: 434.4 kB / 1.273 GB, free: 60.61 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.3176, allocations: 3.938 kB / 1.273 GB, free: 60.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.3177, allocations: 20 kB / 1.273 GB, free: 60.58 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3177, allocations: 8 kB / 1.273 GB, free: 60.57 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006406/0.3183, allocations: 367.7 kB / 1.274 GB, free: 60.21 MB / 0.823 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.003112/0.3215, allocations: 2.779 MB / 1.276 GB, free: 57.15 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007062/0.3222, allocations: 371.7 kB / 1.277 GB, free: 56.78 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.3224, allocations: 157 kB / 1.277 GB, free: 56.62 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008651/0.3233, allocations: 1.421 MB / 1.278 GB, free: 54.89 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3233, allocations: 34.84 kB / 1.278 GB, free: 54.84 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 2.866e-06/0.3234, allocations: 0 / 1.278 GB, free: 54.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.0009737/0.3243, allocations: 0.4937 MB / 1.279 GB, free: 54.34 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.3244, allocations: 55.41 kB / 1.279 GB, free: 54.28 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007664/0.3251, allocations: 0.7468 MB / 1.279 GB, free: 53.52 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3252, allocations: 29.7 kB / 1.279 GB, free: 53.48 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.3254, allocations: 340.2 kB / 1.28 GB, free: 53.14 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.3254, allocations: 122.2 kB / 1.28 GB, free: 53.02 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.3256, allocations: 86.05 kB / 1.28 GB, free: 52.93 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.3256, allocations: 329.8 kB / 1.28 GB, free: 52.61 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.3259, allocations: 134.3 kB / 1.28 GB, free: 52.47 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.3262, allocations: 205.4 kB / 1.281 GB, free: 52.25 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.3267, allocations: 322.3 kB / 1.281 GB, free: 51.92 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3267, allocations: 0 / 1.281 GB, free: 51.92 MB / 0.823 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007881/0.3275, allocations: 473.6 kB / 1.281 GB, free: 51.45 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3275, allocations: 8 kB / 1.281 GB, free: 51.44 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.3275, allocations: 7.984 kB / 1.281 GB, free: 51.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.3276, allocations: 0 / 1.281 GB, free: 51.43 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.328, allocations: 107.8 kB / 1.281 GB, free: 51.33 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002581/0.3283, allocations: 0.6015 MB / 1.282 GB, free: 50.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.3287, allocations: 63.53 kB / 1.282 GB, free: 50.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.3288, allocations: 20 kB / 1.282 GB, free: 50.62 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003458/0.3291, allocations: 276.9 kB / 1.282 GB, free: 50.35 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002769/0.3294, allocations: 205.6 kB / 1.283 GB, free: 50.13 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004829/0.3299, allocations: 340.9 kB / 1.283 GB, free: 49.78 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.3299, allocations: 0 / 1.283 GB, free: 49.78 MB / 0.823 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0007537/0.3307, allocations: 461.6 kB / 1.283 GB, free: 49.32 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.3307, allocations: 4 kB / 1.283 GB, free: 49.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3307, allocations: 4 kB / 1.283 GB, free: 49.31 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.439e-06/0.3307, allocations: 8.156 kB / 1.283 GB, free: 49.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.331, allocations: 87.88 kB / 1.283 GB, free: 49.22 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.331, allocations: 7.938 kB / 1.283 GB, free: 49.21 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.3314, allocations: 47.72 kB / 1.284 GB, free: 49.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.3315, allocations: 23.92 kB / 1.284 GB, free: 49.14 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.3316, allocations: 208.1 kB / 1.284 GB, free: 48.93 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3317, allocations: 75.06 kB / 1.284 GB, free: 48.86 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.333, allocations: 0.8047 MB / 1.285 GB, free: 48.06 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.333, allocations: 11.92 kB / 1.285 GB, free: 48.05 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.333, allocations: 4 kB / 1.285 GB, free: 48.05 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.333, allocations: 4.078 kB / 1.285 GB, free: 48.04 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.3348, allocations: 1.458 MB / 1.286 GB, free: 46.52 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.3348, allocations: 7.984 kB / 1.286 GB, free: 46.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.3351, allocations: 91.83 kB / 1.286 GB, free: 46.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.3352, allocations: 4 kB / 1.286 GB, free: 46.42 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.3352, allocations: 19.98 kB / 1.286 GB, free: 46.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001707/0.3354, allocations: 0.5901 MB / 1.287 GB, free: 45.79 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3354, allocations: 0 / 1.287 GB, free: 45.79 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip.senMasFlo.port_a.h_outflow, pip.del.port_b.h_outflow) = spatialDistribution(0, sou.ports[1].h_outflow, sin.ports[1].h_outflow, pip.del.x / pip.del.length, pip.del.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.004233/0.3396, allocations: 2.208 MB / 1.289 GB, free: 43.52 MB / 0.823 GB Error: post-optimization module symbolicJacobian (simulation) failed.