Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.0008556/0.0008556, 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.001917/0.001917, 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.884/0.884, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.6937/0.6937, allocations: 154.6 MB / 413.8 MB, free: 0.793 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.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.741e-05, allocations: 5.453 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4823/0.4823, allocations: 147.6 MB / 0.7622 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003194/0.4855, allocations: 1.496 MB / 0.7637 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.486, allocations: 19.31 kB / 0.7637 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005729/0.4865, allocations: 159.2 kB / 0.7639 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.4883, allocations: 0.7183 MB / 0.7646 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.49, allocations: 0.6752 MB / 0.7652 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008801/0.4909, allocations: 0.7059 MB / 0.7659 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003251/0.4912, allocations: 186.7 kB / 0.7661 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009935/0.4922, allocations: 0.5809 MB / 0.7667 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.4925, allocations: 199 kB / 0.7669 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.4925, allocations: 23.41 kB / 0.7669 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.4939, allocations: 0.7173 MB / 0.7676 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.494, allocations: 114.3 kB / 0.7677 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.4942, allocations: 112.3 kB / 0.7678 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.4952, allocations: 0.7367 MB / 0.7685 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4952, allocations: 0.8438 kB / 0.7685 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4952, allocations: 0 / 0.7685 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.4952, allocations: 0 / 0.7685 GB, free: 5.125 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007209/0.496, allocations: 0.5816 MB / 0.7691 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.496, allocations: 8.844 kB / 0.7691 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.4961, allocations: 56.06 kB / 0.7691 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007044/0.4968, allocations: 158.6 kB / 0.7693 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.4972, allocations: 267.7 kB / 0.7696 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.4973, allocations: 14.23 kB / 0.7696 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.4973, allocations: 23.78 kB / 0.7696 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.4977, allocations: 274 kB / 0.7698 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4978, allocations: 3.938 kB / 0.7699 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.4978, allocations: 7.172 kB / 0.7699 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.4978, allocations: 9.312 kB / 0.7699 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.4981, allocations: 198 kB / 0.7701 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.4991, allocations: 0.9758 MB / 0.771 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.4993, allocations: 130.1 kB / 0.7711 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.4994, allocations: 86.91 kB / 0.7712 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003076/0.4998, allocations: 73.84 kB / 0.7713 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.4998, allocations: 36.47 kB / 0.7713 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/0.4998, allocations: 0 / 0.7713 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0005448/0.5003, allocations: 287.9 kB / 0.7716 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.5003, allocations: 53.19 kB / 0.7716 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.5006, allocations: 321.7 kB / 0.772 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.5006, allocations: 27.42 kB / 0.772 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/0.5007, allocations: 186.7 kB / 0.7722 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.5007, allocations: 57.67 kB / 0.7722 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.5008, allocations: 46.22 kB / 0.7723 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.5009, allocations: 339.6 kB / 0.7726 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.501, allocations: 68.27 kB / 0.7726 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.5011, allocations: 196.3 kB / 0.7728 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.5013, allocations: 189.8 kB / 0.773 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5013, allocations: 1.031 kB / 0.773 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003209/0.5017, allocations: 245.3 kB / 0.7732 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.5017, allocations: 11 kB / 0.7733 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.5017, allocations: 1.531 kB / 0.7733 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.5017, allocations: 1.875 kB / 0.7733 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.5018, allocations: 43.53 kB / 0.7733 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.5019, allocations: 2.953 kB / 0.7733 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.502, allocations: 29.98 kB / 0.7733 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.502, allocations: 11.55 kB / 0.7733 GB, free: 1.926 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 (22): * Single equations (assignments): 22 * 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.0001109/0.5021, allocations: 158.4 kB / 0.7735 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.5022, allocations: 34.66 kB / 0.7735 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.5025, allocations: 215.7 kB / 0.7737 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5026, allocations: 1.125 kB / 0.7737 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.5026, allocations: 1.906 kB / 0.7737 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5026, allocations: 0.6562 kB / 0.7737 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007323/0.5033, allocations: 0.6368 MB / 0.7744 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5033, allocations: 2.438 kB / 0.7744 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.5034, allocations: 33.44 kB / 0.7744 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.5034, allocations: 3.344 kB / 0.7744 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.5034, allocations: 3.219 kB / 0.7744 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.5034, allocations: 12.09 kB / 0.7744 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5034, allocations: 9.703 kB / 0.7744 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.5039, allocations: 426.7 kB / 0.7748 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/0.5039, allocations: 44.89 kB / 0.7749 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.504, allocations: 7.922 kB / 0.7749 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.5041, allocations: 8.547 kB / 0.7749 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.5041, allocations: 19.19 kB / 0.7749 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.5041, allocations: 6.156 kB / 0.7749 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001707/0.5043, allocations: 230.7 kB / 0.7751 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5043, allocations: 0 / 0.7751 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003497/0.5047, allocations: 83.36 kB / 0.7752 GB, free: 0.7656 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 (15): * Single equations (assignments): 15 * 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.0007762/0.5054, allocations: 1.009 MB / 0.7762 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003339/0.5058, allocations: 171.6 kB / 0.7764 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5058, allocations: 1.031 kB / 0.7764 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.5059, allocations: 81.38 kB / 0.7764 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.5065, allocations: 161 kB / 0.7766 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.5094, allocations: 2.893 MB / 0.7794 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.5095, allocations: 167.5 kB / 0.7796 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.5097, allocations: 71.56 kB / 0.7796 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.5098, allocations: 89.75 kB / 0.7797 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/0.5098, allocations: 0 / 0.7797 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.5365, allocations: 10.08 MB / 0.7896 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.893/7.429, allocations: 9.609 kB / 0.7896 GB, free: 11.47 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_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_VolumeFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.28090141993016] Failed to read output from testmodel.py, exit status != 0: 7.515850354917347 7.530835679 7.033461008 Calling exit ...