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.004551/0.00455, allocations: 99.56 kB / 15.73 MB, free: 6.48 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.001313/0.001313, allocations: 193.4 kB / 16.68 MB, free: 6.363 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7518/0.7518, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 68.7 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1578, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5812/0.7391, allocations: 167.4 MB / 0.8227 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002972/0.7421, allocations: 1.555 MB / 0.8242 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003954/0.7426, allocations: 14.28 kB / 0.8242 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005256/0.7431, allocations: 154.1 kB / 0.8244 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.7452, allocations: 0.7369 MB / 0.8251 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.7471, allocations: 0.6102 MB / 0.8257 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000981/0.748, allocations: 0.7198 MB / 0.8264 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003894/0.7484, allocations: 237.1 kB / 0.8266 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.7491, allocations: 353.4 kB / 0.8269 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.7494, allocations: 230.4 kB / 0.8272 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.7495, allocations: 25.17 kB / 0.8272 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.7511, allocations: 0.8667 MB / 0.828 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.7513, allocations: 117.7 kB / 0.8281 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.7515, allocations: 170.2 kB / 0.8283 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.7528, allocations: 0.7412 MB / 0.829 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7528, allocations: 0 / 0.829 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.275e-06/0.7528, allocations: 1.25 kB / 0.829 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.7528, allocations: 1.094 kB / 0.829 GB, free: 2.758 MB / 0.6387 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.0009147/0.7537, allocations: 0.6776 MB / 0.8297 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.7538, allocations: 11.22 kB / 0.8297 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/0.7538, allocations: 58 kB / 0.8298 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.755, allocations: 164.2 kB / 0.8299 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.7555, allocations: 329.1 kB / 0.8302 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.7556, allocations: 17.75 kB / 0.8302 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.7556, allocations: 23 kB / 0.8303 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.7561, allocations: 285 kB / 0.8305 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.7561, allocations: 1.188 kB / 0.8305 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.7562, allocations: 14.22 kB / 0.8306 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.7562, allocations: 5.969 kB / 0.8306 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.7566, allocations: 204.3 kB / 0.8308 GB, free: 1.887 MB / 0.6387 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.001355/0.758, allocations: 1.225 MB / 0.8319 GB, free: 17.06 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.7583, allocations: 147.3 kB / 0.8321 GB, free: 17.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.7584, allocations: 95.72 kB / 0.8322 GB, free: 17.03 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005577/0.759, allocations: 302.7 kB / 0.8325 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.759, allocations: 39.69 kB / 0.8325 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.759, allocations: 0 / 0.8325 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17): time 0.0007752/0.7598, allocations: 305 kB / 0.8328 GB, free: 16.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.7599, allocations: 53.47 kB / 0.8328 GB, free: 16.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.7602, allocations: 319.8 kB / 0.8332 GB, free: 16.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.7602, allocations: 26.92 kB / 0.8332 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.7603, allocations: 193.3 kB / 0.8334 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.7604, allocations: 62.55 kB / 0.8334 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.7605, allocations: 48.7 kB / 0.8335 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.7606, allocations: 340.1 kB / 0.8338 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.7607, allocations: 70.09 kB / 0.8339 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.7609, allocations: 121.2 kB / 0.834 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.7613, allocations: 201.9 kB / 0.8342 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7613, allocations: 1.281 kB / 0.8342 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004472/0.7617, allocations: 258.1 kB / 0.8344 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.7618, allocations: 10.16 kB / 0.8344 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7618, allocations: 5.312 kB / 0.8344 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.7618, allocations: 3.719 kB / 0.8344 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.762, allocations: 50.25 kB / 0.8345 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.762, allocations: 5.891 kB / 0.8345 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.7623, allocations: 34.45 kB / 0.8345 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.7623, allocations: 8.312 kB / 0.8345 GB, free: 15.8 MB / 0.6544 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.0001449/0.7625, allocations: 150.5 kB / 0.8347 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.7625, allocations: 36.38 kB / 0.8347 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004655/0.763, allocations: 233.6 kB / 0.8349 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.763, allocations: 1.094 kB / 0.8349 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.763, allocations: 1.156 kB / 0.8349 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.763, allocations: 0.8125 kB / 0.8349 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009926/0.764, allocations: 0.7065 MB / 0.8356 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.764, allocations: 1.281 kB / 0.8356 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.7642, allocations: 42.08 kB / 0.8357 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.7642, allocations: 2.812 kB / 0.8357 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.7643, allocations: 5.688 kB / 0.8357 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.7643, allocations: 3.562 kB / 0.8357 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7643, allocations: 3.172 kB / 0.8357 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.7649, allocations: 457.8 kB / 0.8361 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.765, allocations: 128.6 kB / 0.8362 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.7651, allocations: 9.156 kB / 0.8362 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.7652, allocations: 12.98 kB / 0.8363 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.7653, allocations: 20.05 kB / 0.8363 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.7653, allocations: 5.5 kB / 0.8363 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002014/0.7655, allocations: 234.3 kB / 0.8365 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7655, allocations: 0 / 0.8365 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004345/0.766, allocations: 81.58 kB / 0.8366 GB, free: 14.85 MB / 0.6544 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.00124/0.7672, allocations: 1.042 MB / 0.8376 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004274/0.7677, allocations: 183.1 kB / 0.8378 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7677, allocations: 1.547 kB / 0.8378 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.7679, allocations: 90.89 kB / 0.8379 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008868/0.7688, allocations: 168.6 kB / 0.838 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.7724, allocations: 3.009 MB / 0.841 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.7728, allocations: 0.7759 MB / 0.8417 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002375/0.773, allocations: 66.22 kB / 0.8418 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.7731, allocations: 93 kB / 0.8419 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of SimCode: time 3.9e-07/0.7732, allocations: 3.5 kB / 0.8419 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.8031, allocations: 9.026 MB / 0.8507 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.722, allocations: 3.984 kB / 0.8507 GB, free: 11.12 MB / 0.6544 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)