Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008542/0.0008543, allocations: 88.88 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.0009578/0.0009579, allocations: 198.1 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.531/1.531, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2545/0.2545, allocations: 45.91 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003045, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1682, allocations: 63.46 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02969/0.198, allocations: 26.22 MB / 0.4964 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3646/0.5626, allocations: 12.41 MB / 0.5085 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006175/0.5633, allocations: 11.38 kB / 0.5086 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009013/0.5642, allocations: 201.9 kB / 0.5087 GB, free: 11.58 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01227/0.5765, allocations: 2.855 MB / 0.5115 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007479/0.584, allocations: 1.83 MB / 0.5133 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002182/0.5862, allocations: 0.9969 MB / 0.5143 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004873/0.5867, allocations: 197.5 kB / 0.5145 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009967/0.5877, allocations: 386.6 kB / 0.5149 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.5882, allocations: 259 kB / 0.5151 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/0.5882, allocations: 18.69 kB / 0.5151 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0226/0.6108, allocations: 6.83 MB / 0.5218 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.6113, allocations: 85.31 kB / 0.5219 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004673/0.6118, allocations: 106.1 kB / 0.522 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.6232, allocations: 2.965 MB / 0.5249 GB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.6233, allocations: 1.031 kB / 0.5249 GB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.6233, allocations: 0 / 0.5249 GB, free: 10.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.6233, allocations: 0 / 0.5249 GB, free: 10.6 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00718/0.6305, allocations: 1.184 MB / 0.526 GB, free: 9.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.6306, allocations: 12.59 kB / 0.526 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.6324, allocations: 218.3 kB / 0.5262 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.633, allocations: 347.8 kB / 0.5266 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/0.6331, allocations: 27.2 kB / 0.5266 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.964e-05/0.6332, allocations: 25.78 kB / 0.5266 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.6351, allocations: 0.6212 MB / 0.5272 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.6351, allocations: 3.812 kB / 0.5272 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/0.6352, allocations: 14.38 kB / 0.5272 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.6352, allocations: 7.969 kB / 0.5273 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.6369, allocations: 0.5868 MB / 0.5278 GB, free: 9.055 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.003102/0.6401, allocations: 2.643 MB / 0.5304 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.6416, allocations: 0.4923 MB / 0.5309 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/0.6421, allocations: 222.2 kB / 0.5311 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04832/0.6905, allocations: 27 MB / 0.5575 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.6905, allocations: 37.77 kB / 0.5575 GB, free: 13.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 3.216e-06/0.6905, allocations: 0 / 0.5575 GB, free: 13.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.002921/0.6935, allocations: 0.8852 MB / 0.5584 GB, free: 13.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.6936, allocations: 110.8 kB / 0.5585 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.694, allocations: 309.9 kB / 0.5588 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.694, allocations: 29.08 kB / 0.5588 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.6942, allocations: 218.2 kB / 0.559 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.978e-05/0.6942, allocations: 76.61 kB / 0.5591 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/0.6943, allocations: 9.375 kB / 0.5591 GB, free: 12.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.6944, allocations: 344.7 kB / 0.5594 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.6948, allocations: 164 kB / 0.5596 GB, free: 12.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.6953, allocations: 269 kB / 0.5598 GB, free: 11.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.6958, allocations: 178.7 kB / 0.56 GB, free: 11.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6958, allocations: 0 / 0.56 GB, free: 11.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00104/0.6968, allocations: 487.7 kB / 0.5605 GB, free: 11.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.6969, allocations: 4 kB / 0.5605 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6969, allocations: 7.953 kB / 0.5605 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.6969, allocations: 4 kB / 0.5605 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.6973, allocations: 105.9 kB / 0.5606 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.6973, allocations: 6.734 kB / 0.5606 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.6977, allocations: 67.27 kB / 0.5607 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.6978, allocations: 15.62 kB / 0.5607 GB, free: 11.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.698, allocations: 160.4 kB / 0.5608 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/0.6981, allocations: 35.62 kB / 0.5609 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/0.7011, allocations: 1.964 MB / 0.5628 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-05/0.7011, allocations: 36.89 kB / 0.5628 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7011, allocations: 0 / 0.5628 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7011, allocations: 0 / 0.5628 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.7023, allocations: 1.014 MB / 0.5638 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.7023, allocations: 0 / 0.5638 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.7027, allocations: 91.17 kB / 0.5639 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.7027, allocations: 5.188 kB / 0.5639 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.7027, allocations: 7.25 kB / 0.5639 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.7027, allocations: 4.781 kB / 0.5639 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.7027, allocations: 7.938 kB / 0.5639 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.7043, allocations: 1.122 MB / 0.565 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.7046, allocations: 229.9 kB / 0.5652 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.7047, allocations: 3.562 kB / 0.5652 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.705, allocations: 53.12 kB / 0.5653 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.7051, allocations: 33.91 kB / 0.5653 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.7052, allocations: 21.92 kB / 0.5653 GB, free: 7.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000423/0.7056, allocations: 324.5 kB / 0.5656 GB, free: 7.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.42e-07/0.7056, allocations: 3.844 kB / 0.5656 GB, free: 7.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005523/0.7111, allocations: 0.9991 MB / 0.5666 GB, free: 6.418 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008187/0.7193, allocations: 1.175 MB / 0.5678 GB, free: 5.359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.7209, allocations: 0.6488 MB / 0.5684 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7209, allocations: 4.609 kB / 0.5684 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007624/0.7217, allocations: 0.5383 MB / 0.5689 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.723, allocations: 195 kB / 0.5691 GB, free: 4.426 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.7256, allocations: 1.922 MB / 0.571 GB, free: 2.707 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.7262, allocations: 0.9673 MB / 0.5719 GB, free: 1.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.7263, allocations: 38.25 kB / 0.572 GB, free: 1.684 MB / 414.1 MB Notification: Performance of SimCode: time 1.833e-06/0.7263, allocations: 0 / 0.572 GB, free: 1.684 MB / 414.1 MB Notification: Performance of Templates: time 0.04556/0.7719, allocations: 24.09 MB / 0.5955 GB, free: 9.758 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinearCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinearCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinearCalcHelperMain.o] Error 1