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.002483/0.002483, allocations: 187.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001809/0.001809, allocations: 94.81 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2818/0.2818, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.000464, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1164, allocations: 58.84 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.5311/0.6475, allocations: 129.3 MB / 0.605 GB, free: 9.023 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01997/0.6676, allocations: 9.167 MB / 0.614 GB, free: 15.84 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.6689, allocations: 35.69 kB / 0.614 GB, free: 15.81 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.6708, allocations: 358.2 kB / 0.6143 GB, free: 15.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005279/0.6762, allocations: 1.176 MB / 0.6155 GB, free: 14.28 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00909/0.6853, allocations: 2.112 MB / 0.6175 GB, free: 12.16 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003941/0.6893, allocations: 1.503 MB / 0.619 GB, free: 10.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.6911, allocations: 0.6386 MB / 0.6196 GB, free: 10 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/0.6939, allocations: 0.818 MB / 0.6204 GB, free: 9.184 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002274/0.6962, allocations: 0.7789 MB / 0.6212 GB, free: 8.402 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003837/0.6967, allocations: 52 kB / 0.6212 GB, free: 8.352 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005908/0.7026, allocations: 1.833 MB / 0.623 GB, free: 6.516 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008628/0.7035, allocations: 323.1 kB / 0.6233 GB, free: 6.199 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005222/0.7041, allocations: 213.2 kB / 0.6235 GB, free: 5.984 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004871/0.709, allocations: 1.836 MB / 0.6253 GB, free: 4.145 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.709, allocations: 3.938 kB / 0.6253 GB, free: 4.141 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.709, allocations: 7.938 kB / 0.6253 GB, free: 4.133 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.672e-05/0.7091, allocations: 0 / 0.6253 GB, free: 4.133 MB / 426.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.005208/0.7143, allocations: 1.375 MB / 0.6267 GB, free: 2.707 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.7144, allocations: 12.02 kB / 0.6267 GB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008012/0.7152, allocations: 122.8 kB / 0.6268 GB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.7173, allocations: 0.6985 MB / 0.6275 GB, free: 1.832 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.7175, allocations: 116.7 kB / 0.6276 GB, free: 1.707 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.7178, allocations: 63.89 kB / 0.6277 GB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/0.7212, allocations: 1.204 MB / 0.6288 GB, free: 416 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.7213, allocations: 0 / 0.6288 GB, free: 416 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.7215, allocations: 27.98 kB / 0.6289 GB, free: 388 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/0.7217, allocations: 73.95 kB / 0.6289 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003675/0.7254, allocations: 1.195 MB / 0.6301 GB, free: 15.11 MB / 442.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.01525/0.7407, allocations: 4.996 MB / 0.635 GB, free: 9.824 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/0.7431, allocations: 0.675 MB / 0.6356 GB, free: 9.145 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005977/0.7491, allocations: 2.477 MB / 0.6381 GB, free: 6.453 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/0.7492, allocations: 39.88 kB / 0.6381 GB, free: 6.406 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 4.068e-06/0.7492, allocations: 0 / 0.6381 GB, free: 6.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.01344/0.7627, allocations: 3.035 MB / 0.6411 GB, free: 3.258 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.7628, allocations: 162.8 kB / 0.6412 GB, free: 3.062 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.7649, allocations: 0.9388 MB / 0.6421 GB, free: 2.113 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002288/0.7652, allocations: 37.7 kB / 0.6422 GB, free: 2.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004933/0.7657, allocations: 485.5 kB / 0.6426 GB, free: 1.594 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/0.7661, allocations: 201.2 kB / 0.6428 GB, free: 1.395 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.7662, allocations: 20 kB / 0.6429 GB, free: 1.375 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.7664, allocations: 350.8 kB / 0.6432 GB, free: 1.023 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.7678, allocations: 445.7 kB / 0.6436 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.7695, allocations: 0.6998 MB / 0.6443 GB, free: 15.78 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.7712, allocations: 0.5221 MB / 0.6448 GB, free: 15.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.7713, allocations: 4 kB / 0.6448 GB, free: 15.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004646/0.7759, allocations: 1.454 MB / 0.6462 GB, free: 13.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001241/0.7772, allocations: 2.627 MB / 0.6488 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.7773, allocations: 4 kB / 0.6488 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002944/0.7802, allocations: 0.5216 MB / 0.6493 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.7819, allocations: 187.7 kB / 0.6495 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/0.7861, allocations: 2.937 MB / 0.6524 GB, free: 7.105 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.7879, allocations: 68 kB / 0.6524 GB, free: 7.039 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002902/0.7883, allocations: 47.97 kB / 0.6525 GB, free: 6.992 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.7883, allocations: 4 kB / 0.6525 GB, free: 6.988 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004464/0.7928, allocations: 1.378 MB / 0.6538 GB, free: 5.578 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.886e-05/0.7929, allocations: 8 kB / 0.6538 GB, free: 5.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.7946, allocations: 410.3 kB / 0.6542 GB, free: 5.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.7964, allocations: 195.6 kB / 0.6544 GB, free: 4.969 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/0.8002, allocations: 2.822 MB / 0.6572 GB, free: 1.961 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.8015, allocations: 47.97 kB / 0.6572 GB, free: 1.914 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.8017, allocations: 48.17 kB / 0.6572 GB, free: 1.867 MB / 458.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.0008897/0.8026, allocations: 368.8 kB / 0.6576 GB, free: 1.496 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.803, allocations: 102.8 kB / 0.6577 GB, free: 1.395 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004349/0.8073, allocations: 1.399 MB / 0.6591 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/0.8074, allocations: 4 kB / 0.6591 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.8074, allocations: 0 / 0.6591 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.151e-05/0.8075, allocations: 11.92 kB / 0.6591 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006759/0.8142, allocations: 2.349 MB / 0.6614 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.8143, allocations: 4 kB / 0.6614 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009447/0.8153, allocations: 91.88 kB / 0.6615 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002719/0.818, allocations: 0.506 MB / 0.662 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/0.8182, allocations: 19.98 kB / 0.662 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00387/0.8221, allocations: 2.923 MB / 0.6648 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8222, allocations: 4.312 kB / 0.6648 GB, free: 9.758 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004967/0.8271, allocations: 1.777 MB / 0.6666 GB, free: 7.918 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009734/0.8282, allocations: 319.6 kB / 0.6669 GB, free: 7.586 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.8285, allocations: 12 kB / 0.6669 GB, free: 7.574 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.8297, allocations: 47.75 kB / 0.6669 GB, free: 7.527 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/0.83, allocations: 56.48 kB / 0.667 GB, free: 7.473 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.8302, allocations: 32.03 kB / 0.667 GB, free: 7.441 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001517/0.8317, allocations: 0.6713 MB / 0.6677 GB, free: 6.758 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.8317, allocations: 0 / 0.6677 GB, free: 6.758 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003487/0.8352, allocations: 0.8121 MB / 0.6685 GB, free: 5.945 MB / 474.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.002563/0.8378, allocations: 0.6235 MB / 0.6691 GB, free: 5.309 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006834/0.8447, allocations: 1.897 MB / 0.6709 GB, free: 3.387 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.8448, allocations: 0 / 0.6709 GB, free: 3.387 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002094/0.8469, allocations: 0.5641 MB / 0.6715 GB, free: 2.809 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/0.8503, allocations: 392.1 kB / 0.6719 GB, free: 2.426 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006579/0.857, allocations: 2.3 MB / 0.6741 GB, free: 92 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009298/0.8579, allocations: 1.078 MB / 0.6751 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006407/0.8586, allocations: 99.33 kB / 0.6752 GB, free: 14.88 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/0.8586, allocations: 4 kB / 0.6752 GB, free: 14.88 MB / 490.7 MB Notification: Performance of Templates: time 0.3885/1.247, allocations: 31.31 MB / 0.7058 GB, free: 180.8 MB / 0.4949 GB 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)