Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001449/0.001449, allocations: 102.5 kB / 16.52 MB, free: 6.652 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.001353/0.001353, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.43/1.43, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7689/0.7689, allocations: 115.3 MB / 406.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 63.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4337, allocations: 76.17 MB / 0.5564 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.2074/0.6412, allocations: 192.8 MB / 0.7447 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4215/1.063, allocations: 14.39 MB / 0.7587 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/1.065, allocations: 35.31 kB / 0.7588 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/1.067, allocations: 420 kB / 0.7592 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005516/1.072, allocations: 1.776 MB / 0.7609 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/1.075, allocations: 0.7714 MB / 0.7617 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005728/1.081, allocations: 3.617 MB / 0.7652 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/1.083, allocations: 0.953 MB / 0.7661 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005709/1.088, allocations: 1.444 MB / 0.7675 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/1.091, allocations: 0.9654 MB / 0.7685 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002072/1.091, allocations: 60.5 kB / 0.7685 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00312/1.094, allocations: 1.253 MB / 0.7698 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006087/1.095, allocations: 471 kB / 0.7702 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001051/1.096, allocations: 0.5842 MB / 0.7708 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/1.098, allocations: 1.427 MB / 0.7722 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.098, allocations: 4.281 kB / 0.7722 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.52e-07/1.098, allocations: 0 / 0.7722 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.767e-05/1.098, allocations: 1.156 kB / 0.7722 GB, free: 1.445 MB / 0.5762 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.002577/1.101, allocations: 1.447 MB / 0.7736 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.101, allocations: 12.69 kB / 0.7736 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/1.102, allocations: 260.8 kB / 0.7739 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/1.103, allocations: 0.7464 MB / 0.7746 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/1.104, allocations: 72.25 kB / 0.7747 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/1.104, allocations: 91.88 kB / 0.7747 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/1.106, allocations: 1.178 MB / 0.7759 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/1.106, allocations: 4.375 kB / 0.7759 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.605e-05/1.106, allocations: 39.8 kB / 0.7759 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/1.106, allocations: 35.92 kB / 0.776 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/1.107, allocations: 0.8995 MB / 0.7769 GB, free: 16.04 MB / 0.5919 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.006004/1.113, allocations: 5.736 MB / 0.7825 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007794/1.114, allocations: 0.5403 MB / 0.783 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/1.114, allocations: 315.1 kB / 0.7833 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000603/1.115, allocations: 314.1 kB / 0.7836 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/1.115, allocations: 42.25 kB / 0.7836 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.655e-06/1.115, allocations: 1.203 kB / 0.7836 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001455/1.117, allocations: 0.8016 MB / 0.7844 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/1.117, allocations: 58.5 kB / 0.7845 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008447/1.118, allocations: 0.7534 MB / 0.7852 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/1.118, allocations: 41.7 kB / 0.7852 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/1.118, allocations: 0.5008 MB / 0.7857 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/1.118, allocations: 176.6 kB / 0.7859 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/1.118, allocations: 142.1 kB / 0.786 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.118, allocations: 337.3 kB / 0.7864 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/1.119, allocations: 250 kB / 0.7866 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/1.119, allocations: 0.5609 MB / 0.7871 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008395/1.12, allocations: 0.7912 MB / 0.7879 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/1.12, allocations: 7.125 kB / 0.7879 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001123/1.121, allocations: 0.8492 MB / 0.7887 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.121, allocations: 10.78 kB / 0.7888 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.121, allocations: 6.875 kB / 0.7888 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.121, allocations: 11.5 kB / 0.7888 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/1.122, allocations: 150.4 kB / 0.7889 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/1.122, allocations: 20.98 kB / 0.7889 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000987/1.123, allocations: 152.4 kB / 0.7891 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/1.123, allocations: 33.98 kB / 0.7891 GB, free: 10.04 MB / 0.5919 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.0004433/1.123, allocations: 333.9 kB / 0.7894 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/1.124, allocations: 89.81 kB / 0.7895 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000875/1.124, allocations: 0.6136 MB / 0.7901 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/1.125, allocations: 5.031 kB / 0.7901 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.125, allocations: 0 / 0.7901 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006137/1.125, allocations: 0.5187 MB / 0.7906 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/1.128, allocations: 1.676 MB / 0.7923 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/1.128, allocations: 2.094 kB / 0.7923 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/1.128, allocations: 106.9 kB / 0.7924 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/1.128, allocations: 5.453 kB / 0.7924 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/1.128, allocations: 14.39 kB / 0.7924 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/1.128, allocations: 16.48 kB / 0.7924 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.128, allocations: 1.203 kB / 0.7924 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/1.129, allocations: 1.014 MB / 0.7934 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/1.13, allocations: 222 kB / 0.7936 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/1.13, allocations: 18.64 kB / 0.7936 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/1.13, allocations: 68.38 kB / 0.7937 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/1.131, allocations: 37.81 kB / 0.7937 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/1.131, allocations: 18.94 kB / 0.7937 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006561/1.131, allocations: 0.5128 MB / 0.7942 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.131, allocations: 0 / 0.7942 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000967/1.132, allocations: 291.3 kB / 0.7945 GB, free: 8.816 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.0005245/1.133, allocations: 206 kB / 0.7947 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009193/1.134, allocations: 0.6085 MB / 0.7953 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.134, allocations: 0 / 0.7953 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003306/1.134, allocations: 274 kB / 0.7956 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/1.136, allocations: 445.4 kB / 0.796 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/1.139, allocations: 2.394 MB / 0.7983 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/1.14, allocations: 1.126 MB / 0.7994 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/1.14, allocations: 78.06 kB / 0.7995 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of SimCode: time 1.212e-06/1.14, allocations: 0 / 0.7995 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of Templates: time 0.02533/1.165, allocations: 14.64 MB / 0.8138 GB, free: 1.117 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)