Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_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.004905/0.004905, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.001293/0.001293, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8085/0.8085, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002591/0.002591, allocations: 68.36 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1608, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5862/0.747, allocations: 167.4 MB / 0.8227 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003157/0.7502, allocations: 1.566 MB / 0.8242 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.7505, allocations: 11.84 kB / 0.8242 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.751, allocations: 150.1 kB / 0.8244 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.7526, allocations: 0.7024 MB / 0.825 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.754, allocations: 0.6034 MB / 0.8256 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007158/0.7547, allocations: 0.7156 MB / 0.8263 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.7551, allocations: 233 kB / 0.8266 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.7556, allocations: 351.1 kB / 0.8269 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.7559, allocations: 228.2 kB / 0.8271 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.756, allocations: 22.53 kB / 0.8271 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.7573, allocations: 0.8682 MB / 0.828 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.7574, allocations: 108.3 kB / 0.8281 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.7576, allocations: 176.4 kB / 0.8283 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009686/0.7586, allocations: 0.737 MB / 0.829 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.7586, allocations: 11.98 kB / 0.829 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7586, allocations: 0 / 0.829 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.7586, allocations: 0 / 0.829 GB, free: 1.566 MB / 0.5919 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.0009547/0.7596, allocations: 0.6694 MB / 0.8296 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.7596, allocations: 10.06 kB / 0.8296 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.053e-05/0.7597, allocations: 61.84 kB / 0.8297 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.7608, allocations: 160.3 kB / 0.8299 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.7613, allocations: 328.4 kB / 0.8302 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.7613, allocations: 18.12 kB / 0.8302 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.7614, allocations: 23.53 kB / 0.8302 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.7618, allocations: 290.5 kB / 0.8305 GB, free: 324 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.7619, allocations: 0 / 0.8305 GB, free: 324 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.7619, allocations: 10.75 kB / 0.8305 GB, free: 316 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.7619, allocations: 4.938 kB / 0.8305 GB, free: 316 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.7623, allocations: 207.5 kB / 0.8307 GB, free: 220 kB / 0.5919 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.001429/0.7637, allocations: 1.232 MB / 0.8319 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.764, allocations: 150.6 kB / 0.832 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.7642, allocations: 99.11 kB / 0.8321 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005667/0.7648, allocations: 298.2 kB / 0.8324 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.7648, allocations: 38.5 kB / 0.8325 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.7648, allocations: 0 / 0.8325 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0007477/0.7656, allocations: 299.2 kB / 0.8327 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.7656, allocations: 54.22 kB / 0.8328 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.766, allocations: 324.8 kB / 0.8331 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.766, allocations: 29.7 kB / 0.8331 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.7662, allocations: 186.1 kB / 0.8333 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.7662, allocations: 62.7 kB / 0.8334 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.7663, allocations: 47.59 kB / 0.8334 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.7665, allocations: 346.4 kB / 0.8338 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.7666, allocations: 66.73 kB / 0.8338 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.7669, allocations: 130 kB / 0.8339 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.7672, allocations: 192.6 kB / 0.8341 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.7672, allocations: 0 / 0.8341 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004503/0.7677, allocations: 258.1 kB / 0.8344 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.7677, allocations: 9 kB / 0.8344 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.7677, allocations: 2.625 kB / 0.8344 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7677, allocations: 2.656 kB / 0.8344 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.7679, allocations: 40.33 kB / 0.8344 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.7679, allocations: 2.812 kB / 0.8344 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.7681, allocations: 36.2 kB / 0.8345 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.7682, allocations: 7.688 kB / 0.8345 GB, free: 13.11 MB / 0.6075 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.0001476/0.7683, allocations: 160.4 kB / 0.8346 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.7684, allocations: 34.59 kB / 0.8347 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/0.7689, allocations: 224 kB / 0.8349 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.7689, allocations: 2.625 kB / 0.8349 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7689, allocations: 0 / 0.8349 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.7689, allocations: 0 / 0.8349 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.7699, allocations: 0.7189 MB / 0.8356 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7699, allocations: 4.25 kB / 0.8356 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.7701, allocations: 33.11 kB / 0.8356 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.7701, allocations: 12.97 kB / 0.8356 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.7701, allocations: 2.812 kB / 0.8356 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7701, allocations: 2.438 kB / 0.8356 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7702, allocations: 2.438 kB / 0.8356 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.7709, allocations: 449.4 kB / 0.8361 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.771, allocations: 131.9 kB / 0.8362 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.7711, allocations: 9.812 kB / 0.8362 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.7712, allocations: 9.609 kB / 0.8362 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.7713, allocations: 23.36 kB / 0.8362 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.7713, allocations: 7.75 kB / 0.8362 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002201/0.7715, allocations: 233 kB / 0.8364 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7716, allocations: 0 / 0.8364 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003417/0.7719, allocations: 79.38 kB / 0.8365 GB, free: 11.54 MB / 0.6075 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.001258/0.7732, allocations: 1.051 MB / 0.8376 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000434/0.7736, allocations: 192.3 kB / 0.8377 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7736, allocations: 0 / 0.8377 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.7738, allocations: 88.77 kB / 0.8378 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008155/0.7747, allocations: 158.3 kB / 0.838 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.7783, allocations: 3.009 MB / 0.8409 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.7787, allocations: 0.7772 MB / 0.8417 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.7789, allocations: 68.61 kB / 0.8417 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.779, allocations: 93.41 kB / 0.8418 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.7791, allocations: 0 / 0.8418 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.8132, allocations: 9.015 MB / 0.8506 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.903, allocations: 11.03 kB / 0.8506 GB, free: 1.664 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)