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.2872/0.2872, allocations: 54.33 MB / 66.89 MB, free: 6.105 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.001201/0.001201, allocations: 181.2 kB / 80.71 MB, free: 15.39 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.744/1.744, allocations: 194.2 MB / 288.6 MB, free: 15.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001664/0.001665, allocations: 110.8 kB / 346.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.101e-05, allocations: 0 / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1474, allocations: 57.64 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.438/6.585, allocations: 2.147 GB / 2.606 GB, free: 139 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/6.585, allocations: 86.2 kB / 2.606 GB, free: 139 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.823/13.41, allocations: 1.756 GB / 4.362 GB, free: 34.22 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.504e-06/13.41, allocations: 0 / 4.362 GB, free: 34.22 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000409/13.41, allocations: 102.8 kB / 4.362 GB, free: 34.2 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.01748/13.43, allocations: 3.768 MB / 4.365 GB, free: 32.28 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 8.365e-05/13.43, allocations: 11.66 kB / 4.365 GB, free: 32.27 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008914/13.44, allocations: 0.9511 MB / 4.366 GB, free: 32.02 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009862/13.45, allocations: 2.548 MB / 4.369 GB, free: 30.84 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004735/13.45, allocations: 300.6 kB / 4.369 GB, free: 30.77 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/13.45, allocations: 329.3 kB / 4.369 GB, free: 30.76 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/13.46, allocations: 3.815 MB / 4.373 GB, free: 27.66 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.572e-05/13.46, allocations: 4 kB / 4.373 GB, free: 27.66 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000464/13.46, allocations: 136 kB / 4.373 GB, free: 27.52 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/13.46, allocations: 122 kB / 4.373 GB, free: 27.4 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006069/13.47, allocations: 3.186 MB / 4.377 GB, free: 24.21 MB / 0.573 GB 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.02085/13.49, allocations: 15.51 MB / 4.392 GB, free: 7.418 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/13.49, allocations: 1.89 MB / 4.394 GB, free: 5.531 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/13.49, allocations: 1.037 MB / 4.395 GB, free: 4.488 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/13.49, allocations: 49.94 kB / 4.395 GB, free: 4.441 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/13.49, allocations: 68.55 kB / 4.395 GB, free: 4.363 MB / 0.573 GB Notification: Performance of pre-optimization done (n=186): time 4.558e-06/13.49, allocations: 0 / 4.395 GB, free: 4.363 MB / 0.573 GB Notification: Performance of matching and sorting (n=186): time 0.006195/13.5, allocations: 2.385 MB / 4.397 GB, free: 1.969 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/13.5, allocations: 69.41 kB / 4.397 GB, free: 1.891 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/13.5, allocations: 1.943 MB / 4.399 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003416/13.5, allocations: 73.7 kB / 4.399 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00121/13.5, allocations: 1.53 MB / 4.4 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007161/13.5, allocations: 0.6591 MB / 4.401 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/13.5, allocations: 48 kB / 4.401 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002072/13.5, allocations: 398.6 kB / 4.402 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/13.5, allocations: 0.8753 MB / 4.402 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/13.51, allocations: 1.581 MB / 4.404 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/13.51, allocations: 1.231 MB / 4.405 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/13.51, allocations: 7.719 kB / 4.405 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.004835/13.51, allocations: 2.851 MB / 4.408 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.6122/14.13, allocations: 7.103 MB / 4.415 GB, free: 53.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.457e-05/14.13, allocations: 16.81 kB / 4.415 GB, free: 53.19 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.128e-05/14.13, allocations: 29.97 kB / 4.415 GB, free: 53.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01159/14.14, allocations: 1.933 MB / 4.417 GB, free: 53.19 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/14.14, allocations: 4.643 MB / 4.421 GB, free: 49.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006551/14.15, allocations: 494.5 kB / 4.422 GB, free: 49.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003177/14.15, allocations: 103.3 kB / 4.422 GB, free: 49.11 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/14.15, allocations: 9.172 kB / 4.422 GB, free: 49.11 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006589/14.16, allocations: 2.527 MB / 4.424 GB, free: 48.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.911e-05/14.16, allocations: 18.14 kB / 4.424 GB, free: 48.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.79e-05/14.16, allocations: 31.62 kB / 4.424 GB, free: 48.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/14.16, allocations: 0.5306 MB / 4.425 GB, free: 48.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.413e-05/14.16, allocations: 38.88 kB / 4.425 GB, free: 48.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/14.16, allocations: 399.6 kB / 4.425 GB, free: 48.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/14.16, allocations: 99.89 kB / 4.425 GB, free: 48.98 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 () * 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.001076/14.16, allocations: 252.7 kB / 4.426 GB, free: 48.88 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008084/14.16, allocations: 297.4 kB / 4.426 GB, free: 48.87 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009978/14.17, allocations: 315.2 kB / 4.426 GB, free: 48.83 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/14.17, allocations: 17.97 kB / 4.426 GB, free: 48.83 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/14.17, allocations: 1.156 kB / 4.426 GB, free: 48.83 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002754/14.17, allocations: 1.863 MB / 4.428 GB, free: 48.53 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009977/14.18, allocations: 5.235 MB / 4.433 GB, free: 48.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/14.18, allocations: 2.875 kB / 4.433 GB, free: 48.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01085/14.19, allocations: 1.935 MB / 4.435 GB, free: 48.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.417e-05/14.19, allocations: 8.188 kB / 4.435 GB, free: 48.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002294/14.19, allocations: 52.94 kB / 4.435 GB, free: 48.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/14.2, allocations: 10.2 MB / 4.445 GB, free: 38.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/14.2, allocations: 5.375 kB / 4.445 GB, free: 38.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007956/14.21, allocations: 3.449 MB / 4.449 GB, free: 38.32 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003335/14.21, allocations: 0.6344 MB / 4.449 GB, free: 38.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/14.21, allocations: 43.41 kB / 4.449 GB, free: 38.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004402/14.22, allocations: 320.7 kB / 4.45 GB, free: 38.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/14.22, allocations: 116.3 kB / 4.45 GB, free: 38.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004046/14.22, allocations: 93.83 kB / 4.45 GB, free: 38.07 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004272/14.22, allocations: 1.469 MB / 4.451 GB, free: 37.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.2e-07/14.22, allocations: 0 / 4.451 GB, free: 37.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01304/14.24, allocations: 2.318 MB / 4.453 GB, free: 37.78 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 () * 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.01075/14.25, allocations: 4.777 MB / 4.458 GB, free: 35.54 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01638/14.26, allocations: 5.159 MB / 4.463 GB, free: 35.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/14.26, allocations: 3.344 kB / 4.463 GB, free: 35.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01593/14.28, allocations: 3.453 MB / 4.466 GB, free: 35.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01133/14.29, allocations: 1.68 MB / 4.468 GB, free: 35.05 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/14.31, allocations: 5.786 MB / 4.474 GB, free: 33.78 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004166/14.31, allocations: 2.358 MB / 4.476 GB, free: 33.01 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.009393/14.32, allocations: 1.393 MB / 4.477 GB, free: 32.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/14.32, allocations: 189.3 kB / 4.478 GB, free: 32.98 MB / 0.5886 GB Notification: Performance of SimCode: time 2.835e-06/14.32, allocations: 6.344 kB / 4.478 GB, free: 32.98 MB / 0.5886 GB Notification: Performance of Templates: time 0.2011/14.52, allocations: 119.3 MB / 4.594 GB, free: 3.883 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)