Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_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.001697/0.001697, allocations: 101.4 kB / 15.7 MB, free: 28 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.00213/0.00213, allocations: 191.8 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 78.33 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2397, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7144/0.9541, allocations: 195.1 MB / 0.9742 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01604/0.9702, allocations: 14.28 MB / 0.9881 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.9721, allocations: 43.44 kB / 0.9881 GB, free: 13 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.9739, allocations: 497.5 kB / 0.9886 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006327/0.9803, allocations: 1.89 MB / 0.9905 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.9833, allocations: 0.8645 MB / 0.9913 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004059/0.9874, allocations: 2.562 MB / 0.9938 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.9891, allocations: 1.11 MB / 0.9949 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004521/0.9936, allocations: 1.6 MB / 0.9965 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.9952, allocations: 0.9154 MB / 0.9974 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.9954, allocations: 105.6 kB / 0.9975 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.9979, allocations: 1.101 MB / 0.9985 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004807/0.9984, allocations: 0.4931 MB / 0.999 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007017/0.9991, allocations: 0.6385 MB / 0.9996 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002382/1.001, allocations: 1.91 MB / 1.001 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/1.001, allocations: 0 / 1.001 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/1.001, allocations: 4 kB / 1.002 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.675e-05/1.002, allocations: 0 / 1.002 GB, free: 5.496 MB / 0.7325 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.002052/1.004, allocations: 1.444 MB / 1.003 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.004, allocations: 10.06 kB / 1.003 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/1.004, allocations: 147.3 kB / 1.003 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/1.005, allocations: 254.4 kB / 1.003 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/1.006, allocations: 0.7894 MB / 1.004 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/1.006, allocations: 70 kB / 1.004 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/1.006, allocations: 92.89 kB / 1.004 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/1.008, allocations: 1.169 MB / 1.005 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/1.008, allocations: 7.844 kB / 1.005 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/1.008, allocations: 42 kB / 1.005 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/1.008, allocations: 35.52 kB / 1.005 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/1.009, allocations: 0.903 MB / 1.006 GB, free: 2.27 MB / 0.7325 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.005279/1.015, allocations: 5.73 MB / 1.012 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/1.015, allocations: 0.5288 MB / 1.012 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000385/1.016, allocations: 318.1 kB / 1.013 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000529/1.016, allocations: 314 kB / 1.013 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/1.016, allocations: 36.78 kB / 1.013 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=49): time 2.174e-06/1.016, allocations: 3.938 kB / 1.013 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.00137/1.018, allocations: 0.7981 MB / 1.014 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/1.018, allocations: 57.09 kB / 1.014 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007707/1.019, allocations: 0.7505 MB / 1.015 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/1.019, allocations: 36.48 kB / 1.015 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/1.019, allocations: 0.504 MB / 1.015 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/1.019, allocations: 179.3 kB / 1.015 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/1.019, allocations: 145.2 kB / 1.015 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.019, allocations: 333.7 kB / 1.016 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/1.02, allocations: 248.4 kB / 1.016 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/1.02, allocations: 0.5621 MB / 1.017 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009103/1.021, allocations: 0.7937 MB / 1.017 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.021, allocations: 2.719 kB / 1.017 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001167/1.022, allocations: 0.8442 MB / 1.018 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/1.022, allocations: 12.34 kB / 1.018 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.022, allocations: 8.125 kB / 1.018 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/1.023, allocations: 13.53 kB / 1.018 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/1.023, allocations: 154.4 kB / 1.018 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/1.023, allocations: 16.19 kB / 1.018 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/1.024, allocations: 93.3 kB / 1.018 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/1.024, allocations: 36.47 kB / 1.019 GB, free: 8.578 MB / 0.7481 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.0004093/1.024, allocations: 334.6 kB / 1.019 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/1.024, allocations: 88.91 kB / 1.019 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000905/1.025, allocations: 0.6068 MB / 1.02 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/1.025, allocations: 9.344 kB / 1.02 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.025, allocations: 3.984 kB / 1.02 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006404/1.026, allocations: 0.5204 MB / 1.02 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/1.028, allocations: 1.664 MB / 1.022 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.028, allocations: 2.75 kB / 1.022 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/1.029, allocations: 115.3 kB / 1.022 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.029, allocations: 6.719 kB / 1.022 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/1.029, allocations: 15.53 kB / 1.022 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.029, allocations: 6.641 kB / 1.022 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.029, allocations: 2.688 kB / 1.022 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/1.03, allocations: 1.054 MB / 1.023 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/1.03, allocations: 221.7 kB / 1.023 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-05/1.031, allocations: 17.69 kB / 1.023 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/1.031, allocations: 18.78 kB / 1.023 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/1.031, allocations: 35.55 kB / 1.023 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/1.031, allocations: 20.83 kB / 1.023 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005842/1.032, allocations: 0.5101 MB / 1.024 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.032, allocations: 0 / 1.024 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009008/1.033, allocations: 295.7 kB / 1.024 GB, free: 5.238 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (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.001985/1.035, allocations: 1.7 MB / 1.026 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009578/1.036, allocations: 0.6113 MB / 1.026 GB, free: 3.738 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.036, allocations: 2.688 kB / 1.026 GB, free: 3.738 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003454/1.036, allocations: 270 kB / 1.026 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/1.038, allocations: 434.2 kB / 1.027 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008628/1.046, allocations: 7.172 MB / 1.034 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/1.047, allocations: 1.129 MB / 1.035 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008149/1.048, allocations: 267 kB / 1.035 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/1.048, allocations: 359.2 kB / 1.036 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of SimCode: time 1.192e-06/1.048, allocations: 0 / 1.036 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04767/1.096, allocations: 22.86 MB / 1.058 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.906/10, allocations: 10.56 kB / 1.058 GB, free: 5.242 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)