Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 292.3 MB / 308.1 MB, free: 4.316 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.001367/0.001367, allocations: 184.5 kB / 376.9 MB, free: 1.816 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.557/1.557, allocations: 205 MB / 0.6354 GB, free: 9.809 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.001026/0.001026, allocations: 106.1 kB / 0.748 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 59.91 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2885, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.7015/0.9901, allocations: 60.43 MB / 1.041 GB, free: 63.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03164/1.022, allocations: 18.33 MB / 1.059 GB, free: 59.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004097/1.026, allocations: 58.22 kB / 1.059 GB, free: 59.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003794/1.03, allocations: 0.7065 MB / 1.06 GB, free: 59.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01151/1.041, allocations: 2.355 MB / 1.062 GB, free: 58.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.008414/1.05, allocations: 1.576 MB / 1.064 GB, free: 58.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01119/1.061, allocations: 5.649 MB / 1.069 GB, free: 55.88 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/1.064, allocations: 1.22 MB / 1.07 GB, free: 55.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005327/1.07, allocations: 1.657 MB / 1.072 GB, free: 54.63 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003366/1.073, allocations: 1.282 MB / 1.073 GB, free: 54.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004143/1.074, allocations: 82.69 kB / 1.073 GB, free: 54.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006201/1.08, allocations: 1.637 MB / 1.075 GB, free: 53.51 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004902/1.08, allocations: 335 kB / 1.075 GB, free: 53.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001863/1.082, allocations: 0.8918 MB / 1.076 GB, free: 52.79 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006402/1.089, allocations: 3.072 MB / 1.079 GB, free: 51.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.594e-05/1.089, allocations: 0 / 1.079 GB, free: 51.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.415e-06/1.089, allocations: 0 / 1.079 GB, free: 51.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.361e-05/1.089, allocations: 0 / 1.079 GB, free: 51.65 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005639/1.095, allocations: 2.254 MB / 1.081 GB, free: 50.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/1.095, allocations: 9.75 kB / 1.081 GB, free: 50.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/1.097, allocations: 371.2 kB / 1.082 GB, free: 50.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/1.1, allocations: 1.54 MB / 1.083 GB, free: 49.17 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/1.1, allocations: 82.08 kB / 1.083 GB, free: 49.13 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/1.1, allocations: 115 kB / 1.083 GB, free: 49.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/1.102, allocations: 1.23 MB / 1.085 GB, free: 48.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/1.102, allocations: 3.938 kB / 1.085 GB, free: 48.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.166e-05/1.102, allocations: 48.44 kB / 1.085 GB, free: 48.42 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/1.102, allocations: 27.53 kB / 1.085 GB, free: 48.42 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/1.104, allocations: 0.9366 MB / 1.086 GB, free: 48.09 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.007855/1.112, allocations: 6.982 MB / 1.092 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/1.114, allocations: 0.7964 MB / 1.093 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007365/1.114, allocations: 391.8 kB / 1.094 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/1.116, allocations: 1.774 MB / 1.095 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009239/1.117, allocations: 458.9 kB / 1.096 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 4.248e-06/1.117, allocations: 0 / 1.096 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.002868/1.12, allocations: 1.167 MB / 1.097 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/1.12, allocations: 84.17 kB / 1.097 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/1.122, allocations: 1.292 MB / 1.098 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/1.122, allocations: 47.2 kB / 1.098 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000577/1.122, allocations: 0.7214 MB / 1.099 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/1.123, allocations: 261.3 kB / 1.099 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/1.123, allocations: 182.1 kB / 1.099 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/1.123, allocations: 338.5 kB / 1.1 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007132/1.124, allocations: 331.8 kB / 1.1 GB, free: 37.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/1.125, allocations: 0.5818 MB / 1.101 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/1.126, allocations: 0.9223 MB / 1.102 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/1.126, allocations: 4 kB / 1.102 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002366/1.129, allocations: 1.098 MB / 1.103 GB, free: 36.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.129, allocations: 6.188 kB / 1.103 GB, free: 36.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/1.129, allocations: 9.906 kB / 1.103 GB, free: 36.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/1.129, allocations: 12.75 kB / 1.103 GB, free: 36.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/1.13, allocations: 214.2 kB / 1.103 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/1.13, allocations: 24.31 kB / 1.103 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/1.131, allocations: 159 kB / 1.103 GB, free: 35.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.131, allocations: 49.27 kB / 1.103 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00121/1.132, allocations: 0.5781 MB / 1.104 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008339/1.133, allocations: 0.5794 MB / 1.104 GB, free: 35.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001536/1.135, allocations: 0.9183 MB / 1.105 GB, free: 34.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.561e-06/1.135, allocations: 3.25 kB / 1.105 GB, free: 34.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002187/1.137, allocations: 1.095 MB / 1.106 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.137, allocations: 10.66 kB / 1.106 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/1.137, allocations: 9.875 kB / 1.106 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/1.137, allocations: 13.16 kB / 1.106 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007576/1.138, allocations: 209.3 kB / 1.106 GB, free: 34.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/1.138, allocations: 20.66 kB / 1.106 GB, free: 34.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/1.139, allocations: 146.2 kB / 1.107 GB, free: 34.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/1.139, allocations: 43.72 kB / 1.107 GB, free: 34.11 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * 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.0003834/1.139, allocations: 239.6 kB / 1.107 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/1.14, allocations: 151.5 kB / 1.107 GB, free: 33.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/1.142, allocations: 1.376 MB / 1.108 GB, free: 33.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/1.143, allocations: 13.31 kB / 1.108 GB, free: 33.29 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.143, allocations: 6.875 kB / 1.108 GB, free: 33.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001875/1.144, allocations: 1.194 MB / 1.109 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004645/1.149, allocations: 2.658 MB / 1.112 GB, free: 31.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/1.149, allocations: 7.031 kB / 1.112 GB, free: 31.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006887/1.15, allocations: 165.8 kB / 1.112 GB, free: 31.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/1.15, allocations: 3.062 kB / 1.112 GB, free: 31.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.567e-05/1.15, allocations: 28.7 kB / 1.112 GB, free: 31.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/1.15, allocations: 10.91 kB / 1.112 GB, free: 31.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.15, allocations: 0 / 1.112 GB, free: 31.33 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 "(pipe.cor.senMasFlo.port_a.h_outflow, pipe.cor.del.port_b.h_outflow) = spatialDistribution(0, senEntIn.port_b.h_outflow, pipe.ports_b[1].h_outflow, pipe.cor.del.x / pipe.cor.del.length, pipe.cor.del.v >= 0.0, {0.0, 1.0}, {pipe.cor.del.h_ini_in, pipe.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.008197/1.158, allocations: 3.563 MB / 1.116 GB, free: 29.66 MB / 0.7448 GB Error: post-optimization module symbolicJacobian (simulation) failed.