Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_Buildings_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.001051/0.001051, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001113/0.001113, allocations: 192 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.3 MB / 0.5485 GB, free: 13.64 MB / 462.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: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 71.03 kB / 0.6711 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2056, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.5825/0.7881, allocations: 192.6 MB / 0.971 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.8025, allocations: 14.18 MB / 0.9849 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.8044, allocations: 31.47 kB / 0.9849 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.806, allocations: 438.2 kB / 0.9853 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00462/0.8107, allocations: 1.773 MB / 0.9871 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.8129, allocations: 0.7811 MB / 0.9878 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002922/0.8158, allocations: 2.565 MB / 0.9903 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.8171, allocations: 1.061 MB / 0.9914 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004629/0.8218, allocations: 1.597 MB / 0.9929 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.8233, allocations: 0.9838 MB / 0.9939 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.8234, allocations: 105.1 kB / 0.994 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.8255, allocations: 1.154 MB / 0.9951 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003804/0.8259, allocations: 0.4919 MB / 0.9956 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005651/0.8265, allocations: 0.6313 MB / 0.9962 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.8286, allocations: 1.972 MB / 0.9981 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8286, allocations: 0 / 0.9981 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8286, allocations: 0 / 0.9981 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.8286, allocations: 0 / 0.9981 GB, free: 3.191 MB / 0.7325 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.001987/0.8306, allocations: 1.444 MB / 0.9996 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.8307, allocations: 10.69 kB / 0.9996 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.8308, allocations: 144.3 kB / 0.9997 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.8321, allocations: 253.9 kB / 0.9999 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.8331, allocations: 0.7501 MB / 1.001 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.8331, allocations: 67.28 kB / 1.001 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.8333, allocations: 99.12 kB / 1.001 GB, free: 17.56 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.8347, allocations: 1.173 MB / 1.002 GB, free: 17 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.8347, allocations: 2.625 kB / 1.002 GB, free: 17 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.617e-05/0.8348, allocations: 43.28 kB / 1.002 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/0.8349, allocations: 32.94 kB / 1.002 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.836, allocations: 0.9026 MB / 1.003 GB, free: 16.69 MB / 0.7481 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.004738/0.8407, allocations: 5.721 MB / 1.009 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/0.8415, allocations: 0.5253 MB / 1.009 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.8419, allocations: 320 kB / 1.009 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005865/0.8425, allocations: 311.4 kB / 1.01 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.8425, allocations: 39.78 kB / 1.01 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=49): time 1.693e-06/0.8425, allocations: 0 / 1.01 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.001345/0.8439, allocations: 0.7997 MB / 1.01 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.8439, allocations: 56.72 kB / 1.011 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007906/0.8447, allocations: 0.745 MB / 1.011 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.8448, allocations: 37.14 kB / 1.011 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.8451, allocations: 0.5153 MB / 1.012 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.8453, allocations: 171.3 kB / 1.012 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.8455, allocations: 146.7 kB / 1.012 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.8456, allocations: 341.4 kB / 1.012 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.846, allocations: 249.2 kB / 1.013 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.8466, allocations: 0.5543 MB / 1.013 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008956/0.8475, allocations: 0.8024 MB / 1.014 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8475, allocations: 4 kB / 1.014 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00113/0.8486, allocations: 0.8445 MB / 1.015 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.8486, allocations: 10.5 kB / 1.015 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.8487, allocations: 8.125 kB / 1.015 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.8487, allocations: 10.56 kB / 1.015 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/0.8492, allocations: 152.2 kB / 1.015 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.8492, allocations: 19.98 kB / 1.015 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008486/0.8501, allocations: 147.1 kB / 1.015 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/0.8502, allocations: 36.27 kB / 1.015 GB, free: 8.387 MB / 0.7481 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.0003696/0.8505, allocations: 329.5 kB / 1.015 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.8507, allocations: 84.72 kB / 1.016 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009077/0.8516, allocations: 0.6184 MB / 1.016 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.8516, allocations: 5.031 kB / 1.016 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8516, allocations: 1.812 kB / 1.016 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006741/0.8523, allocations: 0.5194 MB / 1.017 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.8545, allocations: 1.665 MB / 1.018 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.8545, allocations: 2.438 kB / 1.018 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/0.8551, allocations: 112.6 kB / 1.018 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.8551, allocations: 3.281 kB / 1.018 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.8551, allocations: 9.531 kB / 1.018 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.8551, allocations: 11.17 kB / 1.018 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8551, allocations: 8.453 kB / 1.018 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.8564, allocations: 1.053 MB / 1.019 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.8567, allocations: 226.2 kB / 1.02 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8568, allocations: 8.906 kB / 1.02 GB, free: 5.945 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000554/0.8573, allocations: 64.17 kB / 1.02 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.8574, allocations: 34.3 kB / 1.02 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.8575, allocations: 25.3 kB / 1.02 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005858/0.858, allocations: 0.5075 MB / 1.02 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.8e-07/0.858, allocations: 0 / 1.02 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000811/0.8589, allocations: 299.2 kB / 1.021 GB, free: 5.539 MB / 0.7481 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.001929/0.8608, allocations: 1.703 MB / 1.022 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.8618, allocations: 0.7079 MB / 1.023 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8618, allocations: 0 / 1.023 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.8622, allocations: 276.7 kB / 1.023 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.864, allocations: 441.1 kB / 1.024 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009262/0.8733, allocations: 7.8 MB / 1.031 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/0.874, allocations: 1.127 MB / 1.032 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007974/0.8748, allocations: 277.2 kB / 1.033 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.8752, allocations: 358.2 kB / 1.033 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of SimCode: time 6.21e-07/0.8752, allocations: 0 / 1.033 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/0.9147, allocations: 22.71 MB / 1.055 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.9149, allocations: 237.1 kB / 1.055 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.237, allocations: 3.938 kB / 1.055 GB, free: 9.613 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)