Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.492/2.492, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 184.9 kB / 360.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 88.83 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.138e-05, allocations: 8 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.7992, allocations: 115.3 MB / 0.9634 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.749/7.548, allocations: 2.127 GB / 3.09 GB, free: 287.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/7.548, allocations: 92.22 kB / 3.09 GB, free: 287.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.901/10.45, allocations: 0.6484 GB / 3.739 GB, free: 72.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.703e-06/10.45, allocations: 0 / 3.739 GB, free: 72.36 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001021/10.45, allocations: 31.98 kB / 3.739 GB, free: 72.33 MB / 0.948 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.003933/10.45, allocations: 1.321 MB / 3.74 GB, free: 70.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/10.45, allocations: 8.031 kB / 3.74 GB, free: 70.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/10.46, allocations: 254.3 kB / 3.74 GB, free: 70.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/10.46, allocations: 1.093 MB / 3.742 GB, free: 69.56 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/10.46, allocations: 28 kB / 3.742 GB, free: 69.53 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/10.46, allocations: 60 kB / 3.742 GB, free: 69.47 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001997/10.46, allocations: 0.7536 MB / 3.742 GB, free: 68.72 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/10.46, allocations: 0.9744 MB / 3.743 GB, free: 67.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/10.46, allocations: 7.938 kB / 3.743 GB, free: 67.67 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/10.46, allocations: 7.938 kB / 3.743 GB, free: 67.66 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.368e-05/10.46, allocations: 34 kB / 3.743 GB, free: 67.63 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.007411/10.47, allocations: 5.506 MB / 3.749 GB, free: 61.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/10.47, allocations: 0.5021 MB / 3.749 GB, free: 61.17 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/10.47, allocations: 291.7 kB / 3.75 GB, free: 60.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007043/10.47, allocations: 311.7 kB / 3.75 GB, free: 60.53 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/10.47, allocations: 42.98 kB / 3.75 GB, free: 60.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 3.637e-06/10.47, allocations: 0 / 3.75 GB, free: 60.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.00187/10.48, allocations: 0.5732 MB / 3.75 GB, free: 59.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/10.48, allocations: 59.84 kB / 3.75 GB, free: 59.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00089/10.48, allocations: 0.5037 MB / 3.751 GB, free: 59.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.845e-05/10.48, allocations: 33.7 kB / 3.751 GB, free: 59.28 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/10.48, allocations: 0.5063 MB / 3.751 GB, free: 58.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/10.48, allocations: 169.6 kB / 3.752 GB, free: 58.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/10.48, allocations: 0 / 3.752 GB, free: 58.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001312/10.48, allocations: 386.7 kB / 3.752 GB, free: 58.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/10.48, allocations: 229.4 kB / 3.752 GB, free: 57.98 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006464/10.48, allocations: 0.5422 MB / 3.753 GB, free: 57.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008307/10.48, allocations: 356.5 kB / 3.753 GB, free: 56.94 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/10.48, allocations: 4 kB / 3.753 GB, free: 56.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00179/10.48, allocations: 0.7763 MB / 3.754 GB, free: 56.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/10.48, allocations: 8 kB / 3.754 GB, free: 56.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/10.48, allocations: 8 kB / 3.754 GB, free: 56.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.631e-05/10.48, allocations: 16 kB / 3.754 GB, free: 56.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/10.48, allocations: 155.8 kB / 3.754 GB, free: 55.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/10.48, allocations: 15.94 kB / 3.754 GB, free: 55.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/10.49, allocations: 115.5 kB / 3.754 GB, free: 55.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/10.49, allocations: 36 kB / 3.754 GB, free: 55.8 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001906/10.49, allocations: 132.5 kB / 3.754 GB, free: 55.67 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001303/10.49, allocations: 0.542 MB / 3.755 GB, free: 55.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/10.49, allocations: 83 kB / 3.755 GB, free: 55.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/10.49, allocations: 0.5778 MB / 3.755 GB, free: 54.45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/10.49, allocations: 4 kB / 3.756 GB, free: 54.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/10.49, allocations: 0 / 3.756 GB, free: 54.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001042/10.49, allocations: 0.5055 MB / 3.756 GB, free: 53.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/10.49, allocations: 1.528 MB / 3.757 GB, free: 52.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.886e-05/10.49, allocations: 0 / 3.757 GB, free: 52.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009879/10.49, allocations: 112.1 kB / 3.758 GB, free: 52.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/10.49, allocations: 4 kB / 3.758 GB, free: 52.22 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/10.49, allocations: 15.94 kB / 3.758 GB, free: 52.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/10.49, allocations: 4 kB / 3.758 GB, free: 52.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/10.49, allocations: 7.938 kB / 3.758 GB, free: 52.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/10.5, allocations: 1.087 MB / 3.759 GB, free: 51.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005889/10.5, allocations: 216.1 kB / 3.759 GB, free: 50.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/10.5, allocations: 4 kB / 3.759 GB, free: 50.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/10.5, allocations: 59.78 kB / 3.759 GB, free: 50.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/10.5, allocations: 39.89 kB / 3.759 GB, free: 50.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/10.5, allocations: 16 kB / 3.759 GB, free: 50.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006634/10.5, allocations: 395.1 kB / 3.759 GB, free: 50.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.01e-07/10.5, allocations: 0 / 3.759 GB, free: 50.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001814/10.5, allocations: 423 kB / 3.76 GB, free: 49.88 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005517/10.51, allocations: 4.143 MB / 3.764 GB, free: 45.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001354/10.51, allocations: 0.5445 MB / 3.764 GB, free: 45.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/10.51, allocations: 0.8125 kB / 3.764 GB, free: 45.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000462/10.51, allocations: 263.5 kB / 3.765 GB, free: 44.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/10.51, allocations: 358.9 kB / 3.765 GB, free: 44.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/10.52, allocations: 1.73 MB / 3.767 GB, free: 42.65 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/10.52, allocations: 1.137 MB / 3.768 GB, free: 41.49 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001417/10.52, allocations: 258.5 kB / 3.768 GB, free: 41.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006507/10.52, allocations: 359.3 kB / 3.768 GB, free: 40.88 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/10.52, allocations: 0 / 3.768 GB, free: 40.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/10.63, allocations: 34.39 MB / 3.802 GB, free: 6.66 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/10.63, allocations: 167.8 kB / 3.802 GB, free: 6.469 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.938/14.56, allocations: 7.969 kB / 3.802 GB, free: 6.461 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)