Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001192/0.001192, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002145/0.002144, allocations: 196.2 kB / 16.14 MB, free: 6.703 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.23 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.364, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9792/1.343, allocations: 192.9 MB / 1.256 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02326/1.367, allocations: 14.4 MB / 1.27 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/1.369, allocations: 33.31 kB / 1.27 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/1.371, allocations: 424.9 kB / 1.27 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006632/1.378, allocations: 1.777 MB / 1.272 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/1.381, allocations: 0.7635 MB / 1.273 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005973/1.387, allocations: 3.623 MB / 1.276 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/1.389, allocations: 0.9441 MB / 1.277 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006801/1.396, allocations: 1.448 MB / 1.279 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/1.399, allocations: 0.9662 MB / 1.28 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005489/1.4, allocations: 60.81 kB / 1.28 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00432/1.404, allocations: 1.253 MB / 1.281 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001425/1.406, allocations: 472.1 kB / 1.281 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002537/1.408, allocations: 0.582 MB / 1.282 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005221/1.413, allocations: 1.925 MB / 1.284 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.413, allocations: 2.047 kB / 1.284 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.413, allocations: 0 / 1.284 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.633e-05/1.414, allocations: 0 / 1.284 GB, free: 5.02 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.004794/1.418, allocations: 1.453 MB / 1.285 GB, free: 20.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.418, allocations: 10 kB / 1.285 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/1.42, allocations: 248.6 kB / 1.286 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/1.422, allocations: 0.7543 MB / 1.286 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.808e-05/1.422, allocations: 72.38 kB / 1.286 GB, free: 19.85 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/1.423, allocations: 98.17 kB / 1.286 GB, free: 19.85 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/1.425, allocations: 1.169 MB / 1.288 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/1.425, allocations: 4.312 kB / 1.288 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/1.425, allocations: 39.72 kB / 1.288 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.098e-05/1.425, allocations: 37.19 kB / 1.288 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/1.427, allocations: 0.9039 MB / 1.289 GB, free: 19.61 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.007196/1.434, allocations: 5.725 MB / 1.294 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009589/1.435, allocations: 0.5423 MB / 1.295 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004694/1.436, allocations: 316.5 kB / 1.295 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007153/1.437, allocations: 313.6 kB / 1.295 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.953e-05/1.437, allocations: 45.34 kB / 1.295 GB, free: 15.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 6.392e-06/1.437, allocations: 0 / 1.295 GB, free: 15.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001857/1.439, allocations: 0.7996 MB / 1.296 GB, free: 15.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.439, allocations: 56.75 kB / 1.296 GB, free: 15.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/1.44, allocations: 0.757 MB / 1.297 GB, free: 15.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/1.44, allocations: 36.8 kB / 1.297 GB, free: 15.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/1.441, allocations: 0.5035 MB / 1.297 GB, free: 14.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/1.441, allocations: 181.5 kB / 1.298 GB, free: 14.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/1.441, allocations: 140.1 kB / 1.298 GB, free: 14.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.441, allocations: 333.2 kB / 1.298 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/1.442, allocations: 252.8 kB / 1.298 GB, free: 14.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006219/1.443, allocations: 0.5537 MB / 1.299 GB, free: 14.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/1.444, allocations: 0.7978 MB / 1.3 GB, free: 13.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.444, allocations: 2.344 kB / 1.3 GB, free: 13.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001651/1.445, allocations: 0.845 MB / 1.3 GB, free: 13.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.445, allocations: 8.094 kB / 1.3 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/1.445, allocations: 8.844 kB / 1.3 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.521e-05/1.445, allocations: 12.19 kB / 1.3 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/1.446, allocations: 161.3 kB / 1.301 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-05/1.446, allocations: 19.78 kB / 1.301 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.447, allocations: 151.5 kB / 1.301 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.447, allocations: 38.84 kB / 1.301 GB, free: 13.61 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.0006467/1.448, allocations: 329.9 kB / 1.301 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/1.448, allocations: 85.28 kB / 1.301 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/1.449, allocations: 0.6191 MB / 1.302 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/1.449, allocations: 4.344 kB / 1.302 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.449, allocations: 5.062 kB / 1.302 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008668/1.45, allocations: 0.5156 MB / 1.302 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/1.454, allocations: 1.668 MB / 1.304 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.454, allocations: 3.469 kB / 1.304 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/1.454, allocations: 114.6 kB / 1.304 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/1.454, allocations: 3.875 kB / 1.304 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.598e-05/1.454, allocations: 16.7 kB / 1.304 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/1.454, allocations: 7 kB / 1.304 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.454, allocations: 3.094 kB / 1.304 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/1.456, allocations: 1.012 MB / 1.305 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006148/1.457, allocations: 223.1 kB / 1.305 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/1.457, allocations: 15.61 kB / 1.305 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008404/1.458, allocations: 67.92 kB / 1.305 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/1.458, allocations: 36.03 kB / 1.305 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/1.458, allocations: 20.84 kB / 1.305 GB, free: 12.53 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008784/1.459, allocations: 0.5133 MB / 1.306 GB, free: 12.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.459, allocations: 0 / 1.306 GB, free: 12.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001626/1.46, allocations: 296.4 kB / 1.306 GB, free: 12.4 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.0006298/1.461, allocations: 220.7 kB / 1.306 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00114/1.462, allocations: 0.6021 MB / 1.307 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.462, allocations: 1.25 kB / 1.307 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/1.463, allocations: 279.5 kB / 1.307 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/1.465, allocations: 431.3 kB / 1.308 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/1.468, allocations: 2.31 MB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009996/1.469, allocations: 1.121 MB / 1.311 GB, free: 10.28 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001026/1.471, allocations: 266.8 kB / 1.311 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/1.471, allocations: 69.17 kB / 1.311 GB, free: 10.23 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/1.471, allocations: 2.906 kB / 1.311 GB, free: 10.23 MB / 1.014 GB Notification: Performance of Templates: time 0.02866/1.499, allocations: 14.96 MB / 1.326 GB, free: 9.008 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)