Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009425/0.0009429, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 226.5 MB / 243.1 MB, free: 12.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007259/0.000726, allocations: 102 kB / 295.1 MB, free: 4.441 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1873/0.1873, allocations: 44.84 MB / 392 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002192/0.0002192, allocations: 8 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07752/0.07775, allocations: 62.96 MB / 0.5153 GB, free: 5.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.297/0.3748, allocations: 138.7 MB / 0.6508 GB, free: 10.18 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3863, allocations: 9.867 MB / 0.6605 GB, free: 296 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008953/0.3873, allocations: 35.69 kB / 0.6605 GB, free: 260 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3884, allocations: 341.9 kB / 0.6608 GB, free: 15.92 MB / 458.7 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.003154/0.3916, allocations: 1.368 MB / 0.6622 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004851/0.3964, allocations: 2.087 MB / 0.6642 GB, free: 12.47 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003143/0.3996, allocations: 3.22 MB / 0.6673 GB, free: 9.246 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.4006, allocations: 0.613 MB / 0.6679 GB, free: 8.617 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.4021, allocations: 0.9421 MB / 0.6689 GB, free: 7.672 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.4037, allocations: 1.106 MB / 0.6699 GB, free: 6.562 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.404, allocations: 56 kB / 0.67 GB, free: 6.508 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.4069, allocations: 1.809 MB / 0.6718 GB, free: 4.695 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004175/0.4073, allocations: 358.9 kB / 0.6721 GB, free: 4.344 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.4076, allocations: 213.2 kB / 0.6723 GB, free: 4.129 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.4098, allocations: 1.822 MB / 0.6741 GB, free: 2.305 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.4098, allocations: 4 kB / 0.6741 GB, free: 2.301 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4098, allocations: 0 / 0.6741 GB, free: 2.301 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.595e-05/0.4098, allocations: 0 / 0.6741 GB, free: 2.301 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.002973/0.4128, allocations: 1.387 MB / 0.6754 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.4128, allocations: 12.03 kB / 0.6755 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004011/0.4132, allocations: 118.8 kB / 0.6756 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.4143, allocations: 0.6956 MB / 0.6763 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.4144, allocations: 120.6 kB / 0.6764 GB, free: 15.87 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.4145, allocations: 67.98 kB / 0.6764 GB, free: 15.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.4163, allocations: 1.2 MB / 0.6776 GB, free: 14.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.4164, allocations: 4 kB / 0.6776 GB, free: 14.56 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.053e-05/0.4165, allocations: 27.98 kB / 0.6776 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.073e-05/0.4166, allocations: 73.95 kB / 0.6777 GB, free: 14.46 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.4184, allocations: 1.202 MB / 0.6789 GB, free: 13.26 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.007433/0.4258, allocations: 4.93 MB / 0.6837 GB, free: 8.035 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.427, allocations: 0.678 MB / 0.6844 GB, free: 7.348 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/0.4276, allocations: 426.3 kB / 0.6848 GB, free: 6.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002934/0.4305, allocations: 2.434 MB / 0.6871 GB, free: 4.281 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.4306, allocations: 43 kB / 0.6872 GB, free: 4.23 MB / 474.7 MB Notification: Performance of pre-optimization done (n=52): time 1.543e-06/0.4306, allocations: 0 / 0.6872 GB, free: 4.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.006576/0.4372, allocations: 3.03 MB / 0.6901 GB, free: 1.082 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.4372, allocations: 162.8 kB / 0.6903 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.4383, allocations: 0.9465 MB / 0.6912 GB, free: 15.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.568e-05/0.4384, allocations: 41.7 kB / 0.6913 GB, free: 15.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.4387, allocations: 471.1 kB / 0.6917 GB, free: 15.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.4389, allocations: 201.1 kB / 0.6919 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-05/0.4389, allocations: 23.94 kB / 0.6919 GB, free: 15.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4391, allocations: 345.9 kB / 0.6923 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007004/0.4398, allocations: 449.7 kB / 0.6927 GB, free: 14.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008498/0.4406, allocations: 0.6921 MB / 0.6934 GB, free: 13.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007934/0.4414, allocations: 0.5221 MB / 0.6939 GB, free: 13.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4414, allocations: 0 / 0.6939 GB, free: 13.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002271/0.4437, allocations: 1.523 MB / 0.6954 GB, free: 11.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.4439, allocations: 294 kB / 0.6956 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.4439, allocations: 8 kB / 0.6956 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.4454, allocations: 0.527 MB / 0.6962 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.4462, allocations: 191.6 kB / 0.6963 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.4485, allocations: 2.923 MB / 0.6992 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007682/0.4493, allocations: 59.83 kB / 0.6993 GB, free: 7.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.983e-05/0.4494, allocations: 48.08 kB / 0.6993 GB, free: 7.211 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/0.4494, allocations: 4 kB / 0.6993 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002169/0.4516, allocations: 1.374 MB / 0.7006 GB, free: 5.805 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.4516, allocations: 11.98 kB / 0.7007 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.4526, allocations: 426.6 kB / 0.7011 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/0.4533, allocations: 187.7 kB / 0.7012 GB, free: 5.184 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.4554, allocations: 2.834 MB / 0.704 GB, free: 2.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/0.4561, allocations: 47.91 kB / 0.7041 GB, free: 2.113 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/0.4562, allocations: 47.97 kB / 0.7041 GB, free: 2.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.0004279/0.4567, allocations: 376.8 kB / 0.7045 GB, free: 1.688 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.4568, allocations: 98.91 kB / 0.7046 GB, free: 1.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.459, allocations: 1.393 MB / 0.7059 GB, free: 164 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.459, allocations: 7.938 kB / 0.7059 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.459, allocations: 7.984 kB / 0.7059 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4591, allocations: 4 kB / 0.7059 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.4623, allocations: 2.326 MB / 0.7082 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.4623, allocations: 12.02 kB / 0.7082 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.4627, allocations: 91.88 kB / 0.7083 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/0.4642, allocations: 0.5097 MB / 0.7088 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/0.4643, allocations: 23.98 kB / 0.7088 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/0.4665, allocations: 2.908 MB / 0.7117 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4665, allocations: 0 / 0.7117 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.4689, allocations: 1.75 MB / 0.7134 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.4693, allocations: 303.7 kB / 0.7137 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.4695, allocations: 12 kB / 0.7137 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006283/0.4701, allocations: 47.94 kB / 0.7137 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.4702, allocations: 64.41 kB / 0.7138 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.173e-05/0.4703, allocations: 23.98 kB / 0.7138 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007908/0.4711, allocations: 0.6674 MB / 0.7145 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4711, allocations: 0 / 0.7145 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001785/0.4729, allocations: 0.8199 MB / 0.7153 GB, free: 6.227 MB / 0.4948 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.001344/0.4743, allocations: 0.6413 MB / 0.7159 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003342/0.4776, allocations: 1.898 MB / 0.7177 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4776, allocations: 4.25 kB / 0.7177 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.4787, allocations: 0.568 MB / 0.7183 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.4804, allocations: 411.7 kB / 0.7187 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.4839, allocations: 2.303 MB / 0.7209 GB, free: 352 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/0.4845, allocations: 1.062 MB / 0.722 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/0.4848, allocations: 95.34 kB / 0.7221 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/0.4848, allocations: 4 kB / 0.7221 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.1915/0.6763, allocations: 31.96 MB / 0.7533 GB, free: 193.5 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1)