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.001208/0.001208, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 182.9 kB / 16.92 MB, free: 6.934 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6727/0.6727, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 12 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1487, allocations: 77.53 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4501/0.5988, allocations: 162.9 MB / 0.7192 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002695/0.6016, allocations: 1.545 MB / 0.7207 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004538/0.6021, allocations: 7.938 kB / 0.7207 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005353/0.6026, allocations: 119.2 kB / 0.7208 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.6044, allocations: 0.6653 MB / 0.7215 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.6059, allocations: 0.5535 MB / 0.722 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.6069, allocations: 0.9703 MB / 0.7229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.6072, allocations: 189.5 kB / 0.7231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005248/0.6078, allocations: 302.8 kB / 0.7234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.6081, allocations: 231 kB / 0.7236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.6081, allocations: 12 kB / 0.7236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.6095, allocations: 1.013 MB / 0.7246 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.6096, allocations: 95.7 kB / 0.7247 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.6098, allocations: 180.9 kB / 0.7249 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000918/0.6107, allocations: 0.7595 MB / 0.7256 GB, free: 13.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6107, allocations: 0 / 0.7256 GB, free: 13.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6107, allocations: 0 / 0.7256 GB, free: 13.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.6107, allocations: 0 / 0.7256 GB, free: 13.12 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.0008304/0.6116, allocations: 0.6028 MB / 0.7262 GB, free: 12.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.6116, allocations: 8.031 kB / 0.7262 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.659e-05/0.6117, allocations: 58.53 kB / 0.7263 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.6128, allocations: 151.5 kB / 0.7264 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.6132, allocations: 309.7 kB / 0.7267 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.6132, allocations: 20.44 kB / 0.7267 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.6133, allocations: 24 kB / 0.7268 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.6137, allocations: 275.5 kB / 0.727 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.6138, allocations: 4 kB / 0.727 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.6138, allocations: 8 kB / 0.727 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.6138, allocations: 8 kB / 0.7271 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.6142, allocations: 219.7 kB / 0.7273 GB, free: 11.34 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.001335/0.6156, allocations: 1.209 MB / 0.7284 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.6159, allocations: 138.5 kB / 0.7286 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.6161, allocations: 101.4 kB / 0.7287 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000592/0.6167, allocations: 315.2 kB / 0.729 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.6167, allocations: 34.5 kB / 0.729 GB, free: 9.379 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.562e-06/0.6167, allocations: 3.938 kB / 0.729 GB, free: 9.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007827/0.6175, allocations: 299.1 kB / 0.7293 GB, free: 9.078 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.6175, allocations: 55.41 kB / 0.7293 GB, free: 9.012 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.6178, allocations: 316.5 kB / 0.7296 GB, free: 8.691 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.6179, allocations: 29.7 kB / 0.7297 GB, free: 8.656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.618, allocations: 180.2 kB / 0.7298 GB, free: 8.477 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.6181, allocations: 55.2 kB / 0.7299 GB, free: 8.422 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.6181, allocations: 29.64 kB / 0.7299 GB, free: 8.387 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6182, allocations: 338.8 kB / 0.7303 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.6184, allocations: 71.89 kB / 0.7303 GB, free: 7.977 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.6186, allocations: 137 kB / 0.7305 GB, free: 7.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.619, allocations: 201 kB / 0.7306 GB, free: 7.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.619, allocations: 0 / 0.7306 GB, free: 7.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004854/0.6195, allocations: 245.1 kB / 0.7309 GB, free: 7.363 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6195, allocations: 8 kB / 0.7309 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6195, allocations: 1.062 kB / 0.7309 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.6196, allocations: 4 kB / 0.7309 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.6198, allocations: 47.91 kB / 0.7309 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6198, allocations: 4.094 kB / 0.7309 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.62, allocations: 39.73 kB / 0.731 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.6201, allocations: 8 kB / 0.731 GB, free: 7.254 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.0001344/0.6202, allocations: 153.6 kB / 0.7311 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.6202, allocations: 31.7 kB / 0.7312 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.6207, allocations: 222.6 kB / 0.7314 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6207, allocations: 7.984 kB / 0.7314 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6208, allocations: 0 / 0.7314 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6208, allocations: 0 / 0.7314 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.6218, allocations: 0.699 MB / 0.7321 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.6218, allocations: 0.8125 kB / 0.7321 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.622, allocations: 35.98 kB / 0.7321 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.622, allocations: 4 kB / 0.7321 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.622, allocations: 7.938 kB / 0.7321 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.622, allocations: 7.922 kB / 0.7321 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.622, allocations: 8 kB / 0.7321 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006657/0.6227, allocations: 455 kB / 0.7326 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.6228, allocations: 120.8 kB / 0.7327 GB, free: 5.379 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.6229, allocations: 7.938 kB / 0.7327 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.6231, allocations: 27.89 kB / 0.7327 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.6231, allocations: 15.98 kB / 0.7327 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.6231, allocations: 4 kB / 0.7327 GB, free: 5.324 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002063/0.6234, allocations: 227 kB / 0.7329 GB, free: 5.105 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6234, allocations: 0 / 0.7329 GB, free: 5.105 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003896/0.6238, allocations: 76 kB / 0.733 GB, free: 5.031 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.001124/0.6249, allocations: 1.055 MB / 0.734 GB, free: 3.938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004203/0.6253, allocations: 179.9 kB / 0.7342 GB, free: 3.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6253, allocations: 8.062 kB / 0.7342 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.6255, allocations: 87.83 kB / 0.7343 GB, free: 3.668 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009882/0.6265, allocations: 156 kB / 0.7345 GB, free: 3.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.6302, allocations: 3.055 MB / 0.7374 GB, free: 320 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.6305, allocations: 0.7758 MB / 0.7382 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002383/0.6308, allocations: 58.92 kB / 0.7383 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.6309, allocations: 91.41 kB / 0.7383 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.6309, allocations: 7.938 kB / 0.7384 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.6509, allocations: 8.214 MB / 0.7464 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.6511, allocations: 238.5 kB / 0.7466 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.591, allocations: 0 / 0.7466 GB, free: 7.098 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)