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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 289.9 MB / 297.4 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 169 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009207/0.0009206, allocations: 93.52 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.166e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6319/0.6319, allocations: 116.3 MB / 0.9733 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.789/6.421, allocations: 2.128 GB / 3.101 GB, free: 277.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/6.421, allocations: 88.03 kB / 3.102 GB, free: 277.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.937/8.358, allocations: 0.6484 GB / 3.75 GB, free: 27.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.944e-06/8.358, allocations: 7.938 kB / 3.75 GB, free: 27.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.128e-05/8.358, allocations: 28 kB / 3.75 GB, free: 27.2 MB / 0.948 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.002877/8.361, allocations: 1.323 MB / 3.751 GB, free: 25.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/8.361, allocations: 8.031 kB / 3.751 GB, free: 25.82 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/8.363, allocations: 254.3 kB / 3.752 GB, free: 25.57 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/8.365, allocations: 1.097 MB / 3.753 GB, free: 24.43 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/8.365, allocations: 35.94 kB / 3.753 GB, free: 24.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/8.365, allocations: 63.98 kB / 3.753 GB, free: 24.33 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001335/8.367, allocations: 0.7497 MB / 3.753 GB, free: 23.58 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/8.368, allocations: 0.9744 MB / 3.754 GB, free: 22.54 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/8.368, allocations: 11.98 kB / 3.754 GB, free: 22.53 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/8.368, allocations: 3.953 kB / 3.754 GB, free: 22.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.084e-05/8.368, allocations: 37.94 kB / 3.754 GB, free: 22.48 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.005758/8.374, allocations: 5.494 MB / 3.76 GB, free: 16.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007053/8.375, allocations: 0.5004 MB / 3.76 GB, free: 16.04 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/8.375, allocations: 288.1 kB / 3.761 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005865/8.376, allocations: 319.7 kB / 3.761 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/8.376, allocations: 42.94 kB / 3.761 GB, free: 15.34 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 3.306e-06/8.376, allocations: 0 / 3.761 GB, free: 15.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.00123/8.377, allocations: 0.5771 MB / 3.761 GB, free: 14.76 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/8.377, allocations: 63.78 kB / 3.762 GB, free: 14.68 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006517/8.378, allocations: 0.5153 MB / 3.762 GB, free: 14.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/8.378, allocations: 29.7 kB / 3.762 GB, free: 14.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/8.378, allocations: 0.5025 MB / 3.763 GB, free: 13.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/8.378, allocations: 173.4 kB / 3.763 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/8.378, allocations: 0 / 3.763 GB, free: 13.44 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000121/8.378, allocations: 382.7 kB / 3.763 GB, free: 13.06 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/8.379, allocations: 225.5 kB / 3.763 GB, free: 12.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/8.379, allocations: 0.5461 MB / 3.764 GB, free: 12.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/8.38, allocations: 360.4 kB / 3.764 GB, free: 11.79 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/8.38, allocations: 0 / 3.764 GB, free: 11.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001019/8.381, allocations: 0.761 MB / 3.765 GB, free: 11.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/8.381, allocations: 16.22 kB / 3.765 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/8.381, allocations: 8 kB / 3.765 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/8.381, allocations: 12 kB / 3.765 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/8.381, allocations: 155.8 kB / 3.765 GB, free: 10.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/8.381, allocations: 19.92 kB / 3.765 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009226/8.382, allocations: 103.2 kB / 3.765 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/8.382, allocations: 36 kB / 3.765 GB, free: 10.68 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001266/8.383, allocations: 136.8 kB / 3.765 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007213/8.383, allocations: 0.542 MB / 3.766 GB, free: 9.984 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-05/8.383, allocations: 75.06 kB / 3.766 GB, free: 9.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008535/8.384, allocations: 0.5816 MB / 3.767 GB, free: 9.324 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/8.384, allocations: 11.98 kB / 3.767 GB, free: 9.312 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/8.384, allocations: 0 / 3.767 GB, free: 9.312 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006006/8.385, allocations: 0.4938 MB / 3.767 GB, free: 8.805 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/8.387, allocations: 1.535 MB / 3.769 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/8.387, allocations: 0 / 3.769 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/8.387, allocations: 115.8 kB / 3.769 GB, free: 7.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/8.387, allocations: 4 kB / 3.769 GB, free: 7.086 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/8.388, allocations: 11.95 kB / 3.769 GB, free: 7.074 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-06/8.388, allocations: 12.22 kB / 3.769 GB, free: 7.062 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/8.388, allocations: 0 / 3.769 GB, free: 7.062 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/8.389, allocations: 1.095 MB / 3.77 GB, free: 5.883 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/8.389, allocations: 220 kB / 3.77 GB, free: 5.648 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/8.389, allocations: 4 kB / 3.77 GB, free: 5.645 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/8.39, allocations: 55.88 kB / 3.77 GB, free: 5.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/8.39, allocations: 31.95 kB / 3.77 GB, free: 5.559 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/8.39, allocations: 16 kB / 3.77 GB, free: 5.543 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003943/8.39, allocations: 399.1 kB / 3.77 GB, free: 5.156 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/8.39, allocations: 0 / 3.77 GB, free: 5.156 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001282/8.391, allocations: 423.1 kB / 3.771 GB, free: 4.742 MB / 0.948 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 () * 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 (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.003958/8.395, allocations: 4.143 MB / 3.775 GB, free: 476 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.6044/9, allocations: 0.5468 MB / 3.775 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/9, allocations: 5.656 kB / 3.775 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006612/9, allocations: 248.6 kB / 3.776 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/9.003, allocations: 358.3 kB / 3.776 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/9.008, allocations: 1.72 MB / 3.778 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/9.009, allocations: 1.14 MB / 3.779 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001355/9.01, allocations: 254.5 kB / 3.779 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005568/9.011, allocations: 354.4 kB / 3.779 GB, free: 178.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/9.011, allocations: 0.7812 kB / 3.779 GB, free: 178.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08328/9.094, allocations: 34.4 MB / 3.813 GB, free: 177.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/9.094, allocations: 164.3 kB / 3.813 GB, free: 177.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.226/12.32, allocations: 5.281 kB / 3.813 GB, free: 177.7 MB / 0.948 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/linux/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)