Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.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.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.967/1.967, allocations: 292.3 MB / 308.1 MB, free: 4.223 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.00163/0.00163, allocations: 189.9 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.603/1.603, allocations: 205.1 MB / 0.6354 GB, free: 9.758 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.0009878/0.0009875, allocations: 104.1 kB / 0.748 GB, free: 61.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 55.91 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2953, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 0.7765/1.072, allocations: 211.2 MB / 1.188 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1095/1.181, allocations: 62.26 MB / 1.249 GB, free: 1.27 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01745/1.199, allocations: 193.4 kB / 1.249 GB, free: 1.199 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01574/1.215, allocations: 2.609 MB / 1.252 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.04495/1.26, allocations: 9.201 MB / 1.261 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.02148/1.281, allocations: 4.907 MB / 1.266 GB, free: 7.137 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.04603/1.327, allocations: 23.43 MB / 1.289 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01241/1.34, allocations: 4.906 MB / 1.293 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02372/1.364, allocations: 6.332 MB / 1.3 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01452/1.378, allocations: 5.153 MB / 1.305 GB, free: 9.469 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.003831/1.382, allocations: 336 kB / 1.305 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02198/1.404, allocations: 4.63 MB / 1.309 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.004568/1.409, allocations: 1.279 MB / 1.311 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.01109/1.42, allocations: 3.393 MB / 1.314 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.03356/1.453, allocations: 11.72 MB / 1.325 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/1.454, allocations: 0 / 1.325 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.086e-06/1.454, allocations: 4 kB / 1.325 GB, free: 4.055 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004176/1.454, allocations: 0 / 1.325 GB, free: 4.055 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.02649/1.48, allocations: 7.448 MB / 1.333 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/1.481, allocations: 8.031 kB / 1.333 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003842/1.484, allocations: 0.7106 MB / 1.333 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01878/1.503, allocations: 6.023 MB / 1.339 GB, free: 5.691 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/1.504, allocations: 283.3 kB / 1.34 GB, free: 5.414 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/1.505, allocations: 383.9 kB / 1.34 GB, free: 5.039 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008718/1.514, allocations: 4.093 MB / 1.344 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.899e-05/1.514, allocations: 15.83 kB / 1.344 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/1.514, allocations: 152 kB / 1.344 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/1.515, allocations: 96 kB / 1.344 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006545/1.521, allocations: 3.159 MB / 1.347 GB, free: 13.42 MB / 0.9167 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.04237/1.564, allocations: 23.39 MB / 1.37 GB, free: 4.031 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006211/1.57, allocations: 2.304 MB / 1.372 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002981/1.573, allocations: 1.262 MB / 1.374 GB, free: 464 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6951/2.268, allocations: 6.367 MB / 1.38 GB, free: 267 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004306/2.272, allocations: 1.413 MB / 1.381 GB, free: 266.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=261): time 7.133e-06/2.272, allocations: 2.062 kB / 1.381 GB, free: 266.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=261): time 0.009297/2.282, allocations: 3.687 MB / 1.385 GB, free: 266.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/2.282, allocations: 107.9 kB / 1.385 GB, free: 266.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01058/2.292, allocations: 4.249 MB / 1.389 GB, free: 266.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.00103/2.294, allocations: 78.64 kB / 1.389 GB, free: 266.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003048/2.297, allocations: 2.445 MB / 1.392 GB, free: 266.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001711/2.298, allocations: 0.8993 MB / 1.392 GB, free: 265.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/2.299, allocations: 0.5511 MB / 1.393 GB, free: 265.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.725e-05/2.3, allocations: 302 kB / 1.393 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/2.302, allocations: 1.027 MB / 1.394 GB, free: 264.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/2.304, allocations: 1.674 MB / 1.396 GB, free: 263.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00518/2.31, allocations: 2.822 MB / 1.399 GB, free: 261.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/2.31, allocations: 9.281 kB / 1.399 GB, free: 261.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.008916/2.319, allocations: 3.385 MB / 1.402 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/2.319, allocations: 13.56 kB / 1.402 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.111e-05/2.319, allocations: 35.33 kB / 1.402 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.884e-05/2.319, allocations: 28.59 kB / 1.402 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/2.321, allocations: 0.6076 MB / 1.403 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.917e-05/2.321, allocations: 39.38 kB / 1.403 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005178/2.326, allocations: 491.9 kB / 1.403 GB, free: 260.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003741/2.327, allocations: 147.1 kB / 1.403 GB, free: 260.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004268/2.331, allocations: 1.855 MB / 1.405 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002532/2.333, allocations: 1.665 MB / 1.407 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004435/2.338, allocations: 2.805 MB / 1.409 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.196e-05/2.338, allocations: 3.219 kB / 1.409 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=360) (initialization_lambda0): time 0.008447/2.346, allocations: 3.359 MB / 1.413 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/2.346, allocations: 13.25 kB / 1.413 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.304e-05/2.347, allocations: 30.19 kB / 1.413 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.008e-05/2.347, allocations: 36.78 kB / 1.413 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/2.349, allocations: 0.6016 MB / 1.413 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.055e-05/2.349, allocations: 38.94 kB / 1.413 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005819/2.355, allocations: 463.8 kB / 1.414 GB, free: 255 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005109/2.355, allocations: 143.8 kB / 1.414 GB, free: 255 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,lessThreshold.y,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001351/2.357, allocations: 348.3 kB / 1.414 GB, free: 254.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00262/2.359, allocations: 491.8 kB / 1.415 GB, free: 254.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/2.372, allocations: 4.895 MB / 1.42 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001378/2.372, allocations: 55.09 kB / 1.42 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.88e-05/2.372, allocations: 3.719 kB / 1.42 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005939/2.378, allocations: 3.507 MB / 1.423 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02324/2.401, allocations: 9.384 MB / 1.432 GB, free: 247.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-05/2.402, allocations: 16.72 kB / 1.432 GB, free: 247.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/2.404, allocations: 0.5274 MB / 1.433 GB, free: 247 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/2.404, allocations: 12.28 kB / 1.433 GB, free: 247 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/2.404, allocations: 96.31 kB / 1.433 GB, free: 247 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.631e-05/2.404, allocations: 17.62 kB / 1.433 GB, free: 247 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/2.404, allocations: 3.156 kB / 1.433 GB, free: 247 MB / 0.9323 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip1.cor.senMasFlo.port_a.h_outflow, pip1.cor.del.port_b.h_outflow) = spatialDistribution(0, pip0.ports_b[2].h_outflow, pip1.ports_b[2].h_outflow, pip1.cor.del.x / pip1.cor.del.length, pip1.cor.del.v >= 0.0, {0.0, 1.0}, {pip1.cor.del.h_ini_in, pip1.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.02212/2.426, allocations: 10.61 MB / 1.443 GB, free: 242.1 MB / 0.9323 GB Error: post-optimization module symbolicJacobian (simulation) failed.