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.0008163/0.0008163, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000804/0.000804, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.869/0.869, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7607/0.7607, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 7.875 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.342e-05, allocations: 9.094 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.4765/0.4765, allocations: 147.6 MB / 0.7623 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002564/0.479, allocations: 1.506 MB / 0.7637 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.4794, allocations: 15.12 kB / 0.7638 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.4799, allocations: 156.2 kB / 0.7639 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.4816, allocations: 0.7273 MB / 0.7646 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.4833, allocations: 0.6805 MB / 0.7653 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.4846, allocations: 0.724 MB / 0.766 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004861/0.485, allocations: 185.3 kB / 0.7662 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.4867, allocations: 0.6101 MB / 0.7668 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003835/0.4871, allocations: 198 kB / 0.7669 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.815e-05/0.4872, allocations: 23.75 kB / 0.767 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.4892, allocations: 0.7135 MB / 0.7677 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.4894, allocations: 117.6 kB / 0.7678 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.4896, allocations: 126.7 kB / 0.7679 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.4908, allocations: 0.7348 MB / 0.7686 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4908, allocations: 0.7969 kB / 0.7686 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4908, allocations: 1.125 kB / 0.7686 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4908, allocations: 4 kB / 0.7686 GB, free: 5.043 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.0008145/0.4916, allocations: 0.5982 MB / 0.7692 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.4917, allocations: 9.438 kB / 0.7692 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.4917, allocations: 55.58 kB / 0.7693 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007085/0.4924, allocations: 160.6 kB / 0.7694 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.4929, allocations: 265.6 kB / 0.7697 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4929, allocations: 14.09 kB / 0.7697 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.4929, allocations: 24.55 kB / 0.7697 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.4934, allocations: 286.4 kB / 0.77 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4934, allocations: 0 / 0.77 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.4934, allocations: 14.19 kB / 0.77 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.4934, allocations: 6.188 kB / 0.77 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.4937, allocations: 200.3 kB / 0.7702 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009824/0.4947, allocations: 0.9848 MB / 0.7712 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.4949, allocations: 144.9 kB / 0.7713 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.4951, allocations: 92.44 kB / 0.7714 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.4954, allocations: 74.48 kB / 0.7715 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.4954, allocations: 41.33 kB / 0.7715 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 2.174e-06/0.4954, allocations: 3.281 kB / 0.7715 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0005522/0.4959, allocations: 301.6 kB / 0.7718 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.496, allocations: 53.66 kB / 0.7718 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.4962, allocations: 329.9 kB / 0.7721 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.4962, allocations: 26.98 kB / 0.7722 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.983e-05/0.4963, allocations: 183.8 kB / 0.7723 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.4964, allocations: 67.62 kB / 0.7724 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.4964, allocations: 43.41 kB / 0.7725 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.358e-05/0.4965, allocations: 340.1 kB / 0.7728 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.4966, allocations: 70.16 kB / 0.7728 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.4967, allocations: 203.6 kB / 0.773 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.497, allocations: 202.6 kB / 0.7732 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.497, allocations: 0 / 0.7732 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003306/0.4973, allocations: 256.2 kB / 0.7735 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.4973, allocations: 6.578 kB / 0.7735 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4973, allocations: 2.812 kB / 0.7735 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4974, allocations: 2.219 kB / 0.7735 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.4975, allocations: 49.73 kB / 0.7735 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4975, allocations: 5.781 kB / 0.7735 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.4976, allocations: 30.64 kB / 0.7736 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.4977, allocations: 11.59 kB / 0.7736 GB, free: 1.781 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 9.679e-05/0.4978, allocations: 153.7 kB / 0.7737 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.4978, allocations: 35.67 kB / 0.7738 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.4981, allocations: 226.9 kB / 0.774 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4982, allocations: 1.75 kB / 0.774 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4982, allocations: 4.906 kB / 0.774 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4982, allocations: 1.359 kB / 0.774 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007624/0.4989, allocations: 0.6505 MB / 0.7746 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4989, allocations: 1.438 kB / 0.7746 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.499, allocations: 35.19 kB / 0.7747 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4991, allocations: 10.88 kB / 0.7747 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.4991, allocations: 8.359 kB / 0.7747 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.4991, allocations: 3.438 kB / 0.7747 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4991, allocations: 1.5 kB / 0.7747 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.4995, allocations: 444.4 kB / 0.7751 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.4996, allocations: 54.53 kB / 0.7752 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.4997, allocations: 7.859 kB / 0.7752 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.4997, allocations: 12.45 kB / 0.7752 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.4998, allocations: 24.31 kB / 0.7752 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.4998, allocations: 10.31 kB / 0.7752 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000195/0.5, allocations: 234.4 kB / 0.7754 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5, allocations: 0 / 0.7754 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003847/0.5004, allocations: 82.34 kB / 0.7755 GB, free: 0.6016 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.0008285/0.5012, allocations: 1.029 MB / 0.7765 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.5016, allocations: 171.5 kB / 0.7767 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5016, allocations: 0 / 0.7767 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.5017, allocations: 95.83 kB / 0.7768 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/0.5024, allocations: 168 kB / 0.7769 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.5058, allocations: 2.983 MB / 0.7798 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.506, allocations: 184.9 kB / 0.78 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002914/0.5063, allocations: 62.3 kB / 0.7801 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.5064, allocations: 92.41 kB / 0.7802 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of SimCode: time 2.384e-06/0.5064, allocations: 5.156 kB / 0.7802 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.537, allocations: 10.27 MB / 0.7902 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.531, allocations: 9.109 kB / 0.7902 GB, free: 11.15 MB / 0.6511 GB " [Timeout remaining time 652] (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: 10.412531223148108] Failed to read output from testmodel.py, exit status != 0: 7.620835454203188 7.629152031 7.136433844 Calling exit ...