Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.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.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",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.001713/0.001713, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001967/0.001968, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.3/1.3, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7122/0.7122, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 0.4912 GB, free: 7.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3252, allocations: 77.93 MB / 0.5673 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.17/0.4952, allocations: 167.4 MB / 0.7308 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002822/0.498, allocations: 1.558 MB / 0.7323 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004099/0.4985, allocations: 11.94 kB / 0.7323 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.499, allocations: 154.8 kB / 0.7324 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.5009, allocations: 0.7039 MB / 0.7331 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.5024, allocations: 0.5994 MB / 0.7337 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009453/0.5034, allocations: 0.7177 MB / 0.7344 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.5039, allocations: 237 kB / 0.7346 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007563/0.5046, allocations: 346.7 kB / 0.735 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003586/0.505, allocations: 231 kB / 0.7352 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.799e-05/0.5051, allocations: 20 kB / 0.7352 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.5065, allocations: 0.8612 MB / 0.736 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.5067, allocations: 115.6 kB / 0.7362 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.5069, allocations: 167.2 kB / 0.7363 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.508, allocations: 0.7325 MB / 0.737 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.508, allocations: 0 / 0.737 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.508, allocations: 0 / 0.737 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.508, allocations: 0 / 0.737 GB, free: 12.45 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009983/0.509, allocations: 0.6583 MB / 0.7377 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5091, allocations: 20.5 kB / 0.7377 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.882e-05/0.5092, allocations: 54.55 kB / 0.7377 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.5104, allocations: 155.5 kB / 0.7379 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.5109, allocations: 318.6 kB / 0.7382 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.511, allocations: 16.5 kB / 0.7382 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.511, allocations: 24 kB / 0.7382 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.5116, allocations: 281.8 kB / 0.7385 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.5117, allocations: 4 kB / 0.7385 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.5117, allocations: 8 kB / 0.7385 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.5117, allocations: 8 kB / 0.7385 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.5122, allocations: 200.9 kB / 0.7387 GB, free: 10.61 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.001969/0.5142, allocations: 1.242 MB / 0.7399 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.5145, allocations: 142.5 kB / 0.7401 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.5147, allocations: 100.7 kB / 0.7402 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006998/0.5154, allocations: 303.2 kB / 0.7404 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.5155, allocations: 30.56 kB / 0.7405 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 2.124e-06/0.5155, allocations: 0 / 0.7405 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0008444/0.5163, allocations: 299.4 kB / 0.7408 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.5164, allocations: 55.41 kB / 0.7408 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.5167, allocations: 320.5 kB / 0.7411 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.5168, allocations: 33.7 kB / 0.7412 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.5169, allocations: 176.2 kB / 0.7413 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.517, allocations: 63.09 kB / 0.7414 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.517, allocations: 45.7 kB / 0.7414 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5172, allocations: 342.8 kB / 0.7417 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.5174, allocations: 63.95 kB / 0.7418 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.5176, allocations: 129.7 kB / 0.7419 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.518, allocations: 198.7 kB / 0.7421 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.518, allocations: 0 / 0.7421 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004977/0.5185, allocations: 254.5 kB / 0.7424 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5185, allocations: 11.98 kB / 0.7424 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5186, allocations: 4 kB / 0.7424 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.5186, allocations: 0 / 0.7424 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.5188, allocations: 47.86 kB / 0.7424 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.5188, allocations: 4 kB / 0.7424 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.519, allocations: 31.67 kB / 0.7425 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.5191, allocations: 12 kB / 0.7425 GB, free: 6.477 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 (24): * Single equations (assignments): 24 * 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.0001345/0.5192, allocations: 161.7 kB / 0.7426 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.5193, allocations: 27.62 kB / 0.7427 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/0.5197, allocations: 228.7 kB / 0.7429 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5197, allocations: 4 kB / 0.7429 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5197, allocations: 0 / 0.7429 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5198, allocations: 0 / 0.7429 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.5208, allocations: 0.7146 MB / 0.7436 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5208, allocations: 144 / 0.7436 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.521, allocations: 44.12 kB / 0.7436 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.521, allocations: 7.984 kB / 0.7436 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.5211, allocations: 7.938 kB / 0.7436 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-05/0.5211, allocations: 4 kB / 0.7436 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5211, allocations: 4.094 kB / 0.7436 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.5218, allocations: 451 kB / 0.7441 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.5219, allocations: 120.7 kB / 0.7442 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.522, allocations: 11.94 kB / 0.7442 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.5222, allocations: 16.05 kB / 0.7442 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.5222, allocations: 11.98 kB / 0.7442 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.5222, allocations: 8 kB / 0.7442 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002318/0.5225, allocations: 235 kB / 0.7445 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5225, allocations: 3.938 kB / 0.7445 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003936/0.5229, allocations: 79.84 kB / 0.7445 GB, free: 4.223 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 (17): * Single equations (assignments): 17 * 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.001266/0.5241, allocations: 1.043 MB / 0.7456 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.5246, allocations: 190.1 kB / 0.7457 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5246, allocations: 0 / 0.7457 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.5248, allocations: 91.83 kB / 0.7458 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009195/0.5257, allocations: 174.5 kB / 0.746 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2236/0.7494, allocations: 3.014 MB / 0.7489 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.7497, allocations: 0.7812 MB / 0.7497 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003266/0.75, allocations: 65.81 kB / 0.7498 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.7502, allocations: 93.19 kB / 0.7498 GB, free: 171 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.7502, allocations: 0 / 0.7498 GB, free: 171 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.7812, allocations: 8.941 MB / 0.7586 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/8.048, allocations: 16.02 kB / 0.7586 GB, free: 169.3 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_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_Velocity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)