Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001161/0.001161, allocations: 168.4 kB / 7.639 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.728/1.728, allocations: 170.6 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001783/0.001783, allocations: 115.4 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2256/0.2256, allocations: 37.98 MB / 295.1 MB, free: 9.512 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.543e-05/2.547e-05, allocations: 6.031 kB / 350 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 48.72 MB / 398.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.15/7.273, allocations: 2.485 GB / 2.874 GB, free: 75.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/7.273, allocations: 81.95 kB / 2.874 GB, free: 75.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.368/8.641, allocations: 343.4 MB / 3.209 GB, free: 48.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.115e-06/8.641, allocations: 0 / 3.209 GB, free: 48.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.709e-05/8.641, allocations: 16.41 kB / 3.209 GB, free: 48.51 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006876/8.648, allocations: 1.618 MB / 3.211 GB, free: 47.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/8.648, allocations: 14.19 kB / 3.211 GB, free: 47.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003215/8.651, allocations: 398.1 kB / 3.211 GB, free: 47.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/8.652, allocations: 0.5776 MB / 3.212 GB, free: 47.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/8.653, allocations: 100.4 kB / 3.212 GB, free: 47.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/8.653, allocations: 32.53 kB / 3.212 GB, free: 47.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00126/8.654, allocations: 0.7262 MB / 3.213 GB, free: 47.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/8.655, allocations: 0.8356 MB / 3.214 GB, free: 47.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/8.655, allocations: 0 / 3.214 GB, free: 47.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-05/8.655, allocations: 4.031 kB / 3.214 GB, free: 47.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-05/8.655, allocations: 39.36 kB / 3.214 GB, free: 47.17 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.08097/8.736, allocations: 36.83 MB / 3.25 GB, free: 28.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009406/8.737, allocations: 497.6 kB / 3.25 GB, free: 28.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/8.738, allocations: 255.5 kB / 3.25 GB, free: 28.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06066/8.798, allocations: 31.51 MB / 3.281 GB, free: 24.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.23e-05/8.798, allocations: 37.41 kB / 3.281 GB, free: 24.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 2.726e-06/8.798, allocations: 3.375 kB / 3.281 GB, free: 24.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.0172/8.816, allocations: 3.274 MB / 3.284 GB, free: 24.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/8.816, allocations: 114.5 kB / 3.284 GB, free: 23.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/8.817, allocations: 407.9 kB / 3.285 GB, free: 23.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/8.817, allocations: 25.7 kB / 3.285 GB, free: 23.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000288/8.817, allocations: 365.6 kB / 3.285 GB, free: 23.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/8.817, allocations: 179 kB / 3.285 GB, free: 23.49 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/8.817, allocations: 0 / 3.285 GB, free: 23.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/8.817, allocations: 367.4 kB / 3.286 GB, free: 23.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/8.818, allocations: 396.9 kB / 3.286 GB, free: 23.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/8.819, allocations: 0.6161 MB / 3.287 GB, free: 22.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/8.821, allocations: 0.6848 MB / 3.287 GB, free: 22.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/8.821, allocations: 3.5 kB / 3.287 GB, free: 22.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003774/8.825, allocations: 1.605 MB / 3.289 GB, free: 22.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001335/8.826, allocations: 2.698 MB / 3.292 GB, free: 19.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/8.826, allocations: 11.7 kB / 3.292 GB, free: 19.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001665/8.828, allocations: 1.068 MB / 3.293 GB, free: 18.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/8.828, allocations: 155 kB / 3.293 GB, free: 18.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/8.832, allocations: 2.898 MB / 3.296 GB, free: 16.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/8.834, allocations: 94.36 kB / 3.296 GB, free: 16.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/8.834, allocations: 42.19 kB / 3.296 GB, free: 16.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/8.834, allocations: 4.094 kB / 3.296 GB, free: 16.36 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002403/8.836, allocations: 0.9755 MB / 3.297 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/8.836, allocations: 8 kB / 3.297 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/8.837, allocations: 246.8 kB / 3.297 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/8.837, allocations: 196 kB / 3.297 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004501/8.842, allocations: 4.256 MB / 3.301 GB, free: 27.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008365/8.843, allocations: 60.48 kB / 3.301 GB, free: 27.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.464e-05/8.843, allocations: 42.66 kB / 3.301 GB, free: 27.36 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.Volume.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.Volume.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004383/8.843, allocations: 143.8 kB / 3.302 GB, free: 27.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/8.843, allocations: 55.34 kB / 3.302 GB, free: 27.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00635/8.85, allocations: 4.206 MB / 3.306 GB, free: 23.56 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-05/8.85, allocations: 46.42 kB / 3.306 GB, free: 23.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/8.85, allocations: 0 / 3.306 GB, free: 23.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/8.85, allocations: 0 / 3.306 GB, free: 23.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008296/8.858, allocations: 5.77 MB / 3.311 GB, free: 18.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/8.858, allocations: 0 / 3.311 GB, free: 18.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/8.859, allocations: 70.11 kB / 3.311 GB, free: 18.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00337/8.862, allocations: 2.489 MB / 3.314 GB, free: 16.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.017e-05/8.862, allocations: 15.36 kB / 3.314 GB, free: 16.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005209/8.867, allocations: 4.578 MB / 3.318 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/8.867, allocations: 0 / 3.318 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/8.872, allocations: 3.242 MB / 3.322 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007758/8.873, allocations: 325 kB / 3.322 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/8.873, allocations: 0 / 3.322 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000975/8.874, allocations: 78.27 kB / 3.322 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/8.875, allocations: 58.53 kB / 3.322 GB, free: 9.059 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.273e-05/8.875, allocations: 27.75 kB / 3.322 GB, free: 9.035 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007797/8.876, allocations: 352.2 kB / 3.322 GB, free: 8.719 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/8.876, allocations: 0 / 3.322 GB, free: 8.719 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008985/8.885, allocations: 1.355 MB / 3.324 GB, free: 7.395 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0126/8.897, allocations: 1.734 MB / 3.325 GB, free: 5.973 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005704/8.903, allocations: 2.137 MB / 3.327 GB, free: 4.043 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/8.903, allocations: 1.688 kB / 3.327 GB, free: 4.043 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002876/8.906, allocations: 1.123 MB / 3.329 GB, free: 3.035 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/8.908, allocations: 267.6 kB / 3.329 GB, free: 2.848 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/8.912, allocations: 1.933 MB / 3.331 GB, free: 1.105 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/8.913, allocations: 1.17 MB / 3.332 GB, free: 68 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.3273/9.24, allocations: 0.8316 MB / 3.333 GB, free: 76.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/9.24, allocations: 54 kB / 3.333 GB, free: 76.09 MB / 458.7 MB Notification: Performance of SimCode: time 1.163e-06/9.24, allocations: 0 / 3.333 GB, free: 76.09 MB / 458.7 MB Notification: Performance of Templates: time 0.06583/9.306, allocations: 42.66 MB / 3.374 GB, free: 74.79 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1)