Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001168/0.001168, 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.001017/0.001017, allocations: 170.3 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.8923/0.8923, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.7169/0.7169, allocations: 154.5 MB / 413.7 MB, free: 0.8125 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.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 4 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.618e-05, allocations: 6.812 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4739/0.4739, allocations: 147.6 MB / 0.7622 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.4758, allocations: 1.493 MB / 0.7636 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.476, allocations: 15.53 kB / 0.7636 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.4764, allocations: 159.9 kB / 0.7638 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.4778, allocations: 0.7175 MB / 0.7645 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.4791, allocations: 0.6821 MB / 0.7652 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000706/0.4798, allocations: 0.7027 MB / 0.7659 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.4801, allocations: 187.8 kB / 0.766 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000844/0.481, allocations: 0.5921 MB / 0.7666 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.4812, allocations: 190.5 kB / 0.7668 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.4812, allocations: 23.91 kB / 0.7668 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009406/0.4822, allocations: 0.7168 MB / 0.7675 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.4823, allocations: 111.8 kB / 0.7676 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.4824, allocations: 115.3 kB / 0.7677 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009491/0.4834, allocations: 0.7298 MB / 0.7684 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4834, allocations: 0 / 0.7684 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.216e-06/0.4834, allocations: 4.5 kB / 0.7684 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4834, allocations: 4 kB / 0.7685 GB, free: 5.152 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.0006796/0.4841, allocations: 0.5726 MB / 0.769 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.4841, allocations: 11.84 kB / 0.769 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.906e-05/0.4842, allocations: 55.5 kB / 0.7691 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006398/0.4848, allocations: 158.6 kB / 0.7692 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.4852, allocations: 272 kB / 0.7695 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.4852, allocations: 13.41 kB / 0.7695 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.4853, allocations: 23.88 kB / 0.7695 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.4856, allocations: 273.2 kB / 0.7698 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4857, allocations: 1.156 kB / 0.7698 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.4857, allocations: 10.38 kB / 0.7698 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.4857, allocations: 10.03 kB / 0.7698 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.486, allocations: 197.7 kB / 0.77 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008545/0.4868, allocations: 0.9778 MB / 0.7709 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.487, allocations: 132.1 kB / 0.7711 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.4871, allocations: 92 kB / 0.7712 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.4874, allocations: 70.88 kB / 0.7712 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.4874, allocations: 32.62 kB / 0.7713 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.103e-06/0.4874, allocations: 4 kB / 0.7713 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004684/0.4879, allocations: 278.4 kB / 0.7715 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.4879, allocations: 53.55 kB / 0.7716 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.4881, allocations: 324.4 kB / 0.7719 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.4881, allocations: 27.02 kB / 0.7719 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.4882, allocations: 183.7 kB / 0.7721 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.4882, allocations: 58.38 kB / 0.7721 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.4883, allocations: 46.27 kB / 0.7722 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.4883, allocations: 339 kB / 0.7725 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.4884, allocations: 67.69 kB / 0.7726 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.4886, allocations: 201.3 kB / 0.7728 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.4888, allocations: 186.8 kB / 0.7729 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4888, allocations: 1.25 kB / 0.7729 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003211/0.4891, allocations: 245.5 kB / 0.7732 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4892, allocations: 5.688 kB / 0.7732 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4892, allocations: 0.9375 kB / 0.7732 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4892, allocations: 4.203 kB / 0.7732 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.4893, allocations: 42.02 kB / 0.7732 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.4893, allocations: 7.297 kB / 0.7732 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.4894, allocations: 32.91 kB / 0.7733 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.4895, allocations: 11.91 kB / 0.7733 GB, free: 1.957 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 9.818e-05/0.4896, allocations: 150.6 kB / 0.7734 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.4896, allocations: 37.16 kB / 0.7735 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.4899, allocations: 214.3 kB / 0.7737 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4899, allocations: 1.312 kB / 0.7737 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4899, allocations: 1.281 kB / 0.7737 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.4899, allocations: 4.656 kB / 0.7737 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007353/0.4907, allocations: 0.6366 MB / 0.7743 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4907, allocations: 4.219 kB / 0.7743 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.4908, allocations: 33.44 kB / 0.7743 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4908, allocations: 9.094 kB / 0.7743 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4908, allocations: 3.969 kB / 0.7743 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.4908, allocations: 3.281 kB / 0.7743 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.4908, allocations: 10.14 kB / 0.7744 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.4913, allocations: 425.5 kB / 0.7748 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.4913, allocations: 49.23 kB / 0.7748 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.4913, allocations: 6.938 kB / 0.7748 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.4914, allocations: 12.52 kB / 0.7748 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.4915, allocations: 20.12 kB / 0.7748 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.4915, allocations: 8.969 kB / 0.7749 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001578/0.4916, allocations: 226.6 kB / 0.7751 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4916, allocations: 0 / 0.7751 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002548/0.4919, allocations: 78.67 kB / 0.7751 GB, free: 0.8047 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.0006846/0.4926, allocations: 1.011 MB / 0.7761 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.4929, allocations: 167.8 kB / 0.7763 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4929, allocations: 1.531 kB / 0.7763 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.493, allocations: 81.45 kB / 0.7764 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.4936, allocations: 166.9 kB / 0.7765 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.4963, allocations: 2.89 MB / 0.7794 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.4964, allocations: 173 kB / 0.7795 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.4966, allocations: 65.52 kB / 0.7796 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.4967, allocations: 90.5 kB / 0.7797 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/0.4967, allocations: 0 / 0.7797 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.5196, allocations: 10.1 MB / 0.7895 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.057/7.577, allocations: 13.23 kB / 0.7895 GB, free: 11.55 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.394863797351718] Failed to read output from testmodel.py, exit status != 0: 7.6600092481821775 7.669078351 7.18389524 Calling exit ...