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.001105/0.001105, allocations: 102.9 kB / 16.27 MB, free: 6.414 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.001173/0.001174, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.272/1.272, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.744/0.744, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 71.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3395, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1637/0.5032, allocations: 167.3 MB / 0.7307 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002578/0.5058, allocations: 1.552 MB / 0.7322 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003933/0.5062, allocations: 11.94 kB / 0.7322 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004999/0.5067, allocations: 154.8 kB / 0.7324 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.5084, allocations: 0.6961 MB / 0.7331 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.51, allocations: 0.5996 MB / 0.7336 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009977/0.511, allocations: 0.709 MB / 0.7343 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005004/0.5115, allocations: 237 kB / 0.7346 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008505/0.5124, allocations: 326.8 kB / 0.7349 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005053/0.5129, allocations: 219 kB / 0.7351 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.537e-05/0.513, allocations: 20 kB / 0.7351 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.5146, allocations: 0.8728 MB / 0.736 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.5148, allocations: 99.7 kB / 0.736 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.5149, allocations: 171.1 kB / 0.7362 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.5162, allocations: 0.7052 MB / 0.7369 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5162, allocations: 0 / 0.7369 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5162, allocations: 0 / 0.7369 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.5162, allocations: 4 kB / 0.7369 GB, free: 12.56 MB / 0.5762 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.001098/0.5174, allocations: 0.6505 MB / 0.7375 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5174, allocations: 8.625 kB / 0.7375 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.074e-05/0.5175, allocations: 58.53 kB / 0.7376 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.5187, allocations: 151.5 kB / 0.7377 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.5191, allocations: 309.6 kB / 0.738 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.5191, allocations: 20.44 kB / 0.7381 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.5192, allocations: 24 kB / 0.7381 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.5196, allocations: 275.4 kB / 0.7383 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.5196, allocations: 0 / 0.7383 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.5197, allocations: 12 kB / 0.7384 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.5197, allocations: 4 kB / 0.7384 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.5201, allocations: 203.8 kB / 0.7386 GB, free: 10.75 MB / 0.5762 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.001437/0.5216, allocations: 1.205 MB / 0.7397 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.5218, allocations: 138.5 kB / 0.7399 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.522, allocations: 92.8 kB / 0.74 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006014/0.5226, allocations: 311.1 kB / 0.7402 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.5227, allocations: 34.55 kB / 0.7403 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.5227, allocations: 0 / 0.7403 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007725/0.5235, allocations: 279.7 kB / 0.7405 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.5235, allocations: 59.39 kB / 0.7406 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.5238, allocations: 316.5 kB / 0.7409 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.5239, allocations: 25.7 kB / 0.7409 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.524, allocations: 188.1 kB / 0.7411 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.5241, allocations: 51.2 kB / 0.7412 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.5241, allocations: 41.7 kB / 0.7412 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5243, allocations: 342.8 kB / 0.7415 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.5245, allocations: 67.95 kB / 0.7416 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.5247, allocations: 122.3 kB / 0.7417 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.525, allocations: 193 kB / 0.7419 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.525, allocations: 0 / 0.7419 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004541/0.5255, allocations: 244.3 kB / 0.7421 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5255, allocations: 15.88 kB / 0.7421 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5255, allocations: 0 / 0.7421 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5255, allocations: 4 kB / 0.7421 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.5257, allocations: 40.08 kB / 0.7422 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5258, allocations: 0 / 0.7422 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.526, allocations: 35.77 kB / 0.7422 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.526, allocations: 12 kB / 0.7422 GB, free: 6.711 MB / 0.5762 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.0001425/0.5262, allocations: 153.7 kB / 0.7424 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.5262, allocations: 31.62 kB / 0.7424 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/0.5267, allocations: 220.3 kB / 0.7426 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5267, allocations: 0 / 0.7426 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5267, allocations: 0 / 0.7426 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5267, allocations: 4 kB / 0.7426 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.5278, allocations: 0.6796 MB / 0.7433 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5278, allocations: 0 / 0.7433 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.528, allocations: 35.91 kB / 0.7433 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.528, allocations: 7.938 kB / 0.7433 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.528, allocations: 8 kB / 0.7433 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.528, allocations: 4.219 kB / 0.7433 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.528, allocations: 4 kB / 0.7433 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.5287, allocations: 436.9 kB / 0.7438 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.5288, allocations: 128.7 kB / 0.7439 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.5289, allocations: 0 / 0.7439 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.529, allocations: 15.98 kB / 0.7439 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.5291, allocations: 12.05 kB / 0.7439 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.5291, allocations: 8 kB / 0.7439 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002084/0.5293, allocations: 227 kB / 0.7441 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5293, allocations: 3.938 kB / 0.7441 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003695/0.5297, allocations: 75.91 kB / 0.7442 GB, free: 4.535 MB / 0.5762 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.001121/0.5308, allocations: 1.041 MB / 0.7452 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004193/0.5313, allocations: 179.7 kB / 0.7454 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5313, allocations: 4 kB / 0.7454 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.5315, allocations: 88.08 kB / 0.7455 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008708/0.5323, allocations: 166.4 kB / 0.7456 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2293/0.7617, allocations: 2.902 MB / 0.7485 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.7621, allocations: 0.7832 MB / 0.7492 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003681/0.7625, allocations: 63.77 kB / 0.7493 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.7627, allocations: 85.77 kB / 0.7494 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.7627, allocations: 0 / 0.7494 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.7925, allocations: 8.725 MB / 0.7579 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.288/8.08, allocations: 13.95 kB / 0.7579 GB, free: 170.3 MB / 0.5762 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)