Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 189.8 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.4 MB / 0.5777 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007582/0.0007581, allocations: 89.41 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 11.78 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2672, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8751/1.142, allocations: 177.8 MB / 1.074 GB, free: 4.156 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02146/1.164, allocations: 13.36 MB / 1.087 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/1.166, allocations: 27.28 kB / 1.087 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/1.168, allocations: 353.1 kB / 1.087 GB, free: 3.906 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006058/1.174, allocations: 1.374 MB / 1.089 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003248/1.177, allocations: 0.6777 MB / 1.089 GB, free: 3.824 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006062/1.184, allocations: 3.096 MB / 1.092 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/1.185, allocations: 0.8096 MB / 1.093 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003981/1.189, allocations: 1.212 MB / 1.094 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002625/1.192, allocations: 0.8916 MB / 1.095 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003262/1.192, allocations: 47.47 kB / 1.095 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003067/1.196, allocations: 0.5662 MB / 1.096 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00078/1.196, allocations: 450.1 kB / 1.096 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/1.197, allocations: 252.5 kB / 1.096 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002813/1.2, allocations: 1.363 MB / 1.098 GB, free: 19.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.2, allocations: 3.938 kB / 1.098 GB, free: 19.53 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.925e-06/1.2, allocations: 7.047 kB / 1.098 GB, free: 19.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.155e-05/1.2, allocations: 2.875 kB / 1.098 GB, free: 19.52 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003025/1.203, allocations: 1.241 MB / 1.099 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/1.203, allocations: 9.25 kB / 1.099 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002776/1.204, allocations: 144.1 kB / 1.099 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/1.205, allocations: 244.8 kB / 1.099 GB, free: 18.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/1.207, allocations: 0.8198 MB / 1.1 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/1.207, allocations: 69.53 kB / 1.1 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/1.207, allocations: 95.25 kB / 1.1 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/1.209, allocations: 1.175 MB / 1.101 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/1.209, allocations: 5.297 kB / 1.101 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/1.21, allocations: 42.5 kB / 1.102 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.194e-05/1.21, allocations: 35.55 kB / 1.102 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/1.211, allocations: 0.9017 MB / 1.102 GB, free: 18.13 MB / 0.7136 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.007101/1.218, allocations: 5.745 MB / 1.108 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/1.219, allocations: 0.5229 MB / 1.109 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005271/1.22, allocations: 326.1 kB / 1.109 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/1.221, allocations: 328.1 kB / 1.109 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.388e-05/1.221, allocations: 44.19 kB / 1.109 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 6.752e-06/1.221, allocations: 0 / 1.109 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.002051/1.223, allocations: 0.8137 MB / 1.11 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/1.223, allocations: 82.67 kB / 1.11 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/1.224, allocations: 0.7308 MB / 1.111 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-05/1.224, allocations: 40.14 kB / 1.111 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/1.225, allocations: 0.4965 MB / 1.111 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/1.225, allocations: 192.9 kB / 1.112 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/1.225, allocations: 9.75 kB / 1.112 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002227/1.225, allocations: 396.3 kB / 1.112 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/1.226, allocations: 248.8 kB / 1.112 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/1.226, allocations: 0.5564 MB / 1.113 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/1.227, allocations: 352.1 kB / 1.113 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/1.227, allocations: 2.844 kB / 1.113 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001331/1.228, allocations: 0.8467 MB / 1.114 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/1.228, allocations: 8.969 kB / 1.114 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/1.228, allocations: 8.625 kB / 1.114 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/1.228, allocations: 14.47 kB / 1.114 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/1.229, allocations: 165.3 kB / 1.114 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.596e-05/1.229, allocations: 18.19 kB / 1.114 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009917/1.23, allocations: 139.7 kB / 1.114 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.237e-05/1.23, allocations: 39.62 kB / 1.114 GB, free: 12.38 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * 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.0005327/1.231, allocations: 339.6 kB / 1.115 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/1.231, allocations: 83.47 kB / 1.115 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/1.232, allocations: 0.6239 MB / 1.115 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/1.232, allocations: 5.969 kB / 1.115 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.232, allocations: 0 / 1.115 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007147/1.233, allocations: 0.5193 MB / 1.116 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/1.236, allocations: 1.773 MB / 1.117 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.236, allocations: 2.5 kB / 1.117 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/1.236, allocations: 119.7 kB / 1.118 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.75e-05/1.236, allocations: 6 kB / 1.118 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/1.236, allocations: 16.3 kB / 1.118 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/1.236, allocations: 5.125 kB / 1.118 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/1.236, allocations: 7.141 kB / 1.118 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/1.238, allocations: 1.069 MB / 1.119 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005649/1.238, allocations: 236.8 kB / 1.119 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.239, allocations: 15.36 kB / 1.119 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/1.239, allocations: 70.64 kB / 1.119 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/1.239, allocations: 33.52 kB / 1.119 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/1.239, allocations: 18.75 kB / 1.119 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000815/1.24, allocations: 0.5027 MB / 1.12 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.24, allocations: 0 / 1.12 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001311/1.242, allocations: 305.1 kB / 1.12 GB, free: 11.06 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * 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.002605/1.244, allocations: 1.737 MB / 1.122 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001215/1.245, allocations: 0.6073 MB / 1.122 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.245, allocations: 4.062 kB / 1.122 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003726/1.246, allocations: 281.2 kB / 1.122 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/1.248, allocations: 440.4 kB / 1.123 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/1.26, allocations: 5.618 MB / 1.128 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009099/1.261, allocations: 1.117 MB / 1.129 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001258/1.262, allocations: 272.3 kB / 1.13 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/1.263, allocations: 361.9 kB / 1.13 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of SimCode: time 2.114e-06/1.263, allocations: 5.859 kB / 1.13 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05471/1.317, allocations: 23.12 MB / 1.153 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/1.318, allocations: 224.4 kB / 1.153 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.004/4.322, allocations: 0 / 1.153 GB, free: 11.96 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)