Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.66/1.66, allocations: 289.7 MB / 302.2 MB, free: 2.215 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.001184/0.001184, allocations: 183.9 kB / 371.6 MB, free: 3.434 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.785/1.785, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001082/0.001083, allocations: 88.75 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.691e-05/3.711e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2867, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.73/7.017, allocations: 2.062 GB / 3.042 GB, free: 134.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/7.017, allocations: 84.27 kB / 3.042 GB, free: 134.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.304/8.321, allocations: 243 MB / 3.279 GB, free: 227.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.663e-06/8.321, allocations: 4 kB / 3.279 GB, free: 227.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.161e-05/8.321, allocations: 10.88 kB / 3.279 GB, free: 227.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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001184/8.323, allocations: 0.6296 MB / 3.28 GB, free: 226.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/8.323, allocations: 9.625 kB / 3.28 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.1e-05/8.323, allocations: 53.33 kB / 3.28 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/8.324, allocations: 168.9 kB / 3.28 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/8.324, allocations: 316.3 kB / 3.281 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/8.324, allocations: 18.06 kB / 3.281 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/8.325, allocations: 24.5 kB / 3.281 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/8.325, allocations: 248.3 kB / 3.281 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/8.325, allocations: 7.938 kB / 3.281 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/8.325, allocations: 9.344 kB / 3.281 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/8.325, allocations: 8.281 kB / 3.281 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/8.325, allocations: 159.7 kB / 3.281 GB, free: 226.2 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.001366/8.327, allocations: 1.206 MB / 3.282 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/8.327, allocations: 110.9 kB / 3.282 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/8.327, allocations: 65.89 kB / 3.282 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004702/8.328, allocations: 303.4 kB / 3.283 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/8.328, allocations: 35.78 kB / 3.283 GB, free: 224.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/8.328, allocations: 0 / 3.283 GB, free: 224.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0004805/8.328, allocations: 178.8 kB / 3.283 GB, free: 224.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/8.328, allocations: 52.75 kB / 3.283 GB, free: 224.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/8.328, allocations: 279.9 kB / 3.283 GB, free: 224.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/8.328, allocations: 26.92 kB / 3.283 GB, free: 224.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/8.329, allocations: 185.4 kB / 3.283 GB, free: 224.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/8.329, allocations: 50.11 kB / 3.283 GB, free: 224.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/8.329, allocations: 9.094 kB / 3.283 GB, free: 224.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/8.329, allocations: 341.5 kB / 3.284 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.565e-05/8.329, allocations: 48.41 kB / 3.284 GB, free: 223.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/8.329, allocations: 114.3 kB / 3.284 GB, free: 223.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/8.329, allocations: 64.27 kB / 3.284 GB, free: 223.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/8.329, allocations: 1.344 kB / 3.284 GB, free: 223.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003312/8.329, allocations: 204.7 kB / 3.284 GB, free: 223.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/8.329, allocations: 5.5 kB / 3.284 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/8.329, allocations: 5.422 kB / 3.284 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/8.329, allocations: 6.438 kB / 3.284 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/8.33, allocations: 42.52 kB / 3.284 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/8.33, allocations: 2.531 kB / 3.284 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/8.33, allocations: 48.03 kB / 3.284 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/8.33, allocations: 8.781 kB / 3.284 GB, free: 223.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 7.544e-05/8.33, allocations: 120.9 kB / 3.284 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/8.33, allocations: 28.78 kB / 3.284 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/8.33, allocations: 176.8 kB / 3.285 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/8.33, allocations: 1.312 kB / 3.285 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/8.331, allocations: 0 / 3.285 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/8.331, allocations: 1.219 kB / 3.285 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008382/8.331, allocations: 0.6429 MB / 3.285 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/8.331, allocations: 5.281 kB / 3.285 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/8.332, allocations: 35.55 kB / 3.285 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/8.332, allocations: 6.375 kB / 3.285 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/8.332, allocations: 11.2 kB / 3.285 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/8.332, allocations: 3.516 kB / 3.285 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/8.332, allocations: 6.484 kB / 3.285 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/8.332, allocations: 458.7 kB / 3.286 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/8.332, allocations: 122.8 kB / 3.286 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/8.332, allocations: 11.58 kB / 3.286 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/8.332, allocations: 14.84 kB / 3.286 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/8.333, allocations: 18.36 kB / 3.286 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/8.333, allocations: 5.906 kB / 3.286 GB, free: 222.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000214/8.333, allocations: 223.6 kB / 3.286 GB, free: 222.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/8.333, allocations: 0 / 3.286 GB, free: 222.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007333/8.334, allocations: 167.8 kB / 3.286 GB, free: 222.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.002291/8.336, allocations: 2.407 MB / 3.289 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003013/8.336, allocations: 135.6 kB / 3.289 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/8.336, allocations: 5 kB / 3.289 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/8.336, allocations: 70.08 kB / 3.289 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008155/8.337, allocations: 149.6 kB / 3.289 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/8.338, allocations: 0.521 MB / 3.289 GB, free: 220.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/8.338, allocations: 0.7891 MB / 3.29 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002139/8.339, allocations: 59.53 kB / 3.29 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/8.339, allocations: 91.42 kB / 3.29 GB, free: 219.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/8.339, allocations: 3.938 kB / 3.29 GB, free: 219.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06247/8.401, allocations: 27.15 MB / 3.317 GB, free: 217.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/8.402, allocations: 185.5 kB / 3.317 GB, free: 217 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.043/11.44, allocations: 0 / 3.317 GB, free: 217 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)