Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.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.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 186.6 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.4668/0.4668, allocations: 87.5 MB / 104.9 MB, free: 13.03 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.442/1.442, allocations: 222.9 MB / 349.1 MB, free: 2.746 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.001027/0.001027, allocations: 104.5 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 55.92 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3603, allocations: 70.07 MB / 0.5575 GB, free: 44.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 0.6703/1.031, allocations: 307.7 MB / 0.858 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.04079/1.071, allocations: 26.74 MB / 0.8841 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006273/1.078, allocations: 111.3 kB / 0.8842 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.005871/1.084, allocations: 1.372 MB / 0.8855 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.02023/1.104, allocations: 5.239 MB / 0.8907 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.01132/1.115, allocations: 3.325 MB / 0.8939 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01624/1.132, allocations: 11.46 MB / 0.9051 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005571/1.137, allocations: 2.511 MB / 0.9075 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01017/1.147, allocations: 3.26 MB / 0.9107 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008251/1.156, allocations: 2.544 MB / 0.9132 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002489/1.158, allocations: 164 kB / 0.9134 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01504/1.173, allocations: 5.572 MB / 0.9188 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.002511/1.176, allocations: 0.9421 MB / 0.9197 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.005819/1.182, allocations: 1.718 MB / 0.9214 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.02278/1.205, allocations: 6.937 MB / 0.9282 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/1.205, allocations: 3.938 kB / 0.9282 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.186e-06/1.205, allocations: 0 / 0.9282 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002664/1.205, allocations: 0 / 0.9282 GB, free: 10.59 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.01978/1.225, allocations: 3.922 MB / 0.932 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.441e-05/1.225, allocations: 8.031 kB / 0.932 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00869/1.234, allocations: 0.8117 MB / 0.9328 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00884/1.242, allocations: 2.521 MB / 0.9353 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/1.243, allocations: 164.2 kB / 0.9354 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/1.244, allocations: 228 kB / 0.9357 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008794/1.253, allocations: 2.542 MB / 0.9381 GB, free: 128 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/1.253, allocations: 7.938 kB / 0.9381 GB, free: 120 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005812/1.253, allocations: 88 kB / 0.9382 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000178/1.254, allocations: 84.16 kB / 0.9383 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006639/1.26, allocations: 2.03 MB / 0.9403 GB, free: 13.9 MB / 0.6511 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.02496/1.285, allocations: 12.35 MB / 0.9524 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/1.289, allocations: 1.506 MB / 0.9538 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/1.291, allocations: 0.7623 MB / 0.9546 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002573/1.294, allocations: 1.983 MB / 0.9565 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.575e-05/1.294, allocations: 51.88 kB / 0.9566 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=150): time 5.621e-06/1.294, allocations: 0 / 0.9566 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=152): time 0.01876/1.312, allocations: 4.978 MB / 0.9614 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/1.313, allocations: 68.72 kB / 0.9615 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005144/1.318, allocations: 2.101 MB / 0.9635 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003568/1.318, allocations: 53.7 kB / 0.9636 GB, free: 4.402 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001484/1.32, allocations: 1.263 MB / 0.9648 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/1.321, allocations: 0.5274 MB / 0.9653 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009607/1.322, allocations: 311.3 kB / 0.9656 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.322, allocations: 301.1 kB / 0.9659 GB, free: 1.98 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/1.324, allocations: 0.606 MB / 0.9665 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/1.326, allocations: 0.992 MB / 0.9675 GB, free: 240 kB / 0.6667 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start (sin1.p = duc.vol_b.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3021/1.628, allocations: 5.179 MB / 0.9725 GB, free: 294.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/1.628, allocations: 3.062 kB / 0.9725 GB, free: 294.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.0053/1.633, allocations: 2.104 MB / 0.9746 GB, free: 294.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/1.633, allocations: 8.625 kB / 0.9746 GB, free: 294.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-05/1.633, allocations: 16.03 kB / 0.9746 GB, free: 294.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/1.634, allocations: 217.4 kB / 0.9748 GB, free: 294.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.636, allocations: 353.1 kB / 0.9752 GB, free: 294.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009163/1.637, allocations: 1.781 MB / 0.9769 GB, free: 292.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/1.639, allocations: 208.2 kB / 0.9771 GB, free: 292.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/1.639, allocations: 73.34 kB / 0.9772 GB, free: 292.4 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001888/1.641, allocations: 1.14 MB / 0.9783 GB, free: 291.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001099/1.642, allocations: 0.9808 MB / 0.9792 GB, free: 291.2 MB / 0.6667 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start (sin1.p = duc.vol_b.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01621/1.659, allocations: 5.163 MB / 0.9843 GB, free: 289.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-05/1.659, allocations: 3.938 kB / 0.9843 GB, free: 289.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.00411/1.663, allocations: 2.101 MB / 0.9863 GB, free: 288.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.663, allocations: 8.812 kB / 0.9863 GB, free: 288.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.055e-05/1.663, allocations: 19.92 kB / 0.9864 GB, free: 288.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009083/1.664, allocations: 211.4 kB / 0.9866 GB, free: 288.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/1.665, allocations: 334.4 kB / 0.9869 GB, free: 288.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006915/1.666, allocations: 1.193 MB / 0.988 GB, free: 287.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/1.668, allocations: 196.1 kB / 0.9882 GB, free: 287 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/1.668, allocations: 79.31 kB / 0.9883 GB, free: 287 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (196): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004857/1.669, allocations: 289.8 kB / 0.9886 GB, free: 286.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007244/1.67, allocations: 265.1 kB / 0.9888 GB, free: 286.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004769/1.674, allocations: 2.359 MB / 0.9911 GB, free: 285.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-05/1.674, allocations: 27.48 kB / 0.9912 GB, free: 285.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/1.674, allocations: 6.219 kB / 0.9912 GB, free: 285.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002953/1.677, allocations: 2.088 MB / 0.9932 GB, free: 283.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/1.687, allocations: 5.375 MB / 0.9985 GB, free: 278.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.303e-05/1.687, allocations: 15.98 kB / 0.9985 GB, free: 278.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/1.689, allocations: 278.8 kB / 0.9987 GB, free: 278 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009191/1.69, allocations: 245.5 kB / 0.999 GB, free: 277.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/1.69, allocations: 51.98 kB / 0.999 GB, free: 277.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/1.692, allocations: 4.652 MB / 1.004 GB, free: 272.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.693, allocations: 11.92 kB / 1.004 GB, free: 272.8 MB / 0.6667 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, senTemOutW.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.009255/1.702, allocations: 5.744 MB / 1.009 GB, free: 267 MB / 0.6667 GB Error: post-optimization module symbolicJacobian (simulation) failed.