Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 176.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.4 MB / 222.6 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007943/0.0007939, allocations: 92.47 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3414/0.3414, allocations: 43.56 MB / 362.7 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006296/0.0006297, allocations: 12 kB / 431.4 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.18, allocations: 58.85 MB / 490.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.4123/0.5923, allocations: 138.7 MB / 0.6142 GB, free: 12.05 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01426/0.6066, allocations: 9.832 MB / 0.6238 GB, free: 2.215 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.6079, allocations: 35.69 kB / 0.6239 GB, free: 2.18 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.6089, allocations: 337.9 kB / 0.6242 GB, free: 1.848 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003373/0.6123, allocations: 1.349 MB / 0.6255 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005514/0.6179, allocations: 2.095 MB / 0.6275 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00338/0.6212, allocations: 3.227 MB / 0.6307 GB, free: 11.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000866/0.6221, allocations: 0.6128 MB / 0.6313 GB, free: 10.55 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.6233, allocations: 0.9421 MB / 0.6322 GB, free: 9.609 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.6247, allocations: 1.098 MB / 0.6333 GB, free: 8.508 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.6249, allocations: 52 kB / 0.6333 GB, free: 8.457 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00325/0.6281, allocations: 1.79 MB / 0.6351 GB, free: 6.664 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003507/0.6285, allocations: 351 kB / 0.6354 GB, free: 6.32 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.6287, allocations: 217.2 kB / 0.6356 GB, free: 6.102 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.6308, allocations: 1.816 MB / 0.6374 GB, free: 4.281 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6309, allocations: 4 kB / 0.6374 GB, free: 4.277 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6309, allocations: 4 kB / 0.6374 GB, free: 4.273 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.6309, allocations: 3.938 kB / 0.6374 GB, free: 4.27 MB / 458.7 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.003009/0.6339, allocations: 1.375 MB / 0.6387 GB, free: 2.844 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.634, allocations: 12.02 kB / 0.6388 GB, free: 2.832 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000382/0.6344, allocations: 122.8 kB / 0.6389 GB, free: 2.711 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.6354, allocations: 0.6907 MB / 0.6396 GB, free: 1.977 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.6355, allocations: 120.7 kB / 0.6397 GB, free: 1.848 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.6357, allocations: 64.86 kB / 0.6397 GB, free: 1.785 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.6375, allocations: 1.204 MB / 0.6409 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.6375, allocations: 3.938 kB / 0.6409 GB, free: 0.543 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-05/0.6377, allocations: 31.97 kB / 0.6409 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.6378, allocations: 73.95 kB / 0.641 GB, free: 448 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.6396, allocations: 1.195 MB / 0.6422 GB, free: 15.25 MB / 474.7 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.007871/0.6475, allocations: 4.934 MB / 0.647 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.6487, allocations: 0.6812 MB / 0.6477 GB, free: 9.348 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006277/0.6494, allocations: 422.3 kB / 0.6481 GB, free: 8.934 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003055/0.6524, allocations: 2.438 MB / 0.6504 GB, free: 6.281 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.6525, allocations: 47 kB / 0.6505 GB, free: 6.227 MB / 474.7 MB Notification: Performance of pre-optimization done (n=52): time 1.723e-06/0.6525, allocations: 0 / 0.6505 GB, free: 6.227 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.006859/0.6594, allocations: 3.03 MB / 0.6534 GB, free: 3.082 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.6595, allocations: 158.8 kB / 0.6536 GB, free: 2.891 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.6606, allocations: 0.9505 MB / 0.6545 GB, free: 1.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.384e-05/0.6607, allocations: 33.7 kB / 0.6546 GB, free: 1.891 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.6611, allocations: 483 kB / 0.655 GB, free: 1.414 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.6612, allocations: 205.1 kB / 0.6552 GB, free: 1.211 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.6613, allocations: 16 kB / 0.6552 GB, free: 1.195 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6615, allocations: 345.9 kB / 0.6556 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007502/0.6622, allocations: 449.7 kB / 0.656 GB, free: 420 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009023/0.6631, allocations: 0.696 MB / 0.6567 GB, free: 15.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008205/0.664, allocations: 0.5182 MB / 0.6572 GB, free: 15.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.664, allocations: 4 kB / 0.6572 GB, free: 15.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002406/0.6664, allocations: 1.523 MB / 0.6587 GB, free: 13.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.6666, allocations: 285.9 kB / 0.6589 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.6666, allocations: 8 kB / 0.6589 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.6682, allocations: 0.5138 MB / 0.6594 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007308/0.669, allocations: 187.7 kB / 0.6596 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.6716, allocations: 2.949 MB / 0.6625 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007701/0.6724, allocations: 47.97 kB / 0.6626 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.978e-05/0.6725, allocations: 47.92 kB / 0.6626 GB, free: 9.211 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/0.6725, allocations: 4.094 kB / 0.6626 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002282/0.6748, allocations: 1.386 MB / 0.664 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6748, allocations: 8 kB / 0.664 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.6758, allocations: 425 kB / 0.6644 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.6766, allocations: 187.7 kB / 0.6645 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.6789, allocations: 2.83 MB / 0.6673 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/0.6796, allocations: 55.88 kB / 0.6674 GB, free: 4.109 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/0.6797, allocations: 43.98 kB / 0.6674 GB, free: 4.066 MB / 490.7 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.0004787/0.6801, allocations: 368.8 kB / 0.6678 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.6803, allocations: 94.88 kB / 0.6678 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.6827, allocations: 1.398 MB / 0.6692 GB, free: 2.168 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.6827, allocations: 19.91 kB / 0.6692 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.6827, allocations: 0 / 0.6692 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.6828, allocations: 7.984 kB / 0.6692 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2373/0.9201, allocations: 2.327 MB / 0.6715 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.9201, allocations: 3.5 kB / 0.6715 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/0.9207, allocations: 92 kB / 0.6716 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/0.9224, allocations: 0.5109 MB / 0.6721 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.131e-05/0.9225, allocations: 20.47 kB / 0.6721 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.9248, allocations: 2.901 MB / 0.675 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.9248, allocations: 1.406 kB / 0.675 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.9276, allocations: 1.755 MB / 0.6767 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/0.9282, allocations: 304.5 kB / 0.677 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.9284, allocations: 16.17 kB / 0.677 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006446/0.929, allocations: 40.91 kB / 0.677 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.9292, allocations: 60.56 kB / 0.6771 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/0.9293, allocations: 32.81 kB / 0.6771 GB, free: 144.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.9303, allocations: 0.6658 MB / 0.6778 GB, free: 144.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9303, allocations: 2.719 kB / 0.6778 GB, free: 144.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002551/0.9329, allocations: 0.8136 MB / 0.6786 GB, free: 144.5 MB / 490.7 MB 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.001493/0.9344, allocations: 0.6294 MB / 0.6792 GB, free: 144.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003664/0.9381, allocations: 1.906 MB / 0.681 GB, free: 144.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.9381, allocations: 3.031 kB / 0.681 GB, free: 144.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009788/0.9391, allocations: 0.5605 MB / 0.6816 GB, free: 144.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.9408, allocations: 404.7 kB / 0.682 GB, free: 144.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.9441, allocations: 2.301 MB / 0.6842 GB, free: 143.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.9446, allocations: 1.056 MB / 0.6852 GB, free: 142.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.9449, allocations: 101 kB / 0.6853 GB, free: 142.3 MB / 490.7 MB Notification: Performance of SimCode: time 7.42e-07/0.9449, allocations: 3.188 kB / 0.6853 GB, free: 142.3 MB / 490.7 MB Notification: Performance of Templates: time 0.0361/0.981, allocations: 31.78 MB / 0.7164 GB, free: 133.1 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1)