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.001111/0.001111, allocations: 104 kB / 15.98 MB, free: 6.328 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.001234/0.001234, allocations: 190.6 kB / 16.9 MB, free: 6.172 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.45/1.45, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8193/0.8193, allocations: 122.9 MB / 413.6 MB, free: 24 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 71.88 kB / 0.4906 GB, free: 7.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4484, allocations: 77.92 MB / 0.5667 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.7216/1.17, allocations: 192.6 MB / 0.7548 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01985/1.19, allocations: 14.21 MB / 0.7686 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/1.192, allocations: 36.38 kB / 0.7687 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/1.194, allocations: 437.2 kB / 0.7691 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006698/1.201, allocations: 1.77 MB / 0.7708 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002912/1.204, allocations: 0.7904 MB / 0.7716 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004434/1.208, allocations: 2.565 MB / 0.7741 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/1.21, allocations: 1.077 MB / 0.7751 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005498/1.215, allocations: 1.593 MB / 0.7767 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/1.218, allocations: 0.9816 MB / 0.7777 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002385/1.218, allocations: 106.4 kB / 0.7778 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/1.221, allocations: 1.15 MB / 0.7789 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004936/1.221, allocations: 0.5062 MB / 0.7794 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007924/1.222, allocations: 0.6311 MB / 0.78 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00263/1.224, allocations: 1.968 MB / 0.7819 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.224, allocations: 0.75 kB / 0.7819 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/1.225, allocations: 0 / 0.7819 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.833e-05/1.225, allocations: 3.344 kB / 0.7819 GB, free: 1.348 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.002326/1.227, allocations: 1.446 MB / 0.7833 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.227, allocations: 9.75 kB / 0.7833 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/1.228, allocations: 253.8 kB / 0.7836 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/1.229, allocations: 0.7569 MB / 0.7843 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/1.229, allocations: 68.09 kB / 0.7844 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/1.23, allocations: 93.75 kB / 0.7845 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/1.231, allocations: 1.173 MB / 0.7856 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/1.231, allocations: 5.469 kB / 0.7856 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.564e-05/1.231, allocations: 46.09 kB / 0.7857 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/1.231, allocations: 38.44 kB / 0.7857 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/1.233, allocations: 0.9041 MB / 0.7866 GB, free: 15.95 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.005404/1.238, allocations: 5.721 MB / 0.7922 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/1.239, allocations: 0.5336 MB / 0.7927 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/1.239, allocations: 320.7 kB / 0.793 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005489/1.24, allocations: 316.5 kB / 0.7933 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.765e-05/1.24, allocations: 37.97 kB / 0.7933 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/1.24, allocations: 0.875 kB / 0.7933 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001363/1.241, allocations: 0.7961 MB / 0.7941 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/1.241, allocations: 60.09 kB / 0.7942 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008546/1.242, allocations: 0.7501 MB / 0.7949 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/1.242, allocations: 39.08 kB / 0.795 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/1.242, allocations: 0.5075 MB / 0.7954 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/1.243, allocations: 175.5 kB / 0.7956 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/1.243, allocations: 140.9 kB / 0.7957 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.243, allocations: 338.2 kB / 0.7961 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/1.243, allocations: 248.2 kB / 0.7963 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/1.244, allocations: 0.5591 MB / 0.7969 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/1.245, allocations: 0.7993 MB / 0.7976 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.245, allocations: 2.906 kB / 0.7976 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001156/1.246, allocations: 0.847 MB / 0.7985 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/1.246, allocations: 16.84 kB / 0.7985 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.246, allocations: 8.094 kB / 0.7985 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/1.246, allocations: 10.47 kB / 0.7985 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/1.247, allocations: 154.2 kB / 0.7986 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/1.247, allocations: 19.5 kB / 0.7987 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.248, allocations: 155.2 kB / 0.7988 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/1.248, allocations: 32.34 kB / 0.7988 GB, free: 10.05 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.0005041/1.248, allocations: 327.3 kB / 0.7992 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/1.248, allocations: 88.36 kB / 0.7992 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00091/1.249, allocations: 0.6252 MB / 0.7999 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.249, allocations: 3.719 kB / 0.7999 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/1.249, allocations: 0 / 0.7999 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006242/1.25, allocations: 0.5221 MB / 0.8004 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/1.252, allocations: 1.668 MB / 0.802 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.252, allocations: 3.438 kB / 0.802 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/1.253, allocations: 111 kB / 0.8021 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/1.253, allocations: 4.188 kB / 0.8021 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/1.253, allocations: 14 kB / 0.8021 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.253, allocations: 8.922 kB / 0.8021 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.253, allocations: 5.641 kB / 0.8021 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/1.254, allocations: 1.015 MB / 0.8031 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/1.255, allocations: 221.3 kB / 0.8033 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/1.255, allocations: 12.72 kB / 0.8033 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/1.255, allocations: 68.75 kB / 0.8034 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/1.255, allocations: 34.2 kB / 0.8034 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/1.255, allocations: 16.88 kB / 0.8035 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005883/1.256, allocations: 0.5139 MB / 0.804 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/1.256, allocations: 0 / 0.804 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008533/1.257, allocations: 300.9 kB / 0.8043 GB, free: 8.852 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.0005671/1.257, allocations: 210.5 kB / 0.8045 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001036/1.258, allocations: 0.7079 MB / 0.8051 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.258, allocations: 0 / 0.8051 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/1.259, allocations: 278.6 kB / 0.8054 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/1.261, allocations: 439.6 kB / 0.8058 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/1.264, allocations: 2.329 MB / 0.8081 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/1.264, allocations: 1.116 MB / 0.8092 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008554/1.265, allocations: 273.9 kB / 0.8095 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/1.266, allocations: 71.52 kB / 0.8095 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/1.266, allocations: 0 / 0.8095 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.02888/1.294, allocations: 15.36 MB / 0.8245 GB, free: 15.93 MB / 0.6075 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)