Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000792/0.000792, 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.0007588/0.0007588, 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.8935/0.8935, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.741/0.741, 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.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.768e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4612/0.4613, allocations: 149.5 MB / 0.764 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005778/0.467, allocations: 6.538 MB / 0.7704 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.4673, allocations: 15.91 kB / 0.7704 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.4678, allocations: 181.3 kB / 0.7706 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.4704, allocations: 1.316 MB / 0.7719 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.472, allocations: 0.7235 MB / 0.7726 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000993/0.473, allocations: 0.7612 MB / 0.7733 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.4734, allocations: 230.2 kB / 0.7736 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.4748, allocations: 0.8463 MB / 0.7744 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007417/0.4756, allocations: 412.4 kB / 0.7748 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.018e-05/0.4756, allocations: 25.69 kB / 0.7748 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.4771, allocations: 1.054 MB / 0.7758 GB, free: 252 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.777e-05/0.4772, allocations: 118.8 kB / 0.7759 GB, free: 196 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.4773, allocations: 129 kB / 0.7761 GB, free: 144 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.4788, allocations: 0.9261 MB / 0.777 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4788, allocations: 0 / 0.777 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4788, allocations: 0 / 0.777 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.4788, allocations: 0 / 0.777 GB, free: 15.83 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.00114/0.48, allocations: 0.6361 MB / 0.7776 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.48, allocations: 11.19 kB / 0.7776 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.438e-05/0.4801, allocations: 59.86 kB / 0.7777 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006358/0.4807, allocations: 127.6 kB / 0.7778 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.4812, allocations: 279.8 kB / 0.778 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-05/0.4813, allocations: 76.5 kB / 0.7781 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.4814, allocations: 26.5 kB / 0.7781 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005542/0.4819, allocations: 394.5 kB / 0.7785 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4819, allocations: 1.062 kB / 0.7785 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.482, allocations: 10.53 kB / 0.7785 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.482, allocations: 6.375 kB / 0.7785 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.4824, allocations: 274.5 kB / 0.7788 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.4837, allocations: 1.145 MB / 0.7799 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.484, allocations: 187.5 kB / 0.7801 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.4842, allocations: 110.6 kB / 0.7802 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004647/0.4847, allocations: 143.4 kB / 0.7803 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.4847, allocations: 35.12 kB / 0.7804 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.4847, allocations: 0 / 0.7804 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0006565/0.4853, allocations: 358.6 kB / 0.7807 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.4854, allocations: 61 kB / 0.7808 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.4856, allocations: 315.2 kB / 0.7811 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.4857, allocations: 27.05 kB / 0.7811 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.4858, allocations: 192.8 kB / 0.7813 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.4858, allocations: 50.91 kB / 0.7813 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.4859, allocations: 43.45 kB / 0.7814 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.486, allocations: 342.5 kB / 0.7817 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.4861, allocations: 89.05 kB / 0.7818 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.4863, allocations: 223.2 kB / 0.782 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.4866, allocations: 243.7 kB / 0.7822 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4866, allocations: 3.375 kB / 0.7822 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003984/0.487, allocations: 287.7 kB / 0.7825 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.487, allocations: 5.406 kB / 0.7825 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.487, allocations: 1.094 kB / 0.7825 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.487, allocations: 2.719 kB / 0.7825 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.4872, allocations: 42.66 kB / 0.7826 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.4872, allocations: 5.25 kB / 0.7826 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.4873, allocations: 32.56 kB / 0.7826 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.4873, allocations: 13.59 kB / 0.7826 GB, free: 12.29 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.0001649/0.4875, allocations: 153.3 kB / 0.7827 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.772e-05/0.4876, allocations: 35.53 kB / 0.7828 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.4881, allocations: 313.3 kB / 0.7831 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4881, allocations: 2.188 kB / 0.7831 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4881, allocations: 4.875 kB / 0.7831 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4881, allocations: 2.438 kB / 0.7831 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.4891, allocations: 0.741 MB / 0.7838 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4891, allocations: 2.188 kB / 0.7838 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.4892, allocations: 39.59 kB / 0.7839 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.4892, allocations: 4.891 kB / 0.7839 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.4892, allocations: 8.656 kB / 0.7839 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.4892, allocations: 6.312 kB / 0.7839 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.4892, allocations: 6.312 kB / 0.7839 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.4897, allocations: 398.9 kB / 0.7843 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.4898, allocations: 67.17 kB / 0.7843 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.4899, allocations: 2.75 kB / 0.7843 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.49, allocations: 16.59 kB / 0.7843 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.49, allocations: 25.61 kB / 0.7844 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.4901, allocations: 13 kB / 0.7844 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000194/0.4902, allocations: 227.9 kB / 0.7846 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.4902, allocations: 1.25 kB / 0.7846 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004558/0.4907, allocations: 122.8 kB / 0.7847 GB, free: 11.05 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.001045/0.4918, allocations: 1.05 MB / 0.7857 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004278/0.4922, allocations: 217.5 kB / 0.7859 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.4922, allocations: 1.094 kB / 0.7859 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.4924, allocations: 109 kB / 0.7861 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.493, allocations: 166.7 kB / 0.7862 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.4963, allocations: 3.042 MB / 0.7892 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.4964, allocations: 184.4 kB / 0.7894 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002646/0.4967, allocations: 83.36 kB / 0.7894 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.4968, allocations: 103.1 kB / 0.7895 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/0.4968, allocations: 0 / 0.7895 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.5216, allocations: 11.82 MB / 0.8011 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.549, allocations: 9.219 kB / 0.8011 GB, free: 3.328 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.40599973872304] Failed to read output from testmodel.py, exit status != 0: 7.638453760184348 7.649121343 7.168494207 Calling exit ...