Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2972/0.2972, allocations: 55 MB / 69.95 MB, free: 8.699 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001292/0.001292, allocations: 185.8 kB / 83.97 MB, free: 10.86 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.829/1.829, allocations: 194.4 MB / 292.3 MB, free: 3.605 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001808/0.001808, allocations: 116.2 kB / 350.7 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004513, allocations: 8 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1911, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.372/6.563, allocations: 2.147 GB / 2.612 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/6.563, allocations: 95.16 kB / 2.612 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.469/13.03, allocations: 1.757 GB / 4.37 GB, free: 35.84 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.194e-06/13.03, allocations: 2.188 kB / 4.37 GB, free: 35.84 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0004018/13.03, allocations: 101.3 kB / 4.37 GB, free: 35.82 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 788 * Number of variables: 788 Notification: Performance of Generate backend data structure: time 0.01508/13.05, allocations: 4.256 MB / 4.374 GB, free: 33.71 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/13.05, allocations: 11.78 kB / 4.374 GB, free: 33.71 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007055/13.05, allocations: 0.9424 MB / 4.375 GB, free: 33.5 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007373/13.06, allocations: 2.571 MB / 4.377 GB, free: 32.82 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/13.06, allocations: 305.3 kB / 4.378 GB, free: 32.75 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009284/13.06, allocations: 328.2 kB / 4.378 GB, free: 32.75 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008696/13.07, allocations: 3.989 MB / 4.382 GB, free: 32.46 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/13.07, allocations: 3.938 kB / 4.382 GB, free: 32.46 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005371/13.07, allocations: 134.5 kB / 4.382 GB, free: 32.46 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/13.07, allocations: 115.7 kB / 4.382 GB, free: 32.45 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007396/13.08, allocations: 3.367 MB / 4.385 GB, free: 32.39 MB / 0.573 GB 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.02608/13.11, allocations: 15.51 MB / 4.401 GB, free: 24.09 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004531/13.11, allocations: 2.019 MB / 4.403 GB, free: 23.97 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/13.11, allocations: 50.17 kB / 4.403 GB, free: 23.96 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.698e-05/13.11, allocations: 71.14 kB / 4.403 GB, free: 23.9 MB / 0.573 GB Notification: Performance of pre-optimization done (n=186): time 5.11e-06/13.11, allocations: 0 / 4.403 GB, free: 23.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=186): time 0.009126/13.12, allocations: 3.327 MB / 4.406 GB, free: 22.82 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/13.12, allocations: 72.16 kB / 4.406 GB, free: 22.75 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004726/13.13, allocations: 1.968 MB / 4.408 GB, free: 21.66 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005712/13.13, allocations: 73.7 kB / 4.408 GB, free: 21.58 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001458/13.13, allocations: 1.531 MB / 4.409 GB, free: 20.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008126/13.13, allocations: 0.6554 MB / 4.41 GB, free: 19.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/13.13, allocations: 48 kB / 4.41 GB, free: 19.55 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002224/13.13, allocations: 400.8 kB / 4.411 GB, free: 19.19 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001974/13.13, allocations: 0.9947 MB / 4.411 GB, free: 18.34 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002352/13.13, allocations: 1.718 MB / 4.413 GB, free: 16.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/13.14, allocations: 1.341 MB / 4.414 GB, free: 15.27 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-05/13.14, allocations: 4 kB / 4.414 GB, free: 15.26 MB / 0.573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.006138/13.14, allocations: 3.09 MB / 4.417 GB, free: 12.46 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00173/13.14, allocations: 7.114 MB / 4.424 GB, free: 4.715 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.831e-05/13.14, allocations: 16 kB / 4.424 GB, free: 4.699 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.343e-05/13.14, allocations: 32 kB / 4.424 GB, free: 4.668 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01054/13.15, allocations: 1.939 MB / 4.426 GB, free: 3.188 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005358/13.16, allocations: 4.914 MB / 4.431 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005173/13.16, allocations: 497.1 kB / 4.432 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006549/13.17, allocations: 103.6 kB / 4.432 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/13.17, allocations: 5.562 kB / 4.432 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006208/13.17, allocations: 2.583 MB / 4.434 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.746e-05/13.17, allocations: 16 kB / 4.434 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-05/13.17, allocations: 32 kB / 4.434 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/13.17, allocations: 0.5226 MB / 4.435 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.448e-05/13.17, allocations: 39.86 kB / 4.435 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004643/13.18, allocations: 405.3 kB / 4.435 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005315/13.18, allocations: 104 kB / 4.435 GB, free: 10.37 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (296): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0032/13.18, allocations: 0.9258 MB / 4.436 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/13.18, allocations: 296.5 kB / 4.437 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/13.19, allocations: 320 kB / 4.437 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/13.19, allocations: 16 kB / 4.437 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/13.19, allocations: 0 / 4.437 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004382/13.19, allocations: 2.105 MB / 4.439 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/13.21, allocations: 5.468 MB / 4.444 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/13.21, allocations: 0 / 4.444 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4643/13.67, allocations: 1.934 MB / 4.446 GB, free: 55.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.539e-05/13.67, allocations: 7.562 kB / 4.446 GB, free: 55.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000591/13.67, allocations: 52.38 kB / 4.446 GB, free: 55.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/13.69, allocations: 11.23 MB / 4.457 GB, free: 46.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/13.69, allocations: 1.938 kB / 4.457 GB, free: 46.42 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007824/13.7, allocations: 3.8 MB / 4.461 GB, free: 46.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002882/13.7, allocations: 0.6403 MB / 4.462 GB, free: 45.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007781/13.7, allocations: 44.36 kB / 4.462 GB, free: 45.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003413/13.7, allocations: 322.8 kB / 4.462 GB, free: 45.88 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/13.7, allocations: 120.5 kB / 4.462 GB, free: 45.87 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/13.7, allocations: 89.73 kB / 4.462 GB, free: 45.87 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002677/13.71, allocations: 1.497 MB / 4.464 GB, free: 45.72 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.91e-07/13.71, allocations: 0.6562 kB / 4.464 GB, free: 45.72 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0104/13.72, allocations: 2.32 MB / 4.466 GB, free: 45.59 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01021/13.73, allocations: 4.771 MB / 4.47 GB, free: 43.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0195/13.75, allocations: 5.338 MB / 4.476 GB, free: 42.92 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.958e-05/13.75, allocations: 6.938 kB / 4.476 GB, free: 42.92 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01904/13.76, allocations: 3.581 MB / 4.479 GB, free: 42.91 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01061/13.78, allocations: 1.68 MB / 4.481 GB, free: 42.86 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/13.79, allocations: 8.317 MB / 4.489 GB, free: 39.67 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002092/13.8, allocations: 2.355 MB / 4.491 GB, free: 38.91 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.005051/13.8, allocations: 1.13 MB / 4.492 GB, free: 38.88 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007513/13.8, allocations: 229.2 kB / 4.493 GB, free: 38.88 MB / 0.5886 GB Notification: Performance of SimCode: time 1.593e-06/13.8, allocations: 0 / 4.493 GB, free: 38.88 MB / 0.5886 GB Notification: Performance of Templates: time 0.174/13.98, allocations: 104.7 MB / 4.595 GB, free: 29.02 MB / 0.5886 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)