Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.0007888/0.0007888, 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.0008701/0.0008701, 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.8911/0.8911, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7158/0.7158, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",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.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.101e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4587/0.4587, allocations: 149.5 MB / 0.7641 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005969/0.4647, allocations: 6.538 MB / 0.7705 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004781/0.4651, allocations: 24.12 kB / 0.7705 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.4657, allocations: 182.1 kB / 0.7707 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002831/0.4685, allocations: 1.31 MB / 0.7719 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.4699, allocations: 0.7209 MB / 0.7727 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009829/0.4709, allocations: 0.7542 MB / 0.7734 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004327/0.4713, allocations: 241.6 kB / 0.7736 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.4728, allocations: 0.8409 MB / 0.7744 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008638/0.4737, allocations: 405 kB / 0.7748 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.4738, allocations: 26.53 kB / 0.7749 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.4755, allocations: 1.056 MB / 0.7759 GB, free: 124 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.4756, allocations: 129.7 kB / 0.776 GB, free: 60 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.4758, allocations: 121 kB / 0.7761 GB, free: 12 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.4774, allocations: 0.9255 MB / 0.777 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4774, allocations: 1.438 kB / 0.777 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4774, allocations: 0 / 0.777 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.4775, allocations: 0 / 0.777 GB, free: 15.71 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001061/0.4785, allocations: 0.6361 MB / 0.7776 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4786, allocations: 9.062 kB / 0.7777 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.741e-05/0.4786, allocations: 67.48 kB / 0.7777 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000609/0.4792, allocations: 124.2 kB / 0.7778 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.4797, allocations: 282 kB / 0.7781 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.813e-05/0.4798, allocations: 74.84 kB / 0.7782 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.4798, allocations: 30.5 kB / 0.7782 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.4803, allocations: 392.4 kB / 0.7786 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4803, allocations: 1.062 kB / 0.7786 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.4803, allocations: 10.28 kB / 0.7786 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4804, allocations: 14.39 kB / 0.7786 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.4807, allocations: 268.6 kB / 0.7789 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.482, allocations: 1.14 MB / 0.78 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.4822, allocations: 186.2 kB / 0.7802 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.4824, allocations: 108.9 kB / 0.7803 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004307/0.4828, allocations: 139.7 kB / 0.7804 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.4828, allocations: 39.69 kB / 0.7804 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/0.4828, allocations: 1.062 kB / 0.7804 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0006133/0.4834, allocations: 364.1 kB / 0.7808 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.4835, allocations: 53.72 kB / 0.7808 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.4837, allocations: 313.7 kB / 0.7811 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.4837, allocations: 34.98 kB / 0.7812 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4838, allocations: 188.1 kB / 0.7813 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.4839, allocations: 59.09 kB / 0.7814 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.4839, allocations: 43.59 kB / 0.7814 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.484, allocations: 338.8 kB / 0.7818 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.4842, allocations: 85.31 kB / 0.7818 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.4843, allocations: 219.5 kB / 0.7821 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.4846, allocations: 238.3 kB / 0.7823 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4846, allocations: 1.094 kB / 0.7823 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003799/0.485, allocations: 287.6 kB / 0.7826 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.485, allocations: 7.516 kB / 0.7826 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.485, allocations: 6.125 kB / 0.7826 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.485, allocations: 6.438 kB / 0.7826 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4852, allocations: 44.14 kB / 0.7826 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.912e-06/0.4852, allocations: 2.625 kB / 0.7826 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.4853, allocations: 30.84 kB / 0.7826 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.4853, allocations: 14.25 kB / 0.7827 GB, free: 12.16 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.00012/0.4855, allocations: 145.2 kB / 0.7828 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/0.4855, allocations: 41.98 kB / 0.7828 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.486, allocations: 317.1 kB / 0.7831 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.486, allocations: 1.062 kB / 0.7831 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.486, allocations: 1.219 kB / 0.7831 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.486, allocations: 0 / 0.7831 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009362/0.4869, allocations: 0.7492 MB / 0.7839 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4869, allocations: 2.5 kB / 0.7839 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.514e-05/0.487, allocations: 32.97 kB / 0.7839 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.487, allocations: 6.141 kB / 0.7839 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.487, allocations: 7.906 kB / 0.7839 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.487, allocations: 9.188 kB / 0.7839 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.487, allocations: 6.562 kB / 0.7839 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.4875, allocations: 404.5 kB / 0.7843 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.4875, allocations: 63.89 kB / 0.7844 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.4876, allocations: 6.781 kB / 0.7844 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.4877, allocations: 11.97 kB / 0.7844 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.4877, allocations: 20.55 kB / 0.7844 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.4878, allocations: 11.28 kB / 0.7844 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001715/0.4879, allocations: 227.4 kB / 0.7847 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.4879, allocations: 96 / 0.7847 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005521/0.4885, allocations: 130 kB / 0.7848 GB, free: 10.91 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 (16): * Single equations (assignments): 16 * 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.0009662/0.4895, allocations: 1.055 MB / 0.7858 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.4898, allocations: 209 kB / 0.786 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4898, allocations: 4.062 kB / 0.786 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.49, allocations: 113.1 kB / 0.7861 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.4905, allocations: 159.7 kB / 0.7863 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.4935, allocations: 3.055 MB / 0.7893 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.4936, allocations: 185.8 kB / 0.7894 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002266/0.4938, allocations: 86.81 kB / 0.7895 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.4939, allocations: 100.7 kB / 0.7896 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/0.4939, allocations: 5.188 kB / 0.7896 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.519, allocations: 11.8 MB / 0.8011 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/7.394, allocations: 8.938 kB / 0.8011 GB, free: 3.258 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate_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_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.211385427974164] Failed to read output from testmodel.py, exit status != 0: 7.479542685672641 7.494568156 7.014224514 Calling exit ...