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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.0009688/0.0009688, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.221/1.221, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6842/0.6842, allocations: 115.3 MB / 406.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.89 kB / 493.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2873, allocations: 76.17 MB / 0.556 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.1856/0.4729, allocations: 192.6 MB / 0.7441 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2799/0.7528, allocations: 14.2 MB / 0.7579 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.7538, allocations: 31.94 kB / 0.758 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.7552, allocations: 434.5 kB / 0.7584 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003987/0.7592, allocations: 1.782 MB / 0.7601 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.7613, allocations: 0.7801 MB / 0.7609 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003059/0.7644, allocations: 2.576 MB / 0.7634 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.7659, allocations: 1.075 MB / 0.7644 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004831/0.7707, allocations: 1.588 MB / 0.766 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.7724, allocations: 0.9801 MB / 0.767 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.7726, allocations: 110.6 kB / 0.7671 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.7748, allocations: 1.147 MB / 0.7682 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004607/0.7752, allocations: 0.5016 MB / 0.7687 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000675/0.7759, allocations: 0.6366 MB / 0.7693 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.778, allocations: 1.961 MB / 0.7712 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.778, allocations: 1.344 kB / 0.7712 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.778, allocations: 1.031 kB / 0.7712 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.778, allocations: 0 / 0.7712 GB, free: 1.539 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.002042/0.7801, allocations: 1.455 MB / 0.7726 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.7801, allocations: 10.19 kB / 0.7726 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.7803, allocations: 143.6 kB / 0.7728 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.7816, allocations: 253 kB / 0.773 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.7827, allocations: 0.754 MB / 0.7738 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.7828, allocations: 71.34 kB / 0.7738 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.7829, allocations: 90.72 kB / 0.7739 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.7846, allocations: 1.171 MB / 0.7751 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.7846, allocations: 3.281 kB / 0.7751 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/0.7847, allocations: 43.45 kB / 0.7751 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.315e-05/0.7847, allocations: 34.75 kB / 0.7751 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.7861, allocations: 0.9068 MB / 0.776 GB, free: 16.11 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.005054/0.7911, allocations: 5.736 MB / 0.7816 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007215/0.7919, allocations: 0.5333 MB / 0.7821 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.7922, allocations: 321.8 kB / 0.7824 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005624/0.7928, allocations: 318.1 kB / 0.7827 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.7928, allocations: 37.19 kB / 0.7828 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 1.854e-06/0.7929, allocations: 0 / 0.7828 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001283/0.7941, allocations: 0.7971 MB / 0.7836 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.7942, allocations: 59.56 kB / 0.7836 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/0.7949, allocations: 0.7538 MB / 0.7844 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.795, allocations: 39.2 kB / 0.7844 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.7953, allocations: 0.5033 MB / 0.7849 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.7954, allocations: 176.4 kB / 0.7851 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.7956, allocations: 144.5 kB / 0.7852 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7957, allocations: 335.6 kB / 0.7855 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.796, allocations: 251.4 kB / 0.7858 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.7966, allocations: 0.5547 MB / 0.7863 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/0.7974, allocations: 0.8075 MB / 0.7871 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7974, allocations: 2.75 kB / 0.7871 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00104/0.7985, allocations: 0.8461 MB / 0.7879 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7985, allocations: 10.53 kB / 0.7879 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7985, allocations: 7.062 kB / 0.7879 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.7985, allocations: 14.5 kB / 0.7879 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.799, allocations: 152.4 kB / 0.7881 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.7991, allocations: 24.16 kB / 0.7881 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.8, allocations: 152.6 kB / 0.7883 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.8, allocations: 33.5 kB / 0.7883 GB, free: 10.18 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.0003468/0.8004, allocations: 335 kB / 0.7886 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.8005, allocations: 86.12 kB / 0.7887 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008388/0.8014, allocations: 0.6177 MB / 0.7893 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.8014, allocations: 7.578 kB / 0.7893 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.8014, allocations: 0 / 0.7893 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005969/0.802, allocations: 0.5135 MB / 0.7898 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.804, allocations: 1.678 MB / 0.7914 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.804, allocations: 1.422 kB / 0.7914 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.8045, allocations: 108.6 kB / 0.7915 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.8045, allocations: 5.562 kB / 0.7916 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.8046, allocations: 21.23 kB / 0.7916 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.8046, allocations: 2.781 kB / 0.7916 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8046, allocations: 1.594 kB / 0.7916 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.8057, allocations: 1.015 MB / 0.7926 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.806, allocations: 222 kB / 0.7928 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.8061, allocations: 23.53 kB / 0.7928 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/0.8067, allocations: 69.33 kB / 0.7929 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.8067, allocations: 31.38 kB / 0.7929 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.8068, allocations: 20.23 kB / 0.7929 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004861/0.8073, allocations: 0.5111 MB / 0.7934 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8073, allocations: 1.531 kB / 0.7934 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007606/0.8081, allocations: 296.3 kB / 0.7937 GB, free: 8.98 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.001625/0.8097, allocations: 1.664 MB / 0.7953 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009099/0.8106, allocations: 0.7109 MB / 0.796 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8106, allocations: 0 / 0.796 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.8109, allocations: 276 kB / 0.7963 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.8127, allocations: 441.9 kB / 0.7967 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008782/0.8215, allocations: 7.853 MB / 0.8044 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.8221, allocations: 1.122 MB / 0.8055 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000798/0.8229, allocations: 269.4 kB / 0.8057 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/0.8233, allocations: 360.7 kB / 0.8061 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.8233, allocations: 0 / 0.8061 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04983/0.8732, allocations: 22.72 MB / 0.8283 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/0.8734, allocations: 241.5 kB / 0.8285 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.33, allocations: 0 / 0.8285 GB, free: 5.977 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)