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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 215.2 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8705/0.8705, allocations: 134 MB / 446.4 MB, free: 9.941 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 69.81 kB / 0.6185 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1912, allocations: 85.91 MB / 0.7024 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5995/0.7908, allocations: 147.7 MB / 0.8466 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.7938, allocations: 1.492 MB / 0.848 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004116/0.7942, allocations: 19.81 kB / 0.8481 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005831/0.7948, allocations: 150.9 kB / 0.8482 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.7968, allocations: 0.7118 MB / 0.8489 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.7985, allocations: 0.6113 MB / 0.8495 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0009186/0.7994, allocations: 0.7371 MB / 0.8502 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.7998, allocations: 189.3 kB / 0.8504 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006583/0.8004, allocations: 358.7 kB / 0.8507 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.8008, allocations: 235 kB / 0.851 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.8008, allocations: 28 kB / 0.851 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.802, allocations: 0.7166 MB / 0.8517 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.8022, allocations: 115.7 kB / 0.8518 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.8023, allocations: 143.3 kB / 0.8519 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.8034, allocations: 0.7145 MB / 0.8526 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.8034, allocations: 4 kB / 0.8526 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8034, allocations: 0 / 0.8526 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.8034, allocations: 0 / 0.8526 GB, free: 9.395 MB / 0.6231 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.0009755/0.8044, allocations: 0.6018 MB / 0.8532 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.8044, allocations: 8.031 kB / 0.8532 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.647e-05/0.8045, allocations: 66.47 kB / 0.8533 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.8056, allocations: 155.6 kB / 0.8534 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.8061, allocations: 264.5 kB / 0.8537 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.8062, allocations: 20.44 kB / 0.8537 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.8062, allocations: 27.95 kB / 0.8537 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.8067, allocations: 281 kB / 0.854 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.8067, allocations: 3.938 kB / 0.854 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.8067, allocations: 12 kB / 0.854 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.8067, allocations: 4 kB / 0.854 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.8072, allocations: 204.9 kB / 0.8542 GB, free: 7.68 MB / 0.6231 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.001415/0.8086, allocations: 0.9958 MB / 0.8552 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.8089, allocations: 134.5 kB / 0.8553 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.8091, allocations: 94.91 kB / 0.8554 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.8095, allocations: 75.91 kB / 0.8555 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.8096, allocations: 34.56 kB / 0.8555 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.8096, allocations: 0 / 0.8555 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17): time 0.0008841/0.8105, allocations: 301.5 kB / 0.8558 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.8105, allocations: 51.41 kB / 0.8559 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.8109, allocations: 328.4 kB / 0.8562 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.8109, allocations: 29.7 kB / 0.8562 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.8111, allocations: 188.2 kB / 0.8564 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.8111, allocations: 67.47 kB / 0.8564 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/0.8112, allocations: 41.7 kB / 0.8565 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.8114, allocations: 342.8 kB / 0.8568 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.8115, allocations: 71.95 kB / 0.8569 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.8119, allocations: 202.2 kB / 0.8571 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.8123, allocations: 198.4 kB / 0.8573 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8123, allocations: 0 / 0.8573 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004818/0.8127, allocations: 253.7 kB / 0.8575 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8128, allocations: 8 kB / 0.8575 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.8128, allocations: 0 / 0.8575 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.8128, allocations: 7.984 kB / 0.8575 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.813, allocations: 47.92 kB / 0.8576 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.813, allocations: 0 / 0.8576 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.8132, allocations: 31.83 kB / 0.8576 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.8133, allocations: 8 kB / 0.8576 GB, free: 4.039 MB / 0.6231 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.0001509/0.8134, allocations: 157.8 kB / 0.8577 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.8135, allocations: 35.89 kB / 0.8578 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/0.8139, allocations: 238.9 kB / 0.858 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.8139, allocations: 0 / 0.858 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8139, allocations: 0 / 0.858 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.814, allocations: 4 kB / 0.858 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.815, allocations: 0.6552 MB / 0.8587 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.815, allocations: 0 / 0.8587 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.8152, allocations: 40.78 kB / 0.8587 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.8152, allocations: 7.938 kB / 0.8587 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.8152, allocations: 8 kB / 0.8587 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8152, allocations: 0 / 0.8587 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.8152, allocations: 4.219 kB / 0.8587 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007011/0.8159, allocations: 449.1 kB / 0.8591 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.816, allocations: 51.72 kB / 0.8592 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.8161, allocations: 14.31 kB / 0.8592 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.8163, allocations: 4 kB / 0.8592 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.8163, allocations: 19.97 kB / 0.8592 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.8163, allocations: 4 kB / 0.8592 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000255/0.8166, allocations: 239.1 kB / 0.8595 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.8166, allocations: 0 / 0.8595 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004234/0.817, allocations: 79.89 kB / 0.8595 GB, free: 1.934 MB / 0.6231 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.001233/0.8182, allocations: 1.029 MB / 0.8605 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.8187, allocations: 175.8 kB / 0.8607 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8187, allocations: 0 / 0.8607 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.8189, allocations: 87.83 kB / 0.8608 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008633/0.8197, allocations: 168.7 kB / 0.8609 GB, free: 460 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.8237, allocations: 3.019 MB / 0.8639 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.8238, allocations: 171.8 kB / 0.8641 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000221/0.8241, allocations: 66.92 kB / 0.8641 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.8242, allocations: 91.41 kB / 0.8642 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.8242, allocations: 0 / 0.8642 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04089/0.8651, allocations: 10.17 MB / 0.8741 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.09, allocations: 3.234 kB / 0.8741 GB, free: 3.051 MB / 0.6387 GB " [Timeout remaining time 648] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.94179347390309] Failed to read output from testmodel.py, exit status != 0: 12.215835679788142 12.244855602 11.436353878 Calling exit ...