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.001032/0.001032, allocations: 102.6 kB / 15.98 MB, free: 6.77 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.001011/0.001011, allocations: 192.6 kB / 16.9 MB, free: 6.559 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.247/1.247, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6299/0.6299, allocations: 115.3 MB / 406.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 65.8 kB / 493.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.118, allocations: 76.19 MB / 0.5561 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3648/0.4828, allocations: 165.1 MB / 0.7173 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.4851, allocations: 1.541 MB / 0.7188 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.4853, allocations: 7.938 kB / 0.7188 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.4857, allocations: 131.3 kB / 0.7189 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.487, allocations: 0.6575 MB / 0.7195 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.4881, allocations: 0.5608 MB / 0.7201 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000606/0.4887, allocations: 0.7089 MB / 0.7208 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.489, allocations: 221 kB / 0.721 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.4895, allocations: 342.7 kB / 0.7213 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.4897, allocations: 227.1 kB / 0.7215 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.4897, allocations: 24 kB / 0.7216 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.4908, allocations: 0.8961 MB / 0.7224 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.4909, allocations: 111.7 kB / 0.7225 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.4911, allocations: 171.1 kB / 0.7227 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008153/0.4919, allocations: 0.7713 MB / 0.7235 GB, free: 11.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4919, allocations: 0 / 0.7235 GB, free: 11.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4919, allocations: 0 / 0.7235 GB, free: 11.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.4919, allocations: 0 / 0.7235 GB, free: 11.3 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.0007823/0.4927, allocations: 0.6474 MB / 0.7241 GB, free: 10.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.4927, allocations: 15.95 kB / 0.7241 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.237e-05/0.4928, allocations: 62.48 kB / 0.7242 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.4939, allocations: 151.5 kB / 0.7243 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.4942, allocations: 301.7 kB / 0.7246 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.4943, allocations: 20.44 kB / 0.7246 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.4943, allocations: 20 kB / 0.7246 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.4947, allocations: 283.4 kB / 0.7249 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4948, allocations: 0 / 0.7249 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.4948, allocations: 8 kB / 0.7249 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.4948, allocations: 4 kB / 0.7249 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.4952, allocations: 203.8 kB / 0.7251 GB, free: 9.484 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.001207/0.4964, allocations: 1.209 MB / 0.7263 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.4967, allocations: 130.5 kB / 0.7264 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.4969, allocations: 92.8 kB / 0.7265 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000577/0.4975, allocations: 303.2 kB / 0.7268 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.4975, allocations: 38.48 kB / 0.7268 GB, free: 7.543 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.4975, allocations: 0 / 0.7268 GB, free: 7.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000701/0.4982, allocations: 283 kB / 0.7271 GB, free: 7.262 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.4983, allocations: 63.34 kB / 0.7272 GB, free: 7.188 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.4985, allocations: 312.5 kB / 0.7275 GB, free: 6.875 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.4986, allocations: 25.7 kB / 0.7275 GB, free: 6.844 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4987, allocations: 180.2 kB / 0.7277 GB, free: 6.664 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.4987, allocations: 55.2 kB / 0.7277 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.4988, allocations: 45.61 kB / 0.7278 GB, free: 6.559 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4989, allocations: 346.8 kB / 0.7281 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.4991, allocations: 63.95 kB / 0.7281 GB, free: 6.148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.4993, allocations: 125 kB / 0.7283 GB, free: 6.008 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.4996, allocations: 181 kB / 0.7284 GB, free: 5.812 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4996, allocations: 0 / 0.7284 GB, free: 5.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004419/0.5001, allocations: 253.3 kB / 0.7287 GB, free: 5.559 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5001, allocations: 4 kB / 0.7287 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5001, allocations: 0 / 0.7287 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5001, allocations: 4 kB / 0.7287 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.5003, allocations: 43.92 kB / 0.7287 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.5003, allocations: 7.938 kB / 0.7287 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.5005, allocations: 27.73 kB / 0.7288 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.5006, allocations: 15.98 kB / 0.7288 GB, free: 5.457 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.0001217/0.5007, allocations: 153.8 kB / 0.7289 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.5008, allocations: 31.62 kB / 0.729 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.5012, allocations: 214.7 kB / 0.7292 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5012, allocations: 0 / 0.7292 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5012, allocations: 4 kB / 0.7292 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.5012, allocations: 0 / 0.7292 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009159/0.5021, allocations: 0.6837 MB / 0.7298 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.5022, allocations: 8.031 kB / 0.7298 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.5023, allocations: 35.91 kB / 0.7299 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.5023, allocations: 3.938 kB / 0.7299 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.5024, allocations: 8 kB / 0.7299 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5024, allocations: 4 kB / 0.7299 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5024, allocations: 0.6875 kB / 0.7299 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005842/0.503, allocations: 434 kB / 0.7303 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.5031, allocations: 128.8 kB / 0.7304 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.5031, allocations: 11.92 kB / 0.7304 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.5033, allocations: 12 kB / 0.7304 GB, free: 3.602 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.5034, allocations: 11.92 kB / 0.7305 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.5034, allocations: 19.48 kB / 0.7305 GB, free: 3.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000193/0.5036, allocations: 223.1 kB / 0.7307 GB, free: 3.359 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5036, allocations: 4 kB / 0.7307 GB, free: 3.355 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003674/0.504, allocations: 75.89 kB / 0.7308 GB, free: 3.281 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.001014/0.505, allocations: 1.024 MB / 0.7318 GB, free: 2.219 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004008/0.5054, allocations: 175.8 kB / 0.7319 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.5054, allocations: 0 / 0.7319 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.5056, allocations: 91.77 kB / 0.732 GB, free: 1.957 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008422/0.5064, allocations: 170 kB / 0.7322 GB, free: 1.801 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.5097, allocations: 3 MB / 0.7351 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.51, allocations: 0.7756 MB / 0.7359 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.5102, allocations: 62.92 kB / 0.7359 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.5103, allocations: 91.41 kB / 0.736 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.5103, allocations: 0 / 0.736 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3151/0.8254, allocations: 8.576 MB / 0.7444 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/0.8257, allocations: 235.2 kB / 0.7446 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.874, allocations: 0 / 0.7446 GB, free: 5.086 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)