Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006368/0.006368, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001231/0.001231, allocations: 201.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7742/0.7742, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 0.5814 GB, free: 7.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4923, allocations: 80.21 MB / 0.6597 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.2153/0.7077, allocations: 195.1 MB / 0.8502 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01783/0.7256, allocations: 14.31 MB / 0.8642 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.7273, allocations: 35.81 kB / 0.8642 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.729, allocations: 0.4968 MB / 0.8647 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005066/0.734, allocations: 1.878 MB / 0.8665 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.7364, allocations: 0.8751 MB / 0.8674 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.4702/1.207, allocations: 2.562 MB / 0.8699 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/1.208, allocations: 1.116 MB / 0.871 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005141/1.214, allocations: 1.6 MB / 0.8725 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/1.216, allocations: 0.9233 MB / 0.8734 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003218/1.217, allocations: 108.2 kB / 0.8735 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/1.22, allocations: 1.1 MB / 0.8746 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007829/1.22, allocations: 0.4959 MB / 0.8751 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/1.222, allocations: 0.6297 MB / 0.8757 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003656/1.225, allocations: 1.93 MB / 0.8776 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/1.225, allocations: 1.406 kB / 0.8776 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.693e-06/1.225, allocations: 0 / 0.8776 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.15e-05/1.225, allocations: 1.469 kB / 0.8776 GB, free: 3.211 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002975/1.228, allocations: 1.479 MB / 0.879 GB, free: 18.41 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.228, allocations: 12.34 kB / 0.8791 GB, free: 18.41 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/1.23, allocations: 256.6 kB / 0.8793 GB, free: 18.34 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/1.231, allocations: 0.8042 MB / 0.8801 GB, free: 18.02 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.886e-05/1.231, allocations: 72.91 kB / 0.8802 GB, free: 18.01 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/1.231, allocations: 95.36 kB / 0.8802 GB, free: 18.01 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/1.233, allocations: 1.173 MB / 0.8814 GB, free: 17.79 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/1.233, allocations: 6.688 kB / 0.8814 GB, free: 17.79 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/1.233, allocations: 36.97 kB / 0.8814 GB, free: 17.79 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.009e-05/1.233, allocations: 32.72 kB / 0.8815 GB, free: 17.78 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/1.235, allocations: 0.9012 MB / 0.8823 GB, free: 17.77 MB / 0.7012 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.006582/1.242, allocations: 5.751 MB / 0.888 GB, free: 14 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000933/1.243, allocations: 0.5258 MB / 0.8885 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/1.243, allocations: 316.9 kB / 0.8888 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005976/1.244, allocations: 310.9 kB / 0.8891 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/1.244, allocations: 43.72 kB / 0.8891 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.705e-06/1.244, allocations: 0 / 0.8891 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001671/1.245, allocations: 0.8051 MB / 0.8899 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/1.245, allocations: 60.28 kB / 0.89 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/1.247, allocations: 0.7469 MB / 0.8907 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/1.247, allocations: 36.61 kB / 0.8907 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004902/1.247, allocations: 0.521 MB / 0.8912 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/1.248, allocations: 186.8 kB / 0.8914 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/1.248, allocations: 147 kB / 0.8916 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001965/1.248, allocations: 332.7 kB / 0.8919 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/1.249, allocations: 246.2 kB / 0.8921 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007474/1.249, allocations: 0.5593 MB / 0.8927 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/1.251, allocations: 0.8042 MB / 0.8934 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/1.251, allocations: 2.406 kB / 0.8934 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001645/1.252, allocations: 0.8498 MB / 0.8943 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.252, allocations: 10.41 kB / 0.8943 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/1.252, allocations: 16.44 kB / 0.8943 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/1.252, allocations: 12.84 kB / 0.8943 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/1.253, allocations: 152.6 kB / 0.8945 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/1.253, allocations: 16.5 kB / 0.8945 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008262/1.254, allocations: 88.44 kB / 0.8946 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/1.254, allocations: 35.84 kB / 0.8946 GB, free: 11.85 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005208/1.254, allocations: 329.5 kB / 0.8949 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/1.255, allocations: 89.5 kB / 0.895 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009477/1.256, allocations: 0.6185 MB / 0.8956 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/1.256, allocations: 9.078 kB / 0.8956 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.256, allocations: 0 / 0.8956 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006726/1.256, allocations: 0.523 MB / 0.8961 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/1.259, allocations: 1.661 MB / 0.8977 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.259, allocations: 2.594 kB / 0.8977 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/1.259, allocations: 115.4 kB / 0.8978 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/1.259, allocations: 4.156 kB / 0.8978 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/1.259, allocations: 13.06 kB / 0.8979 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/1.259, allocations: 4.688 kB / 0.8979 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.259, allocations: 2.375 kB / 0.8979 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/1.261, allocations: 1.061 MB / 0.8989 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/1.261, allocations: 234.6 kB / 0.8991 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/1.261, allocations: 16.61 kB / 0.8991 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/1.262, allocations: 17.17 kB / 0.8992 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/1.262, allocations: 35.12 kB / 0.8992 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/1.262, allocations: 17.69 kB / 0.8992 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006716/1.262, allocations: 0.5149 MB / 0.8997 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/1.262, allocations: 0 / 0.8997 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001062/1.263, allocations: 300.8 kB / 0.9 GB, free: 10.63 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004692/1.264, allocations: 211.5 kB / 0.9002 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008284/1.265, allocations: 0.6173 MB / 0.9008 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.265, allocations: 2.656 kB / 0.9008 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/1.265, allocations: 271.4 kB / 0.9011 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/1.267, allocations: 439.6 kB / 0.9015 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/1.27, allocations: 1.938 MB / 0.9034 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/1.27, allocations: 1.129 MB / 0.9045 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007884/1.271, allocations: 267.8 kB / 0.9047 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/1.271, allocations: 72.94 kB / 0.9048 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of SimCode: time 7.52e-07/1.271, allocations: 4 kB / 0.9048 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of Templates: time 0.02485/1.296, allocations: 15.61 MB / 0.9201 GB, free: 8.059 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)