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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(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.001291/0.001291, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001291/0.001291, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.309/1.309, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 65.33 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2957, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2/0.4958, allocations: 192.9 MB / 1.241 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5725/1.068, allocations: 14.4 MB / 1.255 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/1.07, allocations: 31.91 kB / 1.255 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/1.071, allocations: 420.1 kB / 1.255 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003565/1.074, allocations: 1.777 MB / 1.257 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/1.076, allocations: 0.7678 MB / 1.258 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003203/1.079, allocations: 3.617 MB / 1.261 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/1.081, allocations: 0.9405 MB / 1.262 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003832/1.084, allocations: 1.448 MB / 1.263 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/1.086, allocations: 0.9552 MB / 1.264 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/1.086, allocations: 64.69 kB / 1.264 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/1.088, allocations: 1.255 MB / 1.266 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000571/1.089, allocations: 465.8 kB / 1.266 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007834/1.09, allocations: 0.5861 MB / 1.267 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002599/1.092, allocations: 1.928 MB / 1.269 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.092, allocations: 0.75 kB / 1.269 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/1.092, allocations: 0 / 1.269 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.945e-05/1.092, allocations: 2.672 kB / 1.269 GB, free: 1.902 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.002318/1.095, allocations: 1.444 MB / 1.27 GB, free: 17.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.095, allocations: 13 kB / 1.27 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/1.095, allocations: 146.6 kB / 1.27 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/1.096, allocations: 256.6 kB / 1.27 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/1.098, allocations: 0.7527 MB / 1.271 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.833e-05/1.098, allocations: 70.89 kB / 1.271 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/1.098, allocations: 94.44 kB / 1.271 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/1.1, allocations: 1.168 MB / 1.272 GB, free: 16.47 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/1.1, allocations: 9.516 kB / 1.272 GB, free: 16.47 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.18e-05/1.1, allocations: 39.53 kB / 1.272 GB, free: 16.47 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.215e-05/1.1, allocations: 35 kB / 1.272 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/1.102, allocations: 0.9059 MB / 1.273 GB, free: 16.45 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.005188/1.107, allocations: 5.733 MB / 1.279 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/1.108, allocations: 0.5344 MB / 1.279 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/1.108, allocations: 318.4 kB / 1.28 GB, free: 12.63 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005834/1.109, allocations: 314.5 kB / 1.28 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/1.109, allocations: 41.19 kB / 1.28 GB, free: 12.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.685e-06/1.109, allocations: 3.75 kB / 1.28 GB, free: 12.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.00142/1.11, allocations: 0.7979 MB / 1.281 GB, free: 12.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/1.11, allocations: 60.59 kB / 1.281 GB, free: 12.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008331/1.111, allocations: 0.7449 MB / 1.282 GB, free: 12.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/1.111, allocations: 39.27 kB / 1.282 GB, free: 11.99 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/1.111, allocations: 0.5086 MB / 1.282 GB, free: 11.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/1.111, allocations: 176.4 kB / 1.282 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/1.112, allocations: 151.7 kB / 1.283 GB, free: 11.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.112, allocations: 333.9 kB / 1.283 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/1.112, allocations: 243.6 kB / 1.283 GB, free: 11.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/1.113, allocations: 0.5525 MB / 1.284 GB, free: 10.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009282/1.114, allocations: 0.8001 MB / 1.284 GB, free: 10.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/1.114, allocations: 2.125 kB / 1.284 GB, free: 10.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001188/1.115, allocations: 0.8465 MB / 1.285 GB, free: 10.55 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.115, allocations: 9.25 kB / 1.285 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.115, allocations: 8.938 kB / 1.285 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/1.115, allocations: 16.09 kB / 1.285 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/1.115, allocations: 151 kB / 1.285 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/1.115, allocations: 21.62 kB / 1.285 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009729/1.116, allocations: 153.9 kB / 1.286 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/1.116, allocations: 34.75 kB / 1.286 GB, free: 10.49 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.0004842/1.117, allocations: 337.9 kB / 1.286 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/1.117, allocations: 84.78 kB / 1.286 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009937/1.118, allocations: 0.6162 MB / 1.287 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.118, allocations: 4.531 kB / 1.287 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.118, allocations: 0 / 1.287 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006636/1.119, allocations: 0.5213 MB / 1.287 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/1.121, allocations: 1.676 MB / 1.289 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/1.121, allocations: 1.062 kB / 1.289 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/1.122, allocations: 108.9 kB / 1.289 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.122, allocations: 3.469 kB / 1.289 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/1.122, allocations: 17.59 kB / 1.289 GB, free: 9.801 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.122, allocations: 7.562 kB / 1.289 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.122, allocations: 2.25 kB / 1.289 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/1.123, allocations: 1.026 MB / 1.29 GB, free: 9.543 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/1.123, allocations: 220.2 kB / 1.29 GB, free: 9.402 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/1.124, allocations: 12.72 kB / 1.29 GB, free: 9.402 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/1.124, allocations: 65.98 kB / 1.29 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/1.124, allocations: 37.91 kB / 1.29 GB, free: 9.387 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/1.124, allocations: 19.34 kB / 1.29 GB, free: 9.387 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005866/1.125, allocations: 0.5138 MB / 1.291 GB, free: 9.293 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.125, allocations: 0 / 1.291 GB, free: 9.293 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009977/1.126, allocations: 297.1 kB / 1.291 GB, free: 9.254 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.001814/1.128, allocations: 1.669 MB / 1.293 GB, free: 8.461 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008604/1.129, allocations: 0.6068 MB / 1.293 GB, free: 8.453 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.129, allocations: 1.094 kB / 1.293 GB, free: 8.453 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003343/1.129, allocations: 275 kB / 1.293 GB, free: 8.453 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/1.131, allocations: 440 kB / 1.294 GB, free: 8.422 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009569/1.14, allocations: 7.842 MB / 1.302 GB, free: 4.898 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/1.141, allocations: 1.121 MB / 1.303 GB, free: 4.184 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009788/1.142, allocations: 269.6 kB / 1.303 GB, free: 4.137 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/1.143, allocations: 361.7 kB / 1.303 GB, free: 4.133 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/1.143, allocations: 4 kB / 1.303 GB, free: 4.129 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/1.177, allocations: 22.31 MB / 1.325 GB, free: 340 kB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/1.177, allocations: 243.1 kB / 1.325 GB, free: 80 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/3.449, allocations: 0 / 1.325 GB, free: 80 kB / 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)