Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 182.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7185/0.7185, allocations: 133.3 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 404.7 MB, free: 6.121 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 95.27 kB / 485.9 MB, free: 7.262 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 52.06 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1373, allocations: 80.44 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.3571/0.4944, allocations: 76.33 MB / 0.7167 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02618/0.5206, allocations: 20.08 MB / 0.7363 GB, free: 7.289 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004542/0.5252, allocations: 80.94 kB / 0.7364 GB, free: 7.254 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003339/0.5286, allocations: 0.8029 MB / 0.7372 GB, free: 6.789 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008915/0.5376, allocations: 2.629 MB / 0.7397 GB, free: 5.242 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006063/0.5437, allocations: 1.889 MB / 0.7416 GB, free: 4.156 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.009313/0.553, allocations: 6.738 MB / 0.7482 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002729/0.5557, allocations: 1.404 MB / 0.7495 GB, free: 128 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004858/0.5606, allocations: 1.831 MB / 0.7513 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/0.564, allocations: 1.483 MB / 0.7528 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0006864/0.5647, allocations: 92 kB / 0.7528 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005465/0.5702, allocations: 1.805 MB / 0.7546 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008094/0.571, allocations: 394.2 kB / 0.755 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.002335/0.5734, allocations: 0.9971 MB / 0.756 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.007246/0.5806, allocations: 3.4 MB / 0.7593 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5807, allocations: 4 kB / 0.7593 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5807, allocations: 0 / 0.7593 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001241/0.5808, allocations: 0 / 0.7593 GB, free: 10.01 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.008192/0.589, allocations: 2.502 MB / 0.7617 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.5891, allocations: 11.97 kB / 0.7617 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/0.5918, allocations: 401 kB / 0.7621 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004833/0.5967, allocations: 1.787 MB / 0.7639 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.5968, allocations: 98.44 kB / 0.764 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003622/0.5972, allocations: 120 kB / 0.7641 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00329/0.6005, allocations: 1.425 MB / 0.7655 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.467e-05/0.6006, allocations: 3.938 kB / 0.7655 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.6007, allocations: 59.94 kB / 0.7655 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.6008, allocations: 32 kB / 0.7656 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.6034, allocations: 1.07 MB / 0.7666 GB, free: 2.945 MB / 0.4948 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.009962/0.6134, allocations: 7.839 MB / 0.7743 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/0.617, allocations: 0.9972 MB / 0.7752 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008637/0.6179, allocations: 427.9 kB / 0.7756 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/0.6196, allocations: 1.864 MB / 0.7775 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.6207, allocations: 0.4943 MB / 0.7779 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=84): time 3.546e-06/0.6208, allocations: 0 / 0.7779 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of matching and sorting (n=84): time 0.003375/0.6242, allocations: 1.261 MB / 0.7792 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.6242, allocations: 89.75 kB / 0.7793 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/0.6268, allocations: 1.387 MB / 0.7806 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.6269, allocations: 41.7 kB / 0.7807 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008145/0.6278, allocations: 0.8178 MB / 0.7815 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.6281, allocations: 295.8 kB / 0.7817 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/0.6285, allocations: 210.7 kB / 0.7819 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6286, allocations: 341.9 kB / 0.7823 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008804/0.6295, allocations: 373.8 kB / 0.7826 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.6306, allocations: 0.6723 MB / 0.7833 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.6327, allocations: 1.059 MB / 0.7843 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-06/0.6327, allocations: 3.938 kB / 0.7843 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003036/0.6358, allocations: 1.233 MB / 0.7855 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.6358, allocations: 8 kB / 0.7855 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/0.6359, allocations: 19.92 kB / 0.7855 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.12e-05/0.6359, allocations: 16 kB / 0.7856 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000944/0.6368, allocations: 248.2 kB / 0.7858 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-05/0.6369, allocations: 23.92 kB / 0.7858 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.6384, allocations: 186.8 kB / 0.786 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.6385, allocations: 51.98 kB / 0.786 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001417/0.6399, allocations: 0.6392 MB / 0.7867 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001048/0.641, allocations: 0.6637 MB / 0.7873 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001871/0.6429, allocations: 1.063 MB / 0.7884 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.987e-06/0.6429, allocations: 5.016 kB / 0.7884 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.002807/0.6457, allocations: 1.242 MB / 0.7896 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.6457, allocations: 8 kB / 0.7896 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.6458, allocations: 8 kB / 0.7896 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.6458, allocations: 16 kB / 0.7896 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.6467, allocations: 247.6 kB / 0.7898 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.417e-05/0.6467, allocations: 19.92 kB / 0.7899 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.6482, allocations: 159.3 kB / 0.79 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.6483, allocations: 55.98 kB / 0.7901 GB, free: 9.277 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (128): * Single equations (assignments): 126 * 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.000319/0.6487, allocations: 253.2 kB / 0.7903 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/0.6492, allocations: 165.9 kB / 0.7905 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/0.6523, allocations: 1.456 MB / 0.7919 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.6524, allocations: 15.98 kB / 0.7919 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.6524, allocations: 0 / 0.7919 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002059/0.6545, allocations: 1.098 MB / 0.793 GB, free: 6.258 MB / 0.5261 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 postOpt removeSimpleEquations (simulation): time 0.005587/0.6601, allocations: 2.903 MB / 0.7958 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.6601, allocations: 4.094 kB / 0.7958 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008027/0.6609, allocations: 183.8 kB / 0.796 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.434e-05/0.6609, allocations: 8 kB / 0.796 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/0.661, allocations: 23.98 kB / 0.796 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.661, allocations: 4 kB / 0.796 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.661, allocations: 11.88 kB / 0.796 GB, free: 3.047 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pipe.res.port_a.h_outflow, pipe.del.port_b.h_outflow) = spatialDistribution(0, senEntIn.port_a.h_outflow, senEntOut.port_b.h_outflow, pipe.del.x / pipe.del.length, pipe.v >= 0.0, {0.0, 1.0}, {pipe.del.h_ini_in, pipe.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.009675/0.6707, allocations: 3.728 MB / 0.7997 GB, free: 15.23 MB / 0.5417 GB Error: post-optimization module symbolicJacobian (simulation) failed.