Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 86.41 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002223/0.002224, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4369/0.4369, allocations: 40 MB / 310.4 MB, free: 9.969 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005773/0.0005773, allocations: 19.98 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1409, allocations: 57.95 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.2922/0.4332, allocations: 33.97 MB / 470.8 MB, free: 34.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.4496, allocations: 15.69 MB / 486.5 MB, free: 24.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000878/0.4506, allocations: 21 kB / 486.5 MB, free: 24.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.4517, allocations: 352.6 kB / 486.8 MB, free: 23.89 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789: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:786:36-787: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.01377/0.4654, allocations: 3.196 MB / 490 MB, free: 22.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00947/0.4749, allocations: 2.465 MB / 492.5 MB, free: 21.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002731/0.4777, allocations: 2.034 MB / 494.5 MB, free: 20.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000761/0.4785, allocations: 460.4 kB / 495 MB, free: 20.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.4798, allocations: 0.6461 MB / 495.6 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008685/0.4806, allocations: 0.5496 MB / 496.2 MB, free: 19.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.379e-05/0.4807, allocations: 42.56 kB / 496.2 MB, free: 19.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01709/0.4978, allocations: 7.005 MB / 0.4914 GB, free: 18.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007747/0.4987, allocations: 203.4 kB / 0.4916 GB, free: 18.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000582/0.4993, allocations: 169.5 kB / 0.4918 GB, free: 18.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.5115, allocations: 3.426 MB / 0.4951 GB, free: 17.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.5116, allocations: 0 / 0.4951 GB, free: 17.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5116, allocations: 4 kB / 0.4951 GB, free: 17.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.076e-05/0.5116, allocations: 5.344 kB / 0.4951 GB, free: 17.33 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.009008/0.5207, allocations: 1.463 MB / 0.4966 GB, free: 16.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.5207, allocations: 9.141 kB / 0.4966 GB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/0.5241, allocations: 386.7 kB / 0.4969 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.5256, allocations: 0.5069 MB / 0.4974 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.5258, allocations: 114.4 kB / 0.4975 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.526, allocations: 54.12 kB / 0.4976 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003386/0.5294, allocations: 1.157 MB / 0.4987 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.5295, allocations: 1 kB / 0.4987 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.5296, allocations: 27.06 kB / 0.4987 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.995e-05/0.5297, allocations: 35.23 kB / 0.4988 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.5327, allocations: 1.092 MB / 0.4998 GB, free: 15.13 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.007726/0.5404, allocations: 5.052 MB / 0.5048 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.5434, allocations: 0.9585 MB / 0.5057 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008088/0.5442, allocations: 396.1 kB / 0.5061 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05084/0.5951, allocations: 24.43 MB / 0.53 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.409e-05/0.5953, allocations: 39 kB / 0.53 GB, free: 6.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 6.973e-06/0.5953, allocations: 0 / 0.53 GB, free: 6.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.007683/0.603, allocations: 2.075 MB / 0.532 GB, free: 3.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/0.6031, allocations: 111.2 kB / 0.5321 GB, free: 3.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.6042, allocations: 0.5847 MB / 0.5327 GB, free: 3.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.84e-05/0.6044, allocations: 29.7 kB / 0.5327 GB, free: 3.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.6047, allocations: 323.6 kB / 0.533 GB, free: 2.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.6049, allocations: 153.8 kB / 0.5332 GB, free: 2.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.6049, allocations: 16 kB / 0.5332 GB, free: 2.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.6051, allocations: 374.7 kB / 0.5336 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007848/0.6059, allocations: 341 kB / 0.5339 GB, free: 1.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008818/0.6068, allocations: 498.2 kB / 0.5344 GB, free: 1.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008475/0.6077, allocations: 356.6 kB / 0.5347 GB, free: 1.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.6077, allocations: 4 kB / 0.5347 GB, free: 1.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002428/0.6102, allocations: 1.082 MB / 0.5358 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.6102, allocations: 8 kB / 0.5358 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.6102, allocations: 4 kB / 0.5358 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.6114, allocations: 425.5 kB / 0.5362 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.6119, allocations: 123.8 kB / 0.5363 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.6139, allocations: 1.655 MB / 0.5379 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009126/0.6148, allocations: 115.2 kB / 0.538 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/0.6149, allocations: 24 kB / 0.538 GB, free: 13.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005195/0.6154, allocations: 245.7 kB / 0.5383 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.6156, allocations: 63.25 kB / 0.5383 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004966/0.6206, allocations: 3.307 MB / 0.5416 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.887e-05/0.6207, allocations: 43.92 kB / 0.5416 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6207, allocations: 0 / 0.5416 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.6207, allocations: 3.984 kB / 0.5416 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.6229, allocations: 1.558 MB / 0.5431 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.6229, allocations: 3.984 kB / 0.5431 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.6232, allocations: 95.88 kB / 0.5432 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.6249, allocations: 0.8934 MB / 0.5441 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.625, allocations: 19.94 kB / 0.5441 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/0.6277, allocations: 2.303 MB / 0.5464 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6277, allocations: 0 / 0.5464 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00359/0.6313, allocations: 2.304 MB / 0.5486 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007274/0.6321, allocations: 362.6 kB / 0.549 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.6323, allocations: 8 kB / 0.549 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/0.633, allocations: 71.94 kB / 0.549 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.6332, allocations: 68.39 kB / 0.5491 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/0.6333, allocations: 23.98 kB / 0.5491 GB, free: 2.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008778/0.6341, allocations: 0.5068 MB / 0.5496 GB, free: 1.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6341, allocations: 0 / 0.5496 GB, free: 1.535 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.008146/0.6423, allocations: 1.163 MB / 0.5508 GB, free: 380 kB / 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: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01195/0.6543, allocations: 1.306 MB / 0.552 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003123/0.6574, allocations: 1.146 MB / 0.5531 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.6575, allocations: 12.31 kB / 0.5532 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.6592, allocations: 0.8807 MB / 0.554 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.6616, allocations: 354.5 kB / 0.5544 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/0.6668, allocations: 2.989 MB / 0.5573 GB, free: 9.676 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009533/0.6677, allocations: 1.154 MB / 0.5584 GB, free: 8.492 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009804/0.6687, allocations: 356 kB / 0.5587 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.6689, allocations: 55.44 kB / 0.5588 GB, free: 8.09 MB / 430.1 MB Notification: Performance of SimCode: time 1.422e-06/0.6689, allocations: 4 kB / 0.5588 GB, free: 8.086 MB / 430.1 MB Notification: Performance of Templates: time 0.08383/0.7528, allocations: 49.24 MB / 0.6069 GB, free: 6.836 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) Environment - environmentSimulation: