Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 96.83 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2658/0.2658, allocations: 45.92 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002762, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1684, allocations: 63.47 MB / 482.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.5662/0.7346, allocations: 138.8 MB / 0.6063 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01565/0.7503, allocations: 9.886 MB / 0.616 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.7519, allocations: 35.69 kB / 0.616 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.7532, allocations: 333.9 kB / 0.6163 GB, free: 0.8594 MB / 446.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.004351/0.7575, allocations: 1.357 MB / 0.6177 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007537/0.7651, allocations: 2.093 MB / 0.6197 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005316/0.7704, allocations: 3.227 MB / 0.6229 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.7717, allocations: 0.6106 MB / 0.6235 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.7739, allocations: 0.942 MB / 0.6244 GB, free: 8.605 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.7758, allocations: 1.11 MB / 0.6255 GB, free: 7.492 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.776, allocations: 52 kB / 0.6255 GB, free: 7.441 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004446/0.7804, allocations: 1.817 MB / 0.6273 GB, free: 5.621 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005185/0.781, allocations: 354.9 kB / 0.6276 GB, free: 5.273 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.7814, allocations: 213.2 kB / 0.6278 GB, free: 5.059 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.7846, allocations: 1.832 MB / 0.6296 GB, free: 3.223 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.7846, allocations: 7.938 kB / 0.6296 GB, free: 3.215 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7846, allocations: 4 kB / 0.6296 GB, free: 3.211 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.7846, allocations: 0 / 0.6296 GB, free: 3.211 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003286/0.7879, allocations: 1.375 MB / 0.631 GB, free: 1.781 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.788, allocations: 12.03 kB / 0.631 GB, free: 1.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004064/0.7884, allocations: 122.8 kB / 0.6311 GB, free: 1.648 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.7897, allocations: 0.6985 MB / 0.6318 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.7899, allocations: 116.7 kB / 0.6319 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.79, allocations: 67.98 kB / 0.632 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.7921, allocations: 1.204 MB / 0.6331 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.7921, allocations: 0 / 0.6331 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.7922, allocations: 35.97 kB / 0.6332 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.7924, allocations: 69.95 kB / 0.6332 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.7943, allocations: 1.202 MB / 0.6344 GB, free: 14.17 MB / 478.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.008552/0.8029, allocations: 4.925 MB / 0.6392 GB, free: 8.953 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.8042, allocations: 0.6828 MB / 0.6399 GB, free: 8.266 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.8049, allocations: 426.3 kB / 0.6403 GB, free: 7.848 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003779/0.8087, allocations: 2.438 MB / 0.6427 GB, free: 5.195 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.8088, allocations: 43 kB / 0.6427 GB, free: 5.145 MB / 478.1 MB Notification: Performance of pre-optimization done (n=52): time 2.574e-06/0.8088, allocations: 4 kB / 0.6427 GB, free: 5.141 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.007285/0.8161, allocations: 3.022 MB / 0.6457 GB, free: 2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.8162, allocations: 162.8 kB / 0.6458 GB, free: 1.805 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.8176, allocations: 0.9504 MB / 0.6468 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.757e-05/0.8177, allocations: 37.7 kB / 0.6468 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.8181, allocations: 471.1 kB / 0.6472 GB, free: 348 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.8183, allocations: 205.1 kB / 0.6474 GB, free: 140 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.8184, allocations: 23.94 kB / 0.6475 GB, free: 116 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.8186, allocations: 345.9 kB / 0.6478 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007439/0.8193, allocations: 445.7 kB / 0.6482 GB, free: 15.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009799/0.8203, allocations: 0.6998 MB / 0.6489 GB, free: 14.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000888/0.8212, allocations: 0.5183 MB / 0.6494 GB, free: 14.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8212, allocations: 0 / 0.6494 GB, free: 14.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002638/0.8239, allocations: 1.527 MB / 0.6509 GB, free: 12.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002947/0.8242, allocations: 292.1 kB / 0.6512 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.8242, allocations: 8 kB / 0.6512 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/0.8259, allocations: 0.5254 MB / 0.6517 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.8267, allocations: 183.7 kB / 0.6519 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/0.8297, allocations: 2.932 MB / 0.6547 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.8308, allocations: 51.86 kB / 0.6548 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.8309, allocations: 43.98 kB / 0.6548 GB, free: 8.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.8309, allocations: 4 kB / 0.6548 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002412/0.8334, allocations: 1.386 MB / 0.6562 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.8334, allocations: 4 kB / 0.6562 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.8344, allocations: 430.4 kB / 0.6566 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/0.8352, allocations: 191.7 kB / 0.6568 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.8378, allocations: 2.834 MB / 0.6595 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008932/0.8387, allocations: 47.91 kB / 0.6596 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-05/0.8388, allocations: 43.98 kB / 0.6596 GB, free: 2.988 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007305/0.8396, allocations: 384.8 kB / 0.66 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.8398, allocations: 98.78 kB / 0.6601 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.8423, allocations: 1.396 MB / 0.6615 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.8423, allocations: 4 kB / 0.6615 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8424, allocations: 4 kB / 0.6615 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.577e-06/0.8424, allocations: 7.984 kB / 0.6615 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004049/0.8464, allocations: 2.326 MB / 0.6637 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.8464, allocations: 0 / 0.6637 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/0.8469, allocations: 95.94 kB / 0.6638 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001655/0.8486, allocations: 0.5059 MB / 0.6643 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.8487, allocations: 27.92 kB / 0.6644 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00293/0.8516, allocations: 2.908 MB / 0.6672 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8516, allocations: 4.125 kB / 0.6672 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.8546, allocations: 1.758 MB / 0.6689 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006159/0.8552, allocations: 303.6 kB / 0.6692 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.8554, allocations: 16 kB / 0.6692 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/0.856, allocations: 43.94 kB / 0.6693 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.8561, allocations: 60.47 kB / 0.6693 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.8562, allocations: 23.98 kB / 0.6693 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001055/0.8573, allocations: 0.6674 MB / 0.67 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8573, allocations: 0 / 0.67 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002528/0.8598, allocations: 0.816 MB / 0.6708 GB, free: 7.137 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001612/0.8614, allocations: 0.638 MB / 0.6714 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003851/0.8653, allocations: 1.902 MB / 0.6733 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8653, allocations: 256 / 0.6733 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.8665, allocations: 0.5719 MB / 0.6738 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.869, allocations: 401.8 kB / 0.6742 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.8732, allocations: 2.303 MB / 0.6765 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/0.874, allocations: 1.062 MB / 0.6775 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.8743, allocations: 99.41 kB / 0.6776 GB, free: 68 kB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.8744, allocations: 0 / 0.6776 GB, free: 68 kB / 0.4981 GB Notification: Performance of Templates: time 0.04841/0.9228, allocations: 32 MB / 0.7088 GB, free: 148 kB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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.Vessels.TestInitializationCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitializationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitializationCalcHelperMain.o] Error 1