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.476/1.476, allocations: 251.9 MB / 266.9 MB, free: 11 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.001269/0.00127, allocations: 185.3 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001014/0.001014, allocations: 91.73 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000549/0.0005495, allocations: 16.11 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2726, allocations: 106.4 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8277/1.1, allocations: 162 MB / 1.058 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01794/1.118, allocations: 12.23 MB / 1.07 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/1.12, allocations: 25.94 kB / 1.07 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002323/1.122, allocations: 0.4997 MB / 1.071 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006727/1.129, allocations: 1.55 MB / 1.072 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004666/1.134, allocations: 0.9861 MB / 1.073 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00401/1.138, allocations: 1.496 MB / 1.075 GB, free: 3.555 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/1.14, allocations: 0.8225 MB / 1.076 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003983/1.144, allocations: 1.116 MB / 1.077 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002445/1.146, allocations: 0.6267 MB / 1.077 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003621/1.147, allocations: 48.41 kB / 1.077 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/1.15, allocations: 0.5351 MB / 1.078 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001062/1.151, allocations: 416.2 kB / 1.078 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/1.153, allocations: 250.1 kB / 1.078 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002889/1.156, allocations: 1.324 MB / 1.08 GB, free: 19.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.156, allocations: 0 / 1.08 GB, free: 19.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.745e-06/1.156, allocations: 0.625 kB / 1.08 GB, free: 19.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.36e-05/1.156, allocations: 0 / 1.08 GB, free: 19.3 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.002927/1.159, allocations: 1.232 MB / 1.081 GB, free: 18.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.159, allocations: 10.56 kB / 1.081 GB, free: 18.55 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/1.159, allocations: 150.4 kB / 1.081 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/1.16, allocations: 245.5 kB / 1.081 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/1.162, allocations: 0.7518 MB / 1.082 GB, free: 18.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/1.162, allocations: 73.64 kB / 1.082 GB, free: 18.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/1.163, allocations: 94.06 kB / 1.082 GB, free: 18.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/1.165, allocations: 1.17 MB / 1.083 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/1.165, allocations: 1.312 kB / 1.083 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.559e-05/1.165, allocations: 37.47 kB / 1.083 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-05/1.165, allocations: 33.09 kB / 1.083 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/1.167, allocations: 0.9081 MB / 1.084 GB, free: 17.91 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.00737/1.174, allocations: 5.732 MB / 1.09 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008553/1.175, allocations: 0.5397 MB / 1.09 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004239/1.175, allocations: 151.4 kB / 1.091 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/1.175, allocations: 44.34 kB / 1.091 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 3.487e-06/1.175, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.00199/1.177, allocations: 0.8106 MB / 1.091 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/1.177, allocations: 87.2 kB / 1.091 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/1.179, allocations: 0.7293 MB / 1.092 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/1.179, allocations: 45.08 kB / 1.092 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/1.179, allocations: 0.505 MB / 1.093 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/1.18, allocations: 188.1 kB / 1.093 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/1.18, allocations: 13.47 kB / 1.093 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002582/1.18, allocations: 397 kB / 1.093 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/1.18, allocations: 250 kB / 1.094 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005985/1.181, allocations: 0.5448 MB / 1.094 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/1.181, allocations: 351.1 kB / 1.094 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.181, allocations: 6.812 kB / 1.094 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001256/1.183, allocations: 0.8559 MB / 1.095 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/1.183, allocations: 7.844 kB / 1.095 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/1.183, allocations: 6.094 kB / 1.095 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/1.183, allocations: 13.84 kB / 1.095 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/1.183, allocations: 161.1 kB / 1.095 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/1.183, allocations: 18.34 kB / 1.095 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.185, allocations: 139.4 kB / 1.096 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/1.185, allocations: 36.88 kB / 1.096 GB, free: 12.37 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.0005788/1.185, allocations: 333.6 kB / 1.096 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/1.185, allocations: 91.98 kB / 1.096 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/1.186, allocations: 0.6208 MB / 1.097 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.186, allocations: 6.797 kB / 1.097 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/1.186, allocations: 3.312 kB / 1.097 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006497/1.187, allocations: 0.527 MB / 1.097 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/1.19, allocations: 1.752 MB / 1.099 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.19, allocations: 2.781 kB / 1.099 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/1.191, allocations: 115.5 kB / 1.099 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/1.191, allocations: 5.375 kB / 1.099 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/1.191, allocations: 19.72 kB / 1.099 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/1.191, allocations: 13.33 kB / 1.099 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.191, allocations: 0 / 1.099 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/1.192, allocations: 1.164 MB / 1.1 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005457/1.193, allocations: 235.4 kB / 1.1 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/1.193, allocations: 12.56 kB / 1.1 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006259/1.193, allocations: 69.22 kB / 1.1 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/1.194, allocations: 42.22 kB / 1.1 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/1.194, allocations: 23.39 kB / 1.101 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006552/1.194, allocations: 0.5008 MB / 1.101 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.31e-07/1.194, allocations: 0 / 1.101 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001036/1.195, allocations: 305.6 kB / 1.101 GB, free: 10.91 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.002299/1.198, allocations: 2.371 MB / 1.104 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.199, allocations: 0.6143 MB / 1.104 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.199, allocations: 0 / 1.104 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003328/1.199, allocations: 277.1 kB / 1.104 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/1.201, allocations: 427.3 kB / 1.105 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.211, allocations: 10.68 MB / 1.115 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/1.212, allocations: 1.145 MB / 1.116 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001136/1.213, allocations: 278.1 kB / 1.117 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/1.214, allocations: 357.1 kB / 1.117 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of SimCode: time 1.613e-06/1.214, allocations: 3.938 kB / 1.117 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05533/1.269, allocations: 23.07 MB / 1.14 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/1.269, allocations: 227.1 kB / 1.14 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/4.036, allocations: 1.859 kB / 1.14 GB, free: 7.887 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)