Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8232/0.8232, allocations: 143.4 MB / 159.2 MB, free: 4.875 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 187.1 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 447.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009775/0.0009776, allocations: 107.7 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002735/0.002735, allocations: 283 kB / 0.5973 GB, free: 49.4 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 87.86 kB / 0.6885 GB, free: 3.867 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3523, allocations: 81.29 MB / 0.7679 GB, free: 27.71 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.0986/0.451, allocations: 114.4 MB / 0.8796 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.3421/0.7931, allocations: 26.59 MB / 0.9056 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003826/0.797, allocations: 96.91 kB / 0.9057 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002851/0.7999, allocations: 0.931 MB / 0.9066 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008469/0.8083, allocations: 3.152 MB / 0.9097 GB, free: 8.699 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00584/0.8142, allocations: 2.078 MB / 0.9117 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01009/0.8243, allocations: 8.15 MB / 0.9197 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002807/0.8271, allocations: 1.593 MB / 0.9212 GB, free: 8.508 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005642/0.8328, allocations: 2.323 MB / 0.9235 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003857/0.8367, allocations: 1.758 MB / 0.9252 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004197/0.8371, allocations: 111.9 kB / 0.9253 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005384/0.8425, allocations: 2.147 MB / 0.9274 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005008/0.843, allocations: 445.6 kB / 0.9278 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001988/0.845, allocations: 1.172 MB / 0.929 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.8509, allocations: 3.997 MB / 0.9329 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.851, allocations: 4 kB / 0.9329 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.102e-06/0.851, allocations: 0 / 0.9329 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.948e-05/0.851, allocations: 0 / 0.9329 GB, free: 7.246 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.00506/0.8561, allocations: 2.82 MB / 0.9356 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.8561, allocations: 11.47 kB / 0.9356 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005714/0.8567, allocations: 264 kB / 0.9359 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003605/0.8603, allocations: 2.075 MB / 0.9379 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.925e-05/0.8604, allocations: 101.9 kB / 0.938 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.8606, allocations: 141.7 kB / 0.9382 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.8627, allocations: 1.454 MB / 0.9396 GB, free: 5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.8627, allocations: 8.719 kB / 0.9396 GB, free: 5 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.8628, allocations: 53.59 kB / 0.9396 GB, free: 5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.8629, allocations: 42.5 kB / 0.9397 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.8646, allocations: 1.02 MB / 0.9407 GB, free: 4.98 MB / 0.5573 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.007365/0.8719, allocations: 8.122 MB / 0.9486 GB, free: 112 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.8733, allocations: 0.8321 MB / 0.9494 GB, free: 15.98 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.8738, allocations: 376.6 kB / 0.9498 GB, free: 15.98 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001868/0.8757, allocations: 2.812 MB / 0.9525 GB, free: 12.78 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.8757, allocations: 40.94 kB / 0.9526 GB, free: 12.74 MB / 0.573 GB Notification: Performance of pre-optimization done (n=85): time 2.885e-06/0.8757, allocations: 0 / 0.9526 GB, free: 12.74 MB / 0.573 GB Notification: Performance of matching and sorting (n=85): time 0.00218/0.8779, allocations: 1.137 MB / 0.9537 GB, free: 12.54 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.878, allocations: 60.41 kB / 0.9537 GB, free: 12.48 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.8798, allocations: 1.589 MB / 0.9553 GB, free: 12.01 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.265e-05/0.8799, allocations: 45.17 kB / 0.9553 GB, free: 11.98 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005629/0.8805, allocations: 0.9198 MB / 0.9562 GB, free: 11.56 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.8807, allocations: 307.5 kB / 0.9565 GB, free: 11.34 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.881, allocations: 229.7 kB / 0.9567 GB, free: 11.29 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8811, allocations: 352.2 kB / 0.9571 GB, free: 10.97 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.8817, allocations: 329.2 kB / 0.9574 GB, free: 10.91 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007984/0.8825, allocations: 0.7094 MB / 0.9581 GB, free: 10.38 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.8839, allocations: 1.087 MB / 0.9591 GB, free: 9.871 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.8839, allocations: 8.969 kB / 0.9591 GB, free: 9.867 MB / 0.573 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002005/0.8859, allocations: 1.255 MB / 0.9604 GB, free: 9.609 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.8859, allocations: 8.188 kB / 0.9604 GB, free: 9.609 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/0.886, allocations: 16.53 kB / 0.9604 GB, free: 9.609 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.886, allocations: 20.97 kB / 0.9604 GB, free: 9.605 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007579/0.8868, allocations: 262.7 kB / 0.9607 GB, free: 9.566 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.8868, allocations: 24.41 kB / 0.9607 GB, free: 9.566 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.888, allocations: 186.3 kB / 0.9609 GB, free: 9.473 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.8881, allocations: 62.83 kB / 0.9609 GB, free: 9.469 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009769/0.8891, allocations: 0.6214 MB / 0.9615 GB, free: 9.32 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007762/0.8899, allocations: 0.7059 MB / 0.9622 GB, free: 8.801 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001352/0.8912, allocations: 1.077 MB / 0.9633 GB, free: 8.301 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.582e-06/0.8913, allocations: 2.719 kB / 0.9633 GB, free: 8.301 MB / 0.573 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001921/0.8932, allocations: 1.246 MB / 0.9645 GB, free: 8.043 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.8932, allocations: 10.75 kB / 0.9645 GB, free: 8.043 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.8932, allocations: 20.28 kB / 0.9645 GB, free: 8.039 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.8933, allocations: 16.47 kB / 0.9645 GB, free: 8.039 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007295/0.894, allocations: 260.1 kB / 0.9648 GB, free: 8.004 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.894, allocations: 27.2 kB / 0.9648 GB, free: 8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.8951, allocations: 143.2 kB / 0.965 GB, free: 7.938 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.957e-05/0.8952, allocations: 65.62 kB / 0.965 GB, free: 7.93 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003143/0.8956, allocations: 255.5 kB / 0.9653 GB, free: 7.742 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/0.8958, allocations: 188.8 kB / 0.9654 GB, free: 7.645 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/0.8986, allocations: 1.745 MB / 0.9671 GB, free: 7.16 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/0.8987, allocations: 24.44 kB / 0.9672 GB, free: 7.152 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.8987, allocations: 0 / 0.9672 GB, free: 7.152 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001553/0.9002, allocations: 1.141 MB / 0.9683 GB, free: 6.852 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/0.9053, allocations: 3.478 MB / 0.9717 GB, free: 4.566 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/0.9054, allocations: 12 kB / 0.9717 GB, free: 4.555 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006986/0.9061, allocations: 204.8 kB / 0.9719 GB, free: 4.367 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.54e-05/0.9061, allocations: 15.38 kB / 0.9719 GB, free: 4.355 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/0.9062, allocations: 43.92 kB / 0.9719 GB, free: 4.312 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.407e-05/0.9062, allocations: 18.05 kB / 0.972 GB, free: 4.297 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.9062, allocations: 10.34 kB / 0.972 GB, free: 4.289 MB / 0.573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip.res.port_a.h_outflow, pip.del.port_b.h_outflow) = spatialDistribution(0, senTemIn.port_a.h_outflow, senTemOut.port_b.h_outflow, pip.del.x / pip.del.length, pip.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.005673/0.9119, allocations: 3.558 MB / 0.9754 GB, free: 0.6367 MB / 0.573 GB Error: post-optimization module symbolicJacobian (simulation) failed.