Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",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.00504/0.00504, allocations: 100.8 kB / 15.87 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.312/1.312, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6716/0.6716, allocations: 115.3 MB / 405.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 55.25 kB / 493 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1326, allocations: 76.19 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3935/0.5261, allocations: 165.1 MB / 0.7171 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00235/0.5285, allocations: 1.569 MB / 0.7186 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.5287, allocations: 11.94 kB / 0.7186 GB, free: 216 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.5291, allocations: 115.2 kB / 0.7187 GB, free: 100 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.5305, allocations: 0.6769 MB / 0.7194 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.5316, allocations: 0.5388 MB / 0.7199 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007987/0.5324, allocations: 0.9703 MB / 0.7209 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.5327, allocations: 193.4 kB / 0.721 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004771/0.5332, allocations: 306.8 kB / 0.7213 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.5335, allocations: 243 kB / 0.7216 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.5335, allocations: 16 kB / 0.7216 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.5349, allocations: 1.009 MB / 0.7226 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.535, allocations: 99.7 kB / 0.7227 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.5352, allocations: 159.1 kB / 0.7228 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009272/0.5361, allocations: 0.7635 MB / 0.7236 GB, free: 11.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5361, allocations: 0 / 0.7236 GB, free: 11.13 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.92e-07/0.5361, allocations: 0 / 0.7236 GB, free: 11.13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.5361, allocations: 0 / 0.7236 GB, free: 11.13 MB / 0.545 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.0008626/0.537, allocations: 0.6473 MB / 0.7242 GB, free: 10.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.537, allocations: 12.03 kB / 0.7242 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.728e-05/0.5371, allocations: 58.55 kB / 0.7243 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.5383, allocations: 147.5 kB / 0.7244 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.5386, allocations: 309.7 kB / 0.7247 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.5387, allocations: 16.44 kB / 0.7247 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.5387, allocations: 20 kB / 0.7247 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.5392, allocations: 283.4 kB / 0.725 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5392, allocations: 3.984 kB / 0.725 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.5392, allocations: 8 kB / 0.725 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.5392, allocations: 11.98 kB / 0.725 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/0.5396, allocations: 195.8 kB / 0.7252 GB, free: 9.324 MB / 0.545 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.001278/0.5409, allocations: 1.205 MB / 0.7264 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.5412, allocations: 135.1 kB / 0.7265 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.5414, allocations: 92.8 kB / 0.7266 GB, free: 7.781 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006088/0.542, allocations: 303.2 kB / 0.7269 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.542, allocations: 45.98 kB / 0.7269 GB, free: 7.379 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.542, allocations: 4 kB / 0.7269 GB, free: 7.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007379/0.5428, allocations: 282.2 kB / 0.7272 GB, free: 7.094 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.5428, allocations: 55.34 kB / 0.7273 GB, free: 7.027 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.5431, allocations: 312.5 kB / 0.7276 GB, free: 6.711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.5432, allocations: 29.7 kB / 0.7276 GB, free: 6.676 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.5433, allocations: 180.2 kB / 0.7278 GB, free: 6.496 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.5433, allocations: 55.2 kB / 0.7278 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.185e-05/0.5434, allocations: 45.61 kB / 0.7278 GB, free: 6.391 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5435, allocations: 342.8 kB / 0.7282 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.5437, allocations: 63.95 kB / 0.7282 GB, free: 5.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.5439, allocations: 129 kB / 0.7284 GB, free: 5.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.5443, allocations: 192.2 kB / 0.7285 GB, free: 5.637 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5443, allocations: 0 / 0.7285 GB, free: 5.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004445/0.5447, allocations: 237.2 kB / 0.7288 GB, free: 5.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.5447, allocations: 8 kB / 0.7288 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5448, allocations: 0 / 0.7288 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.5448, allocations: 7.938 kB / 0.7288 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.545, allocations: 35.98 kB / 0.7288 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.545, allocations: 0 / 0.7288 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.5452, allocations: 43.81 kB / 0.7289 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.5452, allocations: 4 kB / 0.7289 GB, free: 5.301 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.5454, allocations: 157.6 kB / 0.729 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.5454, allocations: 27.62 kB / 0.729 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004504/0.5459, allocations: 221.8 kB / 0.7293 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5459, allocations: 4 kB / 0.7293 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5459, allocations: 0 / 0.7293 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.5459, allocations: 0 / 0.7293 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009574/0.5469, allocations: 0.6895 MB / 0.7299 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5469, allocations: 0 / 0.7299 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.5471, allocations: 35.92 kB / 0.73 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5471, allocations: 8.812 kB / 0.73 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.5471, allocations: 4 kB / 0.73 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5471, allocations: 0 / 0.73 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5471, allocations: 4 kB / 0.73 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/0.5477, allocations: 443.3 kB / 0.7304 GB, free: 3.602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.5479, allocations: 120.7 kB / 0.7305 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.5479, allocations: 19.86 kB / 0.7305 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.5481, allocations: 13.48 kB / 0.7306 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.5482, allocations: 16.05 kB / 0.7306 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.5482, allocations: 8 kB / 0.7306 GB, free: 3.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002086/0.5484, allocations: 223.1 kB / 0.7308 GB, free: 3.195 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5484, allocations: 0 / 0.7308 GB, free: 3.195 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003711/0.5488, allocations: 83.89 kB / 0.7309 GB, free: 3.113 MB / 0.545 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 (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.001068/0.5498, allocations: 1.034 MB / 0.7319 GB, free: 2.039 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004053/0.5503, allocations: 167.7 kB / 0.732 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5503, allocations: 0 / 0.732 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.5505, allocations: 88.2 kB / 0.7321 GB, free: 1.789 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.5513, allocations: 155.5 kB / 0.7323 GB, free: 1.637 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.5548, allocations: 3 MB / 0.7352 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.5551, allocations: 0.7719 MB / 0.736 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.5553, allocations: 67.14 kB / 0.736 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.5554, allocations: 87.41 kB / 0.7361 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.5555, allocations: 0 / 0.7361 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.5754, allocations: 8.355 MB / 0.7443 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.5756, allocations: 245.6 kB / 0.7445 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.55, allocations: 0 / 0.7445 GB, free: 5.129 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)