Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001361/0.001361, allocations: 165.8 kB / 7.636 MB, free: 1.418 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.483/1.483, allocations: 170.6 MB / 178.7 MB, free: 15.64 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.001556/0.001556, allocations: 111.5 kB / 218 MB, free: 8.402 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.1955/0.1955, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.95e-05, allocations: 0.9062 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1548, allocations: 48.72 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.909/1.064, allocations: 290.1 MB / 0.6727 GB, free: 120.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/1.064, allocations: 83.95 kB / 0.6727 GB, free: 120.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5385/1.603, allocations: 149 MB / 0.8182 GB, free: 101.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.603, allocations: 2.75 kB / 0.8182 GB, free: 101.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.907e-05/1.603, allocations: 28.66 kB / 0.8182 GB, free: 101.8 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002237/1.605, allocations: 1.063 MB / 0.8193 GB, free: 101.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.605, allocations: 10.38 kB / 0.8193 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004668/1.606, allocations: 116.6 kB / 0.8194 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/1.607, allocations: 0.6309 MB / 0.82 GB, free: 101 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/1.607, allocations: 218.7 kB / 0.8202 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/1.607, allocations: 48 kB / 0.8203 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001246/1.608, allocations: 0.8025 MB / 0.8211 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/1.61, allocations: 1.137 MB / 0.8222 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/1.61, allocations: 12.7 kB / 0.8222 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/1.61, allocations: 6.094 kB / 0.8222 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/1.61, allocations: 37.72 kB / 0.8222 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006209/1.616, allocations: 6.733 MB / 0.8288 GB, free: 95.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/1.617, allocations: 238.8 kB / 0.829 GB, free: 95.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/1.617, allocations: 134.7 kB / 0.8292 GB, free: 95.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002623/1.62, allocations: 2.718 MB / 0.8318 GB, free: 93.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/1.62, allocations: 41.25 kB / 0.8318 GB, free: 92.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/1.62, allocations: 0 / 0.8318 GB, free: 92.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002165/1.622, allocations: 0.8029 MB / 0.8326 GB, free: 92.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/1.622, allocations: 59.2 kB / 0.8327 GB, free: 92.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009716/1.623, allocations: 0.6522 MB / 0.8333 GB, free: 92.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/1.623, allocations: 28.98 kB / 0.8334 GB, free: 92.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004867/1.623, allocations: 0.6294 MB / 0.834 GB, free: 91.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.557e-05/1.623, allocations: 112.8 kB / 0.8341 GB, free: 91.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/1.624, allocations: 0 / 0.8341 GB, free: 91.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/1.624, allocations: 388.2 kB / 0.8344 GB, free: 91.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/1.624, allocations: 199.3 kB / 0.8346 GB, free: 91.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009337/1.625, allocations: 0.9957 MB / 0.8356 GB, free: 90.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/1.626, allocations: 437.8 kB / 0.836 GB, free: 90.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/1.626, allocations: 7.875 kB / 0.836 GB, free: 90.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001577/1.627, allocations: 1.046 MB / 0.8371 GB, free: 90.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/1.627, allocations: 18.97 kB / 0.8371 GB, free: 90.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/1.627, allocations: 33.16 kB / 0.8371 GB, free: 90.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.756e-05/1.627, allocations: 41.5 kB / 0.8371 GB, free: 90.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/1.628, allocations: 298.2 kB / 0.8374 GB, free: 90.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.655e-05/1.628, allocations: 59.36 kB / 0.8375 GB, free: 90.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/1.629, allocations: 57.75 kB / 0.8375 GB, free: 90.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.56e-05/1.629, allocations: 76.91 kB / 0.8376 GB, free: 90.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002099/1.629, allocations: 185 kB / 0.8378 GB, free: 90.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/1.629, allocations: 81.31 kB / 0.8379 GB, free: 90.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007481/1.63, allocations: 319.1 kB / 0.8382 GB, free: 90.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.63, allocations: 3.594 kB / 0.8382 GB, free: 90.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.63, allocations: 0 / 0.8382 GB, free: 90.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/1.63, allocations: 11.39 kB / 0.8382 GB, free: 90.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/1.631, allocations: 0.8061 MB / 0.839 GB, free: 89.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/1.631, allocations: 3.906 kB / 0.839 GB, free: 89.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/1.632, allocations: 54.75 kB / 0.839 GB, free: 89.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/1.632, allocations: 7.781 kB / 0.839 GB, free: 89.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/1.632, allocations: 3.609 kB / 0.839 GB, free: 89.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/1.632, allocations: 9.844 kB / 0.839 GB, free: 89.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.632, allocations: 0 / 0.839 GB, free: 89.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/1.632, allocations: 0.5246 MB / 0.8396 GB, free: 89.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/1.633, allocations: 176.1 kB / 0.8397 GB, free: 89.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/1.633, allocations: 0 / 0.8397 GB, free: 89.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/1.633, allocations: 19.23 kB / 0.8397 GB, free: 89.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/1.633, allocations: 24.36 kB / 0.8398 GB, free: 89.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/1.633, allocations: 14.62 kB / 0.8398 GB, free: 89.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004551/1.633, allocations: 451.3 kB / 0.8402 GB, free: 89.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.633, allocations: 0 / 0.8402 GB, free: 89.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001131/1.635, allocations: 247.9 kB / 0.8405 GB, free: 89.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007205/1.635, allocations: 380.6 kB / 0.8408 GB, free: 89.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000737/1.636, allocations: 0.5373 MB / 0.8413 GB, free: 89.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.636, allocations: 0 / 0.8413 GB, free: 89.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/1.636, allocations: 102.7 kB / 0.8414 GB, free: 89.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/1.637, allocations: 245.3 kB / 0.8417 GB, free: 89.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/1.639, allocations: 0.991 MB / 0.8426 GB, free: 88.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/1.639, allocations: 1.009 MB / 0.8436 GB, free: 88.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008608/1.64, allocations: 300.2 kB / 0.8439 GB, free: 88.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/1.64, allocations: 64.19 kB / 0.844 GB, free: 88.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.462e-06/1.64, allocations: 3.938 kB / 0.844 GB, free: 88.06 MB / 426.7 MB Notification: Performance of Templates: time 0.01851/1.659, allocations: 10.48 MB / 0.8542 GB, free: 87.18 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1)