Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0008439/0.0008439, 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.001055/0.001055, 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.9039/0.9039, 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.6829/0.6829, 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.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.56e-06/5.56e-06, allocations: 4 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.787e-05/4.343e-05, allocations: 4.391 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4604/0.4605, allocations: 147.7 MB / 0.7624 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005589/0.4661, allocations: 5.993 MB / 0.7682 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005443/0.4666, allocations: 19.66 kB / 0.7683 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.4671, allocations: 182.8 kB / 0.7684 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.4692, allocations: 0.853 MB / 0.7693 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.4703, allocations: 400.1 kB / 0.7697 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008664/0.4712, allocations: 0.7067 MB / 0.7703 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/0.4715, allocations: 225.4 kB / 0.7706 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.4729, allocations: 0.8237 MB / 0.7714 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.4732, allocations: 241.4 kB / 0.7716 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.4732, allocations: 22.47 kB / 0.7716 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005502/0.4737, allocations: 288.5 kB / 0.7719 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.4739, allocations: 121 kB / 0.772 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.474, allocations: 111.4 kB / 0.7721 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006539/0.4746, allocations: 486.5 kB / 0.7726 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4746, allocations: 1 kB / 0.7726 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4746, allocations: 0 / 0.7726 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.4747, allocations: 0 / 0.7726 GB, free: 2.176 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006838/0.4753, allocations: 0.5428 MB / 0.7731 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4754, allocations: 10.75 kB / 0.7731 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.4754, allocations: 60.5 kB / 0.7732 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.4757, allocations: 59.03 kB / 0.7732 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.4761, allocations: 274.5 kB / 0.7735 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.4762, allocations: 19.34 kB / 0.7735 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.4762, allocations: 26.28 kB / 0.7735 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.4766, allocations: 320.5 kB / 0.7738 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4766, allocations: 1.375 kB / 0.7738 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.868e-05/0.4766, allocations: 11.45 kB / 0.7739 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.4766, allocations: 10.84 kB / 0.7739 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.4769, allocations: 205.6 kB / 0.7741 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009543/0.4779, allocations: 1.197 MB / 0.7752 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.478, allocations: 108.9 kB / 0.7753 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.4782, allocations: 86.86 kB / 0.7754 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.4785, allocations: 75.2 kB / 0.7755 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.4785, allocations: 40.64 kB / 0.7755 GB, free: 116 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 2.255e-06/0.4785, allocations: 0 / 0.7755 GB, free: 116 kB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0005046/0.479, allocations: 268.9 kB / 0.7758 GB, free: 16 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.4791, allocations: 57.34 kB / 0.7758 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.4793, allocations: 314.2 kB / 0.7761 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.4794, allocations: 31.17 kB / 0.7762 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.4795, allocations: 185.5 kB / 0.7763 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.4795, allocations: 48.89 kB / 0.7764 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.4796, allocations: 33.77 kB / 0.7764 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.4797, allocations: 339.1 kB / 0.7767 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.906e-05/0.4798, allocations: 59.39 kB / 0.7768 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.4799, allocations: 189.6 kB / 0.777 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.4801, allocations: 174.7 kB / 0.7772 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4802, allocations: 1.125 kB / 0.7772 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002826/0.4804, allocations: 227.3 kB / 0.7774 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4805, allocations: 8 kB / 0.7774 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4805, allocations: 1.281 kB / 0.7774 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.4805, allocations: 2.844 kB / 0.7774 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.4806, allocations: 39.17 kB / 0.7774 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4806, allocations: 2.156 kB / 0.7774 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.74e-05/0.4807, allocations: 35.17 kB / 0.7775 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.4807, allocations: 6.719 kB / 0.7775 GB, free: 14.81 MB / 0.6511 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 (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 prepare postOptimizeDAE: time 0.0001041/0.4808, allocations: 151.8 kB / 0.7776 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.4808, allocations: 32.45 kB / 0.7776 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.4811, allocations: 203.5 kB / 0.7778 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4811, allocations: 1.641 kB / 0.7778 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4811, allocations: 1.25 kB / 0.7778 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4811, allocations: 0.5625 kB / 0.7778 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007149/0.4819, allocations: 0.6435 MB / 0.7785 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4819, allocations: 2.188 kB / 0.7785 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.4819, allocations: 26.25 kB / 0.7785 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4819, allocations: 2.375 kB / 0.7785 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.482, allocations: 7.5 kB / 0.7785 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.482, allocations: 6.766 kB / 0.7785 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.482, allocations: 6.312 kB / 0.7785 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.4822, allocations: 336.8 kB / 0.7788 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.4823, allocations: 45.11 kB / 0.7789 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.4823, allocations: 7.188 kB / 0.7789 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.4824, allocations: 12.7 kB / 0.7789 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.4824, allocations: 16.77 kB / 0.7789 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.4824, allocations: 9.781 kB / 0.7789 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001639/0.4826, allocations: 218.5 kB / 0.7791 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4826, allocations: 1.094 kB / 0.7791 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00029/0.4829, allocations: 84.06 kB / 0.7792 GB, free: 13.67 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (13): * Single equations (assignments): 13 * 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.0006407/0.4835, allocations: 0.8993 MB / 0.7801 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.4838, allocations: 157.8 kB / 0.7802 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4838, allocations: 1.094 kB / 0.7802 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.4839, allocations: 79.84 kB / 0.7803 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.4845, allocations: 158.4 kB / 0.7805 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.4874, allocations: 2.794 MB / 0.7832 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.4876, allocations: 183.3 kB / 0.7834 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.4878, allocations: 54.98 kB / 0.7834 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.4879, allocations: 93.38 kB / 0.7835 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of SimCode: time 9.01e-07/0.4879, allocations: 0 / 0.7835 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.5119, allocations: 9.306 MB / 0.7926 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.715, allocations: 2.344 kB / 0.7926 GB, free: 8.559 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_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_EnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.536889899522066] Failed to read output from testmodel.py, exit status != 0: 7.800966987386346 7.815137358 7.337099089 Calling exit ...