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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3914/0.3914, allocations: 54.99 MB / 325.4 MB, free: 0.75 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005201/0.0005202, allocations: 12 kB / 396.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3569, allocations: 60.71 MB / 457.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.5872/0.9442, allocations: 248 MB / 0.6888 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03285/0.9771, allocations: 23.82 MB / 0.712 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005203/0.9823, allocations: 104.6 kB / 0.7121 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006806/0.9891, allocations: 1.823 MB / 0.7139 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01979/1.009, allocations: 5.43 MB / 0.7192 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008331/1.017, allocations: 2.647 MB / 0.7218 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01162/1.029, allocations: 5.814 MB / 0.7275 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005658/1.035, allocations: 2.737 MB / 0.7302 GB, free: 17.81 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008638/1.043, allocations: 3.054 MB / 0.7331 GB, free: 17.38 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004679/1.048, allocations: 1.972 MB / 0.7351 GB, free: 17.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006597/1.049, allocations: 167.9 kB / 0.7352 GB, free: 17.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005815/1.055, allocations: 1.603 MB / 0.7368 GB, free: 16.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002121/1.057, allocations: 1.498 MB / 0.7382 GB, free: 16.38 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002484/1.059, allocations: 0.8529 MB / 0.7391 GB, free: 16.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00705/1.066, allocations: 4.911 MB / 0.7439 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.066, allocations: 0 / 0.7439 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.756e-06/1.066, allocations: 0 / 0.7439 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001966/1.066, allocations: 0 / 0.7439 GB, free: 13.78 MB / 0.5137 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.008708/1.075, allocations: 3.694 MB / 0.7475 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.075, allocations: 12.03 kB / 0.7475 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005197/1.08, allocations: 0.9056 MB / 0.7484 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00469/1.085, allocations: 2.217 MB / 0.7505 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/1.085, allocations: 304.8 kB / 0.7508 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004554/1.086, allocations: 326.2 kB / 0.7511 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/1.097, allocations: 4.12 MB / 0.7552 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.94e-05/1.097, allocations: 4.562 kB / 0.7552 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006017/1.098, allocations: 131.4 kB / 0.7553 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/1.098, allocations: 124.2 kB / 0.7554 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/1.11, allocations: 3.5 MB / 0.7588 GB, free: 2.078 MB / 0.5137 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.03557/1.145, allocations: 15.56 MB / 0.774 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006323/1.152, allocations: 2.019 MB / 0.776 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/1.152, allocations: 46.67 kB / 0.776 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.164e-05/1.152, allocations: 68.69 kB / 0.7761 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=186): time 6.092e-06/1.152, allocations: 4 kB / 0.7761 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=186): time 0.01354/1.166, allocations: 3.354 MB / 0.7794 GB, free: 188 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/1.166, allocations: 73.41 kB / 0.7795 GB, free: 100 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005478/1.171, allocations: 2.256 MB / 0.7817 GB, free: 14.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005293/1.172, allocations: 71.64 kB / 0.7817 GB, free: 14.35 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001654/1.174, allocations: 1.545 MB / 0.7832 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.175, allocations: 0.6576 MB / 0.7839 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/1.175, allocations: 49.62 kB / 0.7839 GB, free: 12.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002908/1.175, allocations: 395.8 kB / 0.7843 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002863/1.178, allocations: 1.001 MB / 0.7853 GB, free: 11.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003652/1.182, allocations: 1.718 MB / 0.787 GB, free: 10.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003465/1.185, allocations: 1.359 MB / 0.7883 GB, free: 9.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-05/1.185, allocations: 4 kB / 0.7883 GB, free: 9.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.008289/1.194, allocations: 3.112 MB / 0.7913 GB, free: 6.922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.004125/1.198, allocations: 7.107 MB / 0.7983 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-05/1.198, allocations: 20 kB / 0.7983 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.792e-05/1.198, allocations: 28 kB / 0.7983 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01595/1.214, allocations: 2.052 MB / 0.8003 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/1.231, allocations: 11.46 MB / 0.8115 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004342/1.235, allocations: 488.8 kB / 0.812 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00047/1.236, allocations: 100.7 kB / 0.8121 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/1.236, allocations: 4 kB / 0.8121 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004309/1.24, allocations: 2.598 MB / 0.8146 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/1.24, allocations: 16 kB / 0.8146 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/1.24, allocations: 35.95 kB / 0.8147 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/1.242, allocations: 0.5366 MB / 0.8152 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.672e-05/1.242, allocations: 39.67 kB / 0.8152 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0033/1.246, allocations: 386.3 kB / 0.8156 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/1.246, allocations: 97.73 kB / 0.8157 GB, free: 14.11 MB / 0.5762 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.002731/1.249, allocations: 0.9312 MB / 0.8166 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000848/1.249, allocations: 293.3 kB / 0.8169 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006069/1.25, allocations: 320.6 kB / 0.8172 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/1.25, allocations: 26.58 kB / 0.8172 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.25, allocations: 0 / 0.8172 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003423/1.254, allocations: 2.112 MB / 0.8193 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009946/1.263, allocations: 5.481 MB / 0.8246 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.264, allocations: 0 / 0.8246 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009688/1.273, allocations: 1.916 MB / 0.8265 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.31e-05/1.273, allocations: 8 kB / 0.8265 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/1.273, allocations: 56.22 kB / 0.8266 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01535/1.289, allocations: 11.21 MB / 0.8375 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.289, allocations: 6.656 kB / 0.8375 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007079/1.296, allocations: 3.846 MB / 0.8413 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/1.298, allocations: 0.636 MB / 0.8419 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005329/1.299, allocations: 45.05 kB / 0.8419 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00292/1.302, allocations: 319.1 kB / 0.8422 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/1.302, allocations: 115.4 kB / 0.8423 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/1.302, allocations: 89.55 kB / 0.8424 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002162/1.304, allocations: 1.503 MB / 0.8439 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/1.304, allocations: 0 / 0.8439 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005167/1.309, allocations: 1.907 MB / 0.8458 GB, free: 3.23 MB / 0.5919 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.0008491/1.31, allocations: 338.4 kB / 0.8461 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01618/1.326, allocations: 5.649 MB / 0.8516 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.327, allocations: 4 kB / 0.8516 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0168/1.343, allocations: 3.731 MB / 0.8552 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009316/1.353, allocations: 1.683 MB / 0.8569 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/1.367, allocations: 8.341 MB / 0.865 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2107/1.578, allocations: 2.361 MB / 0.8673 GB, free: 248.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004957/1.582, allocations: 1.123 MB / 0.8684 GB, free: 248.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/1.583, allocations: 227.9 kB / 0.8687 GB, free: 248.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.372e-06/1.583, allocations: 1.094 kB / 0.8687 GB, free: 248.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.09009/1.673, allocations: 57.96 MB / 0.9253 GB, free: 231.3 MB / 0.6075 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: