Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_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.00145/0.00145, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.531/2.531, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 70.56 kB / 0.9087 GB, free: 34.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2517, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6268/0.8786, allocations: 195.1 MB / 1.255 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01188/0.8905, allocations: 14.32 MB / 1.269 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008059/0.8913, allocations: 37.22 kB / 1.269 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.8924, allocations: 0.4932 MB / 1.269 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.8956, allocations: 1.883 MB / 1.271 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.8973, allocations: 0.8652 MB / 1.272 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001834/0.8992, allocations: 2.569 MB / 1.274 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.9002, allocations: 1.111 MB / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.9032, allocations: 1.609 MB / 1.277 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.9044, allocations: 0.9164 MB / 1.278 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.9046, allocations: 110 kB / 1.278 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.9064, allocations: 1.097 MB / 1.279 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.9068, allocations: 0.4909 MB / 1.279 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006102/0.9074, allocations: 0.6365 MB / 1.28 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.9096, allocations: 1.883 MB / 1.282 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9096, allocations: 0.5938 kB / 1.282 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.22e-07/0.9096, allocations: 4 kB / 1.282 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.9096, allocations: 0.6562 kB / 1.282 GB, free: 4.867 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.002195/0.9118, allocations: 1.45 MB / 1.283 GB, free: 20.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.9119, allocations: 9.922 kB / 1.283 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.9121, allocations: 144.8 kB / 1.284 GB, free: 20.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.9132, allocations: 253.4 kB / 1.284 GB, free: 19.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.9142, allocations: 0.7554 MB / 1.285 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.9143, allocations: 69.38 kB / 1.285 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.9144, allocations: 94.81 kB / 1.285 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.9159, allocations: 1.167 MB / 1.286 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.9159, allocations: 9.422 kB / 1.286 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/0.916, allocations: 42.66 kB / 1.286 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/0.916, allocations: 35.02 kB / 1.286 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.9172, allocations: 0.9048 MB / 1.287 GB, free: 19.44 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.004987/0.9222, allocations: 5.768 MB / 1.292 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.9229, allocations: 0.5341 MB / 1.293 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.9233, allocations: 325.4 kB / 1.293 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005576/0.9239, allocations: 311.8 kB / 1.294 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.9239, allocations: 38.16 kB / 1.294 GB, free: 15.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.9239, allocations: 1 kB / 1.294 GB, free: 15.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001261/0.9252, allocations: 0.8023 MB / 1.294 GB, free: 15.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.9252, allocations: 61.03 kB / 1.294 GB, free: 15.15 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000738/0.926, allocations: 0.7537 MB / 1.295 GB, free: 15.01 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.926, allocations: 37.77 kB / 1.295 GB, free: 14.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.9263, allocations: 0.5086 MB / 1.296 GB, free: 14.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.9264, allocations: 176 kB / 1.296 GB, free: 14.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.9266, allocations: 146.5 kB / 1.296 GB, free: 14.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9267, allocations: 332.2 kB / 1.296 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.927, allocations: 250.1 kB / 1.297 GB, free: 14.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.9275, allocations: 0.5513 MB / 1.297 GB, free: 13.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007444/0.9282, allocations: 0.8044 MB / 1.298 GB, free: 13.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.9282, allocations: 3.125 kB / 1.298 GB, free: 13.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00103/0.9293, allocations: 0.8451 MB / 1.299 GB, free: 13.58 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.9293, allocations: 8.406 kB / 1.299 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.9293, allocations: 7.688 kB / 1.299 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.9293, allocations: 13.16 kB / 1.299 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.9298, allocations: 153.7 kB / 1.299 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.9298, allocations: 25.91 kB / 1.299 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.9305, allocations: 88.89 kB / 1.299 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.9306, allocations: 38.31 kB / 1.299 GB, free: 13.53 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.0003551/0.9309, allocations: 329 kB / 1.299 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.931, allocations: 86 kB / 1.299 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007996/0.9318, allocations: 0.6181 MB / 1.3 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.9319, allocations: 4.5 kB / 1.3 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.9319, allocations: 0.9375 kB / 1.3 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005962/0.9325, allocations: 0.5244 MB / 1.301 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.9344, allocations: 1.671 MB / 1.302 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9344, allocations: 2.219 kB / 1.302 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.9348, allocations: 110 kB / 1.302 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.9348, allocations: 6.547 kB / 1.302 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.9349, allocations: 13.5 kB / 1.302 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.9349, allocations: 6.672 kB / 1.302 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9349, allocations: 6.328 kB / 1.302 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.936, allocations: 1.025 MB / 1.303 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.9362, allocations: 219.7 kB / 1.304 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.9363, allocations: 15.09 kB / 1.304 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.9367, allocations: 16.36 kB / 1.304 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.9368, allocations: 39.67 kB / 1.304 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.9368, allocations: 17.12 kB / 1.304 GB, free: 12.46 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005021/0.9374, allocations: 0.5161 MB / 1.304 GB, free: 12.36 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9374, allocations: 1.094 kB / 1.304 GB, free: 12.36 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008015/0.9382, allocations: 297.1 kB / 1.304 GB, free: 12.32 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.001701/0.9399, allocations: 1.676 MB / 1.306 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000908/0.9408, allocations: 0.712 MB / 1.307 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9408, allocations: 3.391 kB / 1.307 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.9411, allocations: 271.8 kB / 1.307 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.9428, allocations: 439.5 kB / 1.307 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00719/0.95, allocations: 7.503 MB / 1.315 GB, free: 8.289 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/0.9506, allocations: 1.12 MB / 1.316 GB, free: 7.578 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007259/0.9514, allocations: 262.5 kB / 1.316 GB, free: 7.539 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.9517, allocations: 360.5 kB / 1.316 GB, free: 7.531 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.9517, allocations: 0 / 1.316 GB, free: 7.531 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.144/5.096, allocations: 22.86 MB / 1.339 GB, free: 2.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.426/14.52, allocations: 13.59 kB / 1.339 GB, free: 2.906 MB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)