Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_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.001911/0.001911, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.003728/0.003728, allocations: 192.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.036/2.036, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.227/5.227, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 64.5 kB / 0.8987 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.6697, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.3978/1.068, allocations: 192.6 MB / 1.24 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 1.376/2.443, allocations: 14.2 MB / 1.254 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002651/2.446, allocations: 37.06 kB / 1.254 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002831/2.449, allocations: 443 kB / 1.255 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01018/2.459, allocations: 1.766 MB / 1.257 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005738/2.465, allocations: 0.7874 MB / 1.257 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007675/2.473, allocations: 2.569 MB / 1.26 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003213/2.476, allocations: 1.067 MB / 1.261 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/2.486, allocations: 1.592 MB / 1.262 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004943/2.491, allocations: 0.9832 MB / 1.263 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006825/2.492, allocations: 106.3 kB / 1.263 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007014/2.499, allocations: 1.145 MB / 1.265 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002685/2.502, allocations: 0.5008 MB / 1.265 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005416/2.507, allocations: 0.6351 MB / 1.266 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00964/2.517, allocations: 1.961 MB / 1.268 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/2.517, allocations: 1.531 kB / 1.268 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.924e-06/2.517, allocations: 0 / 1.268 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000118/2.517, allocations: 0.6562 kB / 1.268 GB, free: 2.207 MB / 0.9981 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.009413/2.527, allocations: 1.45 MB / 1.269 GB, free: 17.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001137/2.527, allocations: 10.44 kB / 1.269 GB, free: 17.44 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001058/2.528, allocations: 143.7 kB / 1.269 GB, free: 17.4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003731/2.532, allocations: 262 kB / 1.269 GB, free: 17.33 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003784/2.536, allocations: 0.7524 MB / 1.27 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/2.536, allocations: 73.03 kB / 1.27 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006943/2.537, allocations: 93.16 kB / 1.27 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0057/2.542, allocations: 1.168 MB / 1.271 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/2.542, allocations: 5.938 kB / 1.271 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000325/2.543, allocations: 40.22 kB / 1.272 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/2.543, allocations: 36.66 kB / 1.272 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004173/2.547, allocations: 0.9039 MB / 1.272 GB, free: 16.79 MB / 1.014 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.01563/2.563, allocations: 5.725 MB / 1.278 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/2.565, allocations: 0.5376 MB / 1.279 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009969/2.566, allocations: 325.5 kB / 1.279 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/2.567, allocations: 312.7 kB / 1.279 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.839e-05/2.567, allocations: 38.81 kB / 1.279 GB, free: 12.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 4.839e-06/2.567, allocations: 0.7812 kB / 1.279 GB, free: 12.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.003239/2.57, allocations: 0.8037 MB / 1.28 GB, free: 12.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/2.57, allocations: 59.41 kB / 1.28 GB, free: 12.51 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/2.573, allocations: 0.748 MB / 1.281 GB, free: 12.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002382/2.573, allocations: 38.23 kB / 1.281 GB, free: 12.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/2.574, allocations: 0.5072 MB / 1.281 GB, free: 12.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/2.575, allocations: 184.2 kB / 1.281 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005788/2.576, allocations: 134.8 kB / 1.282 GB, free: 11.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002507/2.576, allocations: 338.9 kB / 1.282 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008586/2.577, allocations: 248.6 kB / 1.282 GB, free: 11.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/2.578, allocations: 0.5524 MB / 1.283 GB, free: 11.31 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/2.58, allocations: 0.7984 MB / 1.283 GB, free: 11.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.83e-05/2.58, allocations: 5.422 kB / 1.283 GB, free: 11.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003455/2.584, allocations: 0.85 MB / 1.284 GB, free: 10.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/2.584, allocations: 9.438 kB / 1.284 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.019e-05/2.584, allocations: 8.969 kB / 1.284 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.107e-05/2.584, allocations: 11.94 kB / 1.284 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/2.585, allocations: 153.5 kB / 1.284 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.046e-05/2.585, allocations: 19 kB / 1.285 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/2.587, allocations: 141.9 kB / 1.285 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/2.588, allocations: 38.33 kB / 1.285 GB, free: 10.89 MB / 1.014 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.001147/2.589, allocations: 331.5 kB / 1.285 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005066/2.589, allocations: 90.05 kB / 1.285 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/2.591, allocations: 0.6202 MB / 1.286 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/2.591, allocations: 5.312 kB / 1.286 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/2.591, allocations: 0.7188 kB / 1.286 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001307/2.593, allocations: 0.5184 MB / 1.286 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006806/2.6, allocations: 1.67 MB / 1.288 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/2.6, allocations: 2.547 kB / 1.288 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/2.601, allocations: 117.4 kB / 1.288 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.861e-05/2.601, allocations: 4.719 kB / 1.288 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.429e-05/2.601, allocations: 17.27 kB / 1.288 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/2.601, allocations: 3.812 kB / 1.288 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/2.601, allocations: 6.719 kB / 1.288 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/2.603, allocations: 1.017 MB / 1.289 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009765/2.604, allocations: 226.8 kB / 1.289 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004108/2.605, allocations: 17.05 kB / 1.289 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/2.607, allocations: 64.48 kB / 1.289 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/2.607, allocations: 36.47 kB / 1.289 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/2.607, allocations: 17.72 kB / 1.289 GB, free: 9.805 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002239/2.609, allocations: 0.5162 MB / 1.29 GB, free: 9.707 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.31e-07/2.609, allocations: 1.906 kB / 1.29 GB, free: 9.707 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00272/2.612, allocations: 297.1 kB / 1.29 GB, free: 9.668 MB / 1.014 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.004928/2.617, allocations: 1.662 MB / 1.292 GB, free: 8.891 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003569/2.621, allocations: 0.7193 MB / 1.292 GB, free: 8.871 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/2.621, allocations: 2.094 kB / 1.292 GB, free: 8.871 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/2.622, allocations: 274.7 kB / 1.293 GB, free: 8.867 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005406/2.627, allocations: 440.8 kB / 1.293 GB, free: 8.816 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02831/2.656, allocations: 7.855 MB / 1.301 GB, free: 5.387 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002042/2.658, allocations: 1.123 MB / 1.302 GB, free: 4.672 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002199/2.66, allocations: 275.1 kB / 1.302 GB, free: 4.621 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/2.661, allocations: 364.4 kB / 1.302 GB, free: 4.613 MB / 1.014 GB Notification: Performance of SimCode: time 2.074e-06/2.661, allocations: 0 / 1.302 GB, free: 4.613 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.92/13.58, allocations: 22.72 MB / 1.325 GB, free: 1.742 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004108/13.58, allocations: 243.7 kB / 1.325 GB, free: 1.492 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.132/19.71, allocations: 0 / 1.325 GB, free: 1.492 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)