Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009042/0.0009042, allocations: 88.22 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009959/0.000996, allocations: 197.2 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.606/1.606, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2772/0.2772, allocations: 45.92 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 8 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1475, allocations: 63.46 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.03578/0.1834, allocations: 31.47 MB / 0.5016 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3874/0.5709, allocations: 18.11 MB / 0.5192 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003235/0.5741, allocations: 65.88 kB / 0.5193 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002941/0.5771, allocations: 0.5775 MB / 0.5199 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009159/0.5863, allocations: 2.378 MB / 0.5222 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01583/0.6021, allocations: 4.053 MB / 0.5262 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01313/0.6153, allocations: 5.434 MB / 0.5315 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003495/0.6188, allocations: 1.09 MB / 0.5325 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007679/0.6265, allocations: 1.537 MB / 0.534 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006136/0.6327, allocations: 1.732 MB / 0.5357 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004968/0.6332, allocations: 94.81 kB / 0.5358 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01164/0.6449, allocations: 2.42 MB / 0.5382 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.6463, allocations: 0.5854 MB / 0.5387 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.6475, allocations: 355 kB / 0.5391 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00684/0.6544, allocations: 2.953 MB / 0.542 GB, free: 5.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.6544, allocations: 0 / 0.542 GB, free: 5.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6544, allocations: 0 / 0.542 GB, free: 5.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.421e-05/0.6544, allocations: 0 / 0.542 GB, free: 5.879 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.006917/0.6614, allocations: 2.159 MB / 0.5441 GB, free: 4.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.6614, allocations: 7.094 kB / 0.5441 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008732/0.6623, allocations: 204.5 kB / 0.5443 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.665, allocations: 1.074 MB / 0.5453 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/0.6652, allocations: 189.1 kB / 0.5455 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003139/0.6656, allocations: 118.8 kB / 0.5456 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004349/0.6699, allocations: 1.926 MB / 0.5475 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/0.67, allocations: 7.312 kB / 0.5475 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.6702, allocations: 48.27 kB / 0.5476 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002421/0.6705, allocations: 117.4 kB / 0.5477 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004609/0.6751, allocations: 1.956 MB / 0.5496 GB, free: 0.9688 MB / 382.1 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.01424/0.6893, allocations: 7.301 MB / 0.5567 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/0.6916, allocations: 1.402 MB / 0.5581 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.693, allocations: 0.8451 MB / 0.5589 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007644/0.7006, allocations: 4.526 MB / 0.5633 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/0.7007, allocations: 47.56 kB / 0.5634 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001026/0.7018, allocations: 226.4 kB / 0.5636 GB, free: 1.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=118): time 3.366e-06/0.7018, allocations: 2.734 kB / 0.5636 GB, free: 1.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.01894/0.7207, allocations: 6.633 MB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.7209, allocations: 222.9 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/0.7232, allocations: 1.36 MB / 0.5716 GB, free: 9.648 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001698/0.7234, allocations: 57.22 kB / 0.5717 GB, free: 9.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006563/0.7241, allocations: 0.6566 MB / 0.5723 GB, free: 8.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005145/0.7246, allocations: 463.8 kB / 0.5727 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.7247, allocations: 32 kB / 0.5728 GB, free: 8.449 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.725, allocations: 369.9 kB / 0.5731 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.7264, allocations: 0.812 MB / 0.5739 GB, free: 7.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.7281, allocations: 1.159 MB / 0.575 GB, free: 5.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.7296, allocations: 0.9354 MB / 0.576 GB, free: 5.047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.7297, allocations: 0 / 0.576 GB, free: 5.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004575/0.7342, allocations: 2.566 MB / 0.5785 GB, free: 2.473 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002864/0.7345, allocations: 342 kB / 0.5788 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/0.7346, allocations: 12 kB / 0.5788 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008186/0.7428, allocations: 1.7 MB / 0.5805 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.7445, allocations: 339.5 kB / 0.5808 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00366/0.7482, allocations: 1.774 MB / 0.5825 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/0.7508, allocations: 103.8 kB / 0.5826 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005148/0.7514, allocations: 78.69 kB / 0.5827 GB, free: 14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.7514, allocations: 4 kB / 0.5827 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005527/0.757, allocations: 2.253 MB / 0.5849 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.938e-05/0.757, allocations: 12 kB / 0.5849 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005164/0.7622, allocations: 1.075 MB / 0.586 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/0.7641, allocations: 351.7 kB / 0.5863 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.7669, allocations: 1.481 MB / 0.5877 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.7688, allocations: 103.8 kB / 0.5878 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000384/0.7692, allocations: 71.97 kB / 0.5879 GB, free: 8.629 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 24} Notification: Performance of prepare postOptimizeDAE: time 0.001369/0.7706, allocations: 496.5 kB / 0.5884 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006188/0.7712, allocations: 170 kB / 0.5885 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006146/0.7774, allocations: 2.557 MB / 0.591 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/0.7775, allocations: 23.98 kB / 0.5911 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.7775, allocations: 4 kB / 0.5911 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/0.7775, allocations: 8.156 kB / 0.5911 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008565/0.7861, allocations: 4.202 MB / 0.5952 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.7861, allocations: 3.938 kB / 0.5952 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.7872, allocations: 231.7 kB / 0.5954 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005077/0.7923, allocations: 1.321 MB / 0.5967 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002323/0.7926, allocations: 39.98 kB / 0.5967 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003031/0.7957, allocations: 1.796 MB / 0.5985 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7957, allocations: 4 kB / 0.5985 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006882/0.8026, allocations: 3.473 MB / 0.6019 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/0.8041, allocations: 462.6 kB / 0.6023 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000687/0.8048, allocations: 32 kB / 0.6024 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/0.8065, allocations: 95.84 kB / 0.6024 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.8069, allocations: 117.1 kB / 0.6026 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/0.8071, allocations: 63.92 kB / 0.6026 GB, free: 9.449 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001956/0.809, allocations: 0.9109 MB / 0.6035 GB, free: 8.539 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8091, allocations: 4 kB / 0.6035 GB, free: 8.535 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005498/0.8146, allocations: 1.324 MB / 0.6048 GB, free: 7.211 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.003388/0.818, allocations: 0.9705 MB / 0.6058 GB, free: 6.305 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00796/0.8259, allocations: 3.246 MB / 0.6089 GB, free: 3.055 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.826, allocations: 3.859 kB / 0.6089 GB, free: 3.051 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002469/0.8285, allocations: 1.047 MB / 0.6099 GB, free: 2.012 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004747/0.8332, allocations: 0.7229 MB / 0.6107 GB, free: 1.301 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008865/0.8421, allocations: 4.208 MB / 0.6148 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/0.8436, allocations: 1.379 MB / 0.6161 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007892/0.8444, allocations: 163.3 kB / 0.6163 GB, free: 11.5 MB / 462.1 MB Notification: Performance of SimCode: time 2.054e-06/0.8444, allocations: 4 kB / 0.6163 GB, free: 11.5 MB / 462.1 MB Notification: Performance of Templates: time 0.07937/0.9238, allocations: 41.51 MB / 0.6568 GB, free: 2.141 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValveCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValveCalcHelperMain.o] Error 1