Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007616/0.0007616, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008606/0.0008606, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9027/0.9027, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7404/0.7404, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.61e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.494/0.494, allocations: 147.6 MB / 0.7622 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002888/0.4969, allocations: 1.493 MB / 0.7637 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.4974, allocations: 16.22 kB / 0.7637 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.498, allocations: 168.5 kB / 0.7639 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.5, allocations: 0.7113 MB / 0.7645 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.5018, allocations: 0.6871 MB / 0.7652 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001075/0.5029, allocations: 0.7209 MB / 0.7659 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.5033, allocations: 190 kB / 0.7661 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.5045, allocations: 0.6147 MB / 0.7667 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.5047, allocations: 193.9 kB / 0.7669 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.5047, allocations: 22.94 kB / 0.7669 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.5062, allocations: 0.7135 MB / 0.7676 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.5064, allocations: 117.9 kB / 0.7677 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.5065, allocations: 125.3 kB / 0.7678 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.5078, allocations: 0.7444 MB / 0.7686 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5078, allocations: 0.6562 kB / 0.7686 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.113e-06/0.5078, allocations: 0 / 0.7686 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.5078, allocations: 0 / 0.7686 GB, free: 5.117 MB / 0.6355 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.0009126/0.5087, allocations: 0.5942 MB / 0.7691 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.824e-05/0.5088, allocations: 11.25 kB / 0.7692 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.319e-05/0.5088, allocations: 55.72 kB / 0.7692 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007581/0.5096, allocations: 163.7 kB / 0.7694 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.5101, allocations: 254.4 kB / 0.7696 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.5101, allocations: 25.75 kB / 0.7696 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.5101, allocations: 27.78 kB / 0.7697 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.5106, allocations: 282.9 kB / 0.7699 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5106, allocations: 0 / 0.7699 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.5106, allocations: 11.12 kB / 0.7699 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.5106, allocations: 6.812 kB / 0.7699 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.5109, allocations: 199.1 kB / 0.7701 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.512, allocations: 0.9886 MB / 0.7711 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.5122, allocations: 137.8 kB / 0.7712 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.5123, allocations: 93.06 kB / 0.7713 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/0.5127, allocations: 79.22 kB / 0.7714 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.5127, allocations: 40.23 kB / 0.7714 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.5127, allocations: 0 / 0.7714 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0006017/0.5133, allocations: 296.8 kB / 0.7717 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.5133, allocations: 59.45 kB / 0.7718 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.5136, allocations: 331.5 kB / 0.7721 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.5136, allocations: 26.89 kB / 0.7721 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.5137, allocations: 188.7 kB / 0.7723 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.5137, allocations: 59.5 kB / 0.7724 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.5138, allocations: 46.94 kB / 0.7724 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.372e-05/0.5138, allocations: 340.2 kB / 0.7727 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.514, allocations: 69.88 kB / 0.7728 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.5141, allocations: 207.3 kB / 0.773 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.5144, allocations: 197.4 kB / 0.7732 GB, free: 2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5144, allocations: 1.375 kB / 0.7732 GB, free: 2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00032/0.5147, allocations: 257.6 kB / 0.7734 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5147, allocations: 4.969 kB / 0.7734 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5147, allocations: 5.094 kB / 0.7734 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.5147, allocations: 3.234 kB / 0.7734 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.5149, allocations: 49.39 kB / 0.7735 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5149, allocations: 3.469 kB / 0.7735 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.515, allocations: 29.81 kB / 0.7735 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.5151, allocations: 7.891 kB / 0.7735 GB, free: 1.859 MB / 0.6355 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.0001015/0.5152, allocations: 150.2 kB / 0.7737 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.5152, allocations: 40.05 kB / 0.7737 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.5155, allocations: 235.6 kB / 0.7739 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5155, allocations: 1.719 kB / 0.7739 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5155, allocations: 0.5156 kB / 0.7739 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5155, allocations: 0.6562 kB / 0.7739 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007846/0.5163, allocations: 0.6533 MB / 0.7746 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5163, allocations: 2.656 kB / 0.7746 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.5164, allocations: 35.44 kB / 0.7746 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.5164, allocations: 4.734 kB / 0.7746 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.5165, allocations: 6.844 kB / 0.7746 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5165, allocations: 6.297 kB / 0.7746 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.5165, allocations: 3.109 kB / 0.7746 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/0.5169, allocations: 449.8 kB / 0.7751 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.517, allocations: 51.11 kB / 0.7751 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.517, allocations: 8 kB / 0.7751 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.5171, allocations: 7.5 kB / 0.7751 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.5172, allocations: 24.89 kB / 0.7751 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.5172, allocations: 10.48 kB / 0.7752 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001804/0.5174, allocations: 230.4 kB / 0.7754 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5174, allocations: 0 / 0.7754 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003467/0.5177, allocations: 85.72 kB / 0.7755 GB, free: 0.6797 MB / 0.6355 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.0008036/0.5185, allocations: 1.023 MB / 0.7765 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.5188, allocations: 179.5 kB / 0.7766 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5189, allocations: 3.938 kB / 0.7766 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.519, allocations: 88.31 kB / 0.7767 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.5196, allocations: 174.3 kB / 0.7769 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.5227, allocations: 2.983 MB / 0.7798 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.5228, allocations: 185.8 kB / 0.78 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.523, allocations: 65.23 kB / 0.78 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5232, allocations: 96.73 kB / 0.7801 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of SimCode: time 2.004e-06/0.5232, allocations: 0 / 0.7801 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.5512, allocations: 10.26 MB / 0.7901 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.83, allocations: 3.031 kB / 0.7901 GB, free: 11.21 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.692494688555598] Failed to read output from testmodel.py, exit status != 0: 7.914831257425249 7.923149668 7.413611851 Calling exit ...