Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") translateModel(IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4671/0.4671, allocations: 87.51 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 349.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 106.9 kB / 420 MB, free: 8.508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001494, allocations: 52.16 kB / 0.4891 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4473, allocations: 70.06 MB / 0.5575 GB, free: 44.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.02596/0.4733, allocations: 33.29 MB / 0.59 GB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.4846, allocations: 9.911 MB / 0.5997 GB, free: 1.871 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.4858, allocations: 27.81 kB / 0.5997 GB, free: 1.844 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.4869, allocations: 318.2 kB / 0.6 GB, free: 1.531 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003543/0.4905, allocations: 1.295 MB / 0.6013 GB, free: 236 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.4929, allocations: 0.82 MB / 0.6021 GB, free: 15.41 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.496, allocations: 2.666 MB / 0.6047 GB, free: 12.74 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007418/0.4968, allocations: 0.526 MB / 0.6052 GB, free: 12.21 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.4985, allocations: 0.8673 MB / 0.606 GB, free: 11.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008018/0.4993, allocations: 0.634 MB / 0.6067 GB, free: 10.7 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.753e-05/0.4994, allocations: 40 kB / 0.6067 GB, free: 10.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.5021, allocations: 1.255 MB / 0.6079 GB, free: 9.402 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.5023, allocations: 151.3 kB / 0.6081 GB, free: 9.254 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004351/0.5027, allocations: 413.9 kB / 0.6085 GB, free: 8.848 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.5052, allocations: 1.648 MB / 0.6101 GB, free: 7.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.5052, allocations: 4 kB / 0.6101 GB, free: 7.191 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.5052, allocations: 0 / 0.6101 GB, free: 7.191 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.5052, allocations: 4 kB / 0.6101 GB, free: 7.188 MB / 426.7 MB 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.002339/0.5076, allocations: 1.23 MB / 0.6113 GB, free: 5.906 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.5076, allocations: 8.031 kB / 0.6113 GB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.5078, allocations: 87.91 kB / 0.6114 GB, free: 5.812 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.5089, allocations: 0.6564 MB / 0.612 GB, free: 5.117 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.5089, allocations: 37 kB / 0.6121 GB, free: 5.082 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.509, allocations: 47.91 kB / 0.6121 GB, free: 5.035 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/0.5098, allocations: 438.4 kB / 0.6125 GB, free: 4.602 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.5099, allocations: 0 / 0.6125 GB, free: 4.602 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.5099, allocations: 16 kB / 0.6125 GB, free: 4.586 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.5099, allocations: 12 kB / 0.6125 GB, free: 4.574 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.5107, allocations: 363.8 kB / 0.6129 GB, free: 4.219 MB / 426.7 MB 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.00381/0.5145, allocations: 2.779 MB / 0.6156 GB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008247/0.5153, allocations: 378.1 kB / 0.616 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.5156, allocations: 149.1 kB / 0.6161 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.517, allocations: 1.421 MB / 0.6175 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.517, allocations: 42.78 kB / 0.6175 GB, free: 14.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.517, allocations: 0 / 0.6175 GB, free: 14.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.001105/0.5181, allocations: 0.4886 MB / 0.618 GB, free: 14.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.5182, allocations: 55.69 kB / 0.6181 GB, free: 14.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009361/0.5191, allocations: 0.743 MB / 0.6188 GB, free: 13.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.5192, allocations: 29.7 kB / 0.6188 GB, free: 13.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.5194, allocations: 340.2 kB / 0.6191 GB, free: 13.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5196, allocations: 122.2 kB / 0.6193 GB, free: 13.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.5197, allocations: 86.05 kB / 0.6193 GB, free: 12.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5198, allocations: 329.9 kB / 0.6197 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.5201, allocations: 134.3 kB / 0.6198 GB, free: 12.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.5205, allocations: 205.3 kB / 0.62 GB, free: 12.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006396/0.5211, allocations: 333.6 kB / 0.6203 GB, free: 11.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5211, allocations: 0 / 0.6203 GB, free: 11.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000877/0.522, allocations: 469.7 kB / 0.6208 GB, free: 11.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5221, allocations: 4 kB / 0.6208 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.5221, allocations: 4 kB / 0.6208 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.5221, allocations: 8.156 kB / 0.6208 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.5226, allocations: 103.9 kB / 0.6209 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003907/0.523, allocations: 0.5937 MB / 0.6214 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.5234, allocations: 71.59 kB / 0.6215 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.5235, allocations: 19.98 kB / 0.6215 GB, free: 10.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004318/0.5239, allocations: 276.9 kB / 0.6218 GB, free: 10.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000338/0.5243, allocations: 201.6 kB / 0.622 GB, free: 10.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006075/0.5249, allocations: 329.2 kB / 0.6223 GB, free: 9.801 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.5249, allocations: 4 kB / 0.6223 GB, free: 9.797 MB / 442.7 MB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0008701/0.5258, allocations: 463.8 kB / 0.6227 GB, free: 9.336 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.5258, allocations: 8 kB / 0.6228 GB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5258, allocations: 0 / 0.6228 GB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-06/0.5258, allocations: 4 kB / 0.6228 GB, free: 9.324 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.5262, allocations: 95.81 kB / 0.6229 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.5262, allocations: 12.09 kB / 0.6229 GB, free: 9.219 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.5266, allocations: 51.66 kB / 0.6229 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.5267, allocations: 19.98 kB / 0.6229 GB, free: 9.148 MB / 442.7 MB 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.0001542/0.5268, allocations: 198.8 kB / 0.6231 GB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.527, allocations: 79.06 kB / 0.6232 GB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.5285, allocations: 0.8081 MB / 0.624 GB, free: 8.078 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.365e-05/0.5285, allocations: 19.92 kB / 0.624 GB, free: 8.059 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5285, allocations: 0 / 0.624 GB, free: 8.059 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5285, allocations: 96 / 0.624 GB, free: 8.059 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.5307, allocations: 1.458 MB / 0.6254 GB, free: 6.535 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.5307, allocations: 8.094 kB / 0.6254 GB, free: 6.527 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.5311, allocations: 83.89 kB / 0.6255 GB, free: 6.445 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.5311, allocations: 4 kB / 0.6255 GB, free: 6.441 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.5311, allocations: 19.98 kB / 0.6255 GB, free: 6.422 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003247/0.5314, allocations: 0.5937 MB / 0.6261 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5315, allocations: 0 / 0.6261 GB, free: 5.805 MB / 442.7 MB [/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.005019/0.5365, allocations: 2.212 MB / 0.6283 GB, free: 3.535 MB / 442.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.