Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 181 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 100.3 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 10.22 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3118, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.367/4.678, allocations: 1.906 GB / 3.129 GB, free: 108 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/4.679, allocations: 92.75 kB / 3.129 GB, free: 108 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.061/5.74, allocations: 247 MB / 3.37 GB, free: 330.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.262e-06/5.74, allocations: 0 / 3.37 GB, free: 330.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.671e-05/5.74, allocations: 8 kB / 3.37 GB, free: 330.6 MB / 1.167 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.001418/5.741, allocations: 0.6823 MB / 3.371 GB, free: 329.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/5.741, allocations: 15.91 kB / 3.371 GB, free: 329.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/5.742, allocations: 59.73 kB / 3.371 GB, free: 329.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/5.743, allocations: 151.4 kB / 3.371 GB, free: 329.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/5.743, allocations: 319.2 kB / 3.372 GB, free: 329.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/5.743, allocations: 16.39 kB / 3.372 GB, free: 329.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/5.743, allocations: 24 kB / 3.372 GB, free: 329.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/5.744, allocations: 275.5 kB / 3.372 GB, free: 329 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/5.744, allocations: 7.984 kB / 3.372 GB, free: 328.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/5.744, allocations: 4 kB / 3.372 GB, free: 328.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/5.744, allocations: 8 kB / 3.372 GB, free: 328.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/5.744, allocations: 191.8 kB / 3.372 GB, free: 328.8 MB / 1.167 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.00123/5.746, allocations: 1.211 MB / 3.373 GB, free: 327.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/5.746, allocations: 128.9 kB / 3.373 GB, free: 327.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/5.746, allocations: 299.2 kB / 3.374 GB, free: 327 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/5.746, allocations: 38.56 kB / 3.374 GB, free: 326.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/5.746, allocations: 0 / 3.374 GB, free: 326.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=15): time 0.0007335/5.747, allocations: 281.3 kB / 3.374 GB, free: 326.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/5.747, allocations: 55.41 kB / 3.374 GB, free: 326.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/5.747, allocations: 275.7 kB / 3.374 GB, free: 326.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/5.747, allocations: 29.7 kB / 3.374 GB, free: 326.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/5.748, allocations: 188 kB / 3.375 GB, free: 326.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/5.748, allocations: 47.3 kB / 3.375 GB, free: 326 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-06/5.748, allocations: 4 kB / 3.375 GB, free: 326 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.791e-05/5.748, allocations: 342.8 kB / 3.375 GB, free: 325.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/5.748, allocations: 64.33 kB / 3.375 GB, free: 325.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/5.748, allocations: 132.6 kB / 3.375 GB, free: 325.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/5.748, allocations: 79.91 kB / 3.375 GB, free: 325.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/5.748, allocations: 0 / 3.375 GB, free: 325.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003841/5.749, allocations: 245.1 kB / 3.375 GB, free: 325.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/5.749, allocations: 11.94 kB / 3.375 GB, free: 325.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/5.749, allocations: 0 / 3.375 GB, free: 325.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/5.749, allocations: 7.953 kB / 3.375 GB, free: 325.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/5.749, allocations: 44.02 kB / 3.376 GB, free: 325.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/5.749, allocations: 7.984 kB / 3.376 GB, free: 325.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/5.749, allocations: 39.67 kB / 3.376 GB, free: 325 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/5.749, allocations: 12 kB / 3.376 GB, free: 325 MB / 1.167 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 () * Number of clocked 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 0.0001208/5.749, allocations: 145.8 kB / 3.376 GB, free: 324.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/5.749, allocations: 31.62 kB / 3.376 GB, free: 324.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/5.75, allocations: 216.3 kB / 3.376 GB, free: 324.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/5.75, allocations: 4 kB / 3.376 GB, free: 324.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/5.75, allocations: 3.953 kB / 3.376 GB, free: 324.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/5.75, allocations: 0 / 3.376 GB, free: 324.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008635/5.751, allocations: 0.6718 MB / 3.377 GB, free: 323.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/5.751, allocations: 4 kB / 3.377 GB, free: 323.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/5.751, allocations: 35.92 kB / 3.377 GB, free: 323.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/5.751, allocations: 4 kB / 3.377 GB, free: 323.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/5.751, allocations: 4 kB / 3.377 GB, free: 323.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/5.751, allocations: 7.984 kB / 3.377 GB, free: 323.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/5.751, allocations: 4.219 kB / 3.377 GB, free: 323.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/5.751, allocations: 0.4996 MB / 3.377 GB, free: 323.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/5.751, allocations: 124.7 kB / 3.377 GB, free: 323.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/5.752, allocations: 4 kB / 3.377 GB, free: 323.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/5.752, allocations: 24.11 kB / 3.377 GB, free: 323 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/5.752, allocations: 19.92 kB / 3.377 GB, free: 323 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/5.752, allocations: 7.953 kB / 3.377 GB, free: 323 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001635/5.752, allocations: 223 kB / 3.378 GB, free: 322.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/5.752, allocations: 4 kB / 3.378 GB, free: 322.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006678/5.753, allocations: 171.9 kB / 3.378 GB, free: 322.6 MB / 1.167 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 () * Number of clocked 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.002094/5.755, allocations: 2.457 MB / 3.38 GB, free: 320.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003888/5.755, allocations: 165.2 kB / 3.38 GB, free: 319.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/5.755, allocations: 0 / 3.38 GB, free: 319.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/5.755, allocations: 92.45 kB / 3.38 GB, free: 319.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/5.756, allocations: 153.5 kB / 3.381 GB, free: 319.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/5.759, allocations: 2.486 MB / 3.383 GB, free: 317.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/5.759, allocations: 0.7838 MB / 3.384 GB, free: 316.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002495/5.759, allocations: 62.92 kB / 3.384 GB, free: 316.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/5.759, allocations: 91.41 kB / 3.384 GB, free: 316.2 MB / 1.167 GB Notification: Performance of SimCode: time 4.31e-07/5.759, allocations: 0 / 3.384 GB, free: 316.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03582/5.795, allocations: 24.27 MB / 3.408 GB, free: 292.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001258/5.795, allocations: 216.6 kB / 3.408 GB, free: 291.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/8.45, allocations: 4.062 kB / 3.408 GB, free: 291.8 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat