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.3463/0.3463, allocations: 54.41 MB / 61.88 MB, free: 13.73 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.001248/0.001248, allocations: 175.6 kB / 75.61 MB, free: 0.7656 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.809/1.809, allocations: 194.3 MB / 283.5 MB, free: 14.77 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.001751/0.001751, allocations: 105.8 kB / 341.6 MB, free: 4.004 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.991e-05, allocations: 0 / 405.5 MB, free: 4.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4388, allocations: 57.65 MB / 463.1 MB, free: 51.68 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.705/7.144, allocations: 2.146 GB / 2.599 GB, free: 178.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004481/7.145, allocations: 86.59 kB / 2.599 GB, free: 178.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.245/14.39, allocations: 1.736 GB / 4.334 GB, free: 29.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.937e-06/14.39, allocations: 0 / 4.334 GB, free: 29.57 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0006929/14.39, allocations: 107.3 kB / 4.334 GB, free: 29.56 MB / 0.5573 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.017/14.41, allocations: 3.77 MB / 4.338 GB, free: 27.75 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/14.41, allocations: 10.97 kB / 4.338 GB, free: 27.75 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009424/14.42, allocations: 0.9401 MB / 4.339 GB, free: 27.53 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/14.43, allocations: 2.548 MB / 4.341 GB, free: 26.93 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004074/14.43, allocations: 197.9 kB / 4.342 GB, free: 26.86 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001743/14.43, allocations: 202.5 kB / 4.342 GB, free: 26.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008659/14.44, allocations: 2.797 MB / 4.344 GB, free: 26.84 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/14.45, allocations: 3.119 MB / 4.348 GB, free: 26.6 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001755/14.45, allocations: 6.75 kB / 4.348 GB, free: 26.6 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00131/14.45, allocations: 5.391 kB / 4.348 GB, free: 26.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/14.45, allocations: 114.6 kB / 4.348 GB, free: 26.59 MB / 0.5573 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.03246/14.49, allocations: 14.89 MB / 4.362 GB, free: 18.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003375/14.49, allocations: 1.597 MB / 4.364 GB, free: 18.57 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/14.49, allocations: 0.9749 MB / 4.365 GB, free: 18.55 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/14.49, allocations: 56.62 kB / 4.365 GB, free: 18.55 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.746e-05/14.49, allocations: 66.58 kB / 4.365 GB, free: 18.51 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=186): time 6.352e-06/14.49, allocations: 0 / 4.365 GB, free: 18.51 MB / 0.5573 GB Notification: Performance of matching and sorting (n=186): time 0.00658/14.5, allocations: 2.051 MB / 4.367 GB, free: 18.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/14.5, allocations: 76.17 kB / 4.367 GB, free: 18.23 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004823/14.5, allocations: 1.558 MB / 4.368 GB, free: 18.01 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006168/14.5, allocations: 29.3 kB / 4.368 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001753/14.5, allocations: 1.555 MB / 4.37 GB, free: 17.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/14.51, allocations: 0.636 MB / 4.371 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/14.51, allocations: 2.656 kB / 4.371 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002991/14.51, allocations: 396.5 kB / 4.371 GB, free: 16.58 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/14.51, allocations: 0.8189 MB / 4.372 GB, free: 16.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/14.51, allocations: 1.511 MB / 4.373 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/14.51, allocations: 1.098 MB / 4.374 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.392e-05/14.51, allocations: 7.719 kB / 4.374 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006293/14.52, allocations: 2.509 MB / 4.377 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.004145/14.52, allocations: 7.023 MB / 4.384 GB, free: 23.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-05/14.52, allocations: 13.97 kB / 4.384 GB, free: 23.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.044e-05/14.52, allocations: 32.41 kB / 4.384 GB, free: 23.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01148/14.54, allocations: 2.034 MB / 4.386 GB, free: 23.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005948/14.54, allocations: 4.677 MB / 4.39 GB, free: 19.78 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006129/14.55, allocations: 421.2 kB / 4.391 GB, free: 19.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009491/14.55, allocations: 97.09 kB / 4.391 GB, free: 19.67 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/14.55, allocations: 3.531 kB / 4.391 GB, free: 19.67 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007632/14.56, allocations: 2.158 MB / 4.393 GB, free: 19.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/14.56, allocations: 16.91 kB / 4.393 GB, free: 19.54 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.697e-05/14.56, allocations: 31.88 kB / 4.393 GB, free: 19.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/14.56, allocations: 0.5209 MB / 4.393 GB, free: 19.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.287e-05/14.56, allocations: 43.5 kB / 4.393 GB, free: 19.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004894/14.56, allocations: 322.3 kB / 4.394 GB, free: 19.41 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005056/14.56, allocations: 101.1 kB / 4.394 GB, free: 19.41 MB / 0.573 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 (292): * Single equations (assignments): 282 * 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.00158/14.57, allocations: 165 kB / 4.394 GB, free: 19.26 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001841/14.57, allocations: 270.4 kB / 4.394 GB, free: 19.12 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/14.57, allocations: 279.2 kB / 4.395 GB, free: 19.09 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/14.57, allocations: 17.81 kB / 4.395 GB, free: 19.09 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.853e-05/14.57, allocations: 0 / 4.395 GB, free: 19.09 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003651/14.57, allocations: 1.762 MB / 4.396 GB, free: 18.78 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/14.59, allocations: 4.734 MB / 4.401 GB, free: 18.32 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/14.59, allocations: 0 / 4.401 GB, free: 18.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01067/14.6, allocations: 1.942 MB / 4.403 GB, free: 18.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.926e-05/14.6, allocations: 14.28 kB / 4.403 GB, free: 18.29 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005211/14.6, allocations: 32.91 kB / 4.403 GB, free: 18.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/14.61, allocations: 9.854 MB / 4.412 GB, free: 9.434 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-05/14.61, allocations: 3.531 kB / 4.412 GB, free: 9.434 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00875/14.62, allocations: 3.282 MB / 4.416 GB, free: 8.883 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002773/14.62, allocations: 0.61 MB / 4.416 GB, free: 8.633 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001136/14.62, allocations: 14.91 kB / 4.416 GB, free: 8.629 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004225/14.63, allocations: 281.4 kB / 4.417 GB, free: 8.59 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004552/14.63, allocations: 123.9 kB / 4.417 GB, free: 8.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004398/14.63, allocations: 88.84 kB / 4.417 GB, free: 8.555 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002866/14.63, allocations: 1.144 MB / 4.418 GB, free: 8.07 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.2e-07/14.63, allocations: 3.938 kB / 4.418 GB, free: 8.066 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009578/14.64, allocations: 2.107 MB / 4.42 GB, free: 7.539 MB / 0.573 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.01006/14.65, allocations: 5.223 MB / 4.425 GB, free: 3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01634/14.67, allocations: 5.032 MB / 4.43 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-05/14.67, allocations: 4 kB / 4.43 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01741/14.69, allocations: 3.42 MB / 4.433 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01143/14.7, allocations: 1.467 MB / 4.435 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/14.72, allocations: 5.634 MB / 4.44 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004811/14.72, allocations: 2.36 MB / 4.443 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.009797/14.73, allocations: 1.269 MB / 4.444 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/14.73, allocations: 179.1 kB / 4.444 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of SimCode: time 3.256e-06/14.73, allocations: 0 / 4.444 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of Templates: time 0.7786/15.51, allocations: 77.86 MB / 4.52 GB, free: 53.95 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)