Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.0007544/0.0007544, 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.0007644/0.0007644, allocations: 165.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.8857/0.8857, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6971/0.6971, allocations: 154.6 MB / 413.7 MB, free: 0.8203 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.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.864e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.3956/0.3956, allocations: 143.9 MB / 0.7586 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003211/0.3988, allocations: 4.227 MB / 0.7627 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.399, allocations: 13.44 kB / 0.7627 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.3993, allocations: 135 kB / 0.7628 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009341/0.4003, allocations: 0.5738 MB / 0.7634 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.4015, allocations: 0.8465 MB / 0.7642 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.402, allocations: 0.579 MB / 0.7648 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.4022, allocations: 165 kB / 0.7649 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.4033, allocations: 0.7516 MB / 0.7657 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.4038, allocations: 289.7 kB / 0.7659 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.4038, allocations: 18.66 kB / 0.766 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009623/0.4047, allocations: 0.8604 MB / 0.7668 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.986e-05/0.4048, allocations: 96.77 kB / 0.7669 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.246e-05/0.4049, allocations: 80.44 kB / 0.767 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008328/0.4058, allocations: 0.7347 MB / 0.7677 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4058, allocations: 0.7969 kB / 0.7677 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4058, allocations: 0 / 0.7677 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.4058, allocations: 0 / 0.7677 GB, free: 5.836 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006955/0.4065, allocations: 0.5313 MB / 0.7682 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4065, allocations: 11.19 kB / 0.7682 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.4065, allocations: 53.94 kB / 0.7683 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.4069, allocations: 77.44 kB / 0.7683 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.4072, allocations: 248.6 kB / 0.7686 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.4072, allocations: 16.59 kB / 0.7686 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.4073, allocations: 20.38 kB / 0.7686 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.4076, allocations: 287.5 kB / 0.7689 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4077, allocations: 1.25 kB / 0.7689 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.4077, allocations: 6.625 kB / 0.7689 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4077, allocations: 4.469 kB / 0.7689 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.408, allocations: 212.8 kB / 0.7691 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.409, allocations: 1.154 MB / 0.7702 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.4092, allocations: 171 kB / 0.7704 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.4094, allocations: 116.4 kB / 0.7705 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003574/0.4097, allocations: 97.64 kB / 0.7706 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.4097, allocations: 47.66 kB / 0.7706 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.4097, allocations: 0 / 0.7706 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.000553/0.4103, allocations: 273.5 kB / 0.7709 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.4103, allocations: 162.4 kB / 0.7711 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.4105, allocations: 291 kB / 0.7713 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.4106, allocations: 31.48 kB / 0.7714 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.4106, allocations: 156.6 kB / 0.7715 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.4107, allocations: 48.17 kB / 0.7716 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.4107, allocations: 38.08 kB / 0.7716 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.4108, allocations: 341.1 kB / 0.7719 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.4109, allocations: 70.02 kB / 0.772 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.4111, allocations: 247.1 kB / 0.7722 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.4113, allocations: 210.8 kB / 0.7724 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4113, allocations: 1.188 kB / 0.7724 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003372/0.4116, allocations: 249.4 kB / 0.7727 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.4116, allocations: 8.25 kB / 0.7727 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4117, allocations: 2.094 kB / 0.7727 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4117, allocations: 3.859 kB / 0.7727 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.4118, allocations: 42.11 kB / 0.7727 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.4118, allocations: 4.125 kB / 0.7727 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.4119, allocations: 25.45 kB / 0.7727 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.4119, allocations: 21.03 kB / 0.7728 GB, free: 2.191 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001054/0.4121, allocations: 156.8 kB / 0.7729 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.4121, allocations: 36.38 kB / 0.773 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003199/0.4124, allocations: 183.4 kB / 0.7731 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4125, allocations: 3.094 kB / 0.7731 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4125, allocations: 1.344 kB / 0.7731 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4125, allocations: 2.891 kB / 0.7731 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.4131, allocations: 0.8014 MB / 0.7739 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4131, allocations: 2.125 kB / 0.7739 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.4131, allocations: 29.58 kB / 0.7739 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4131, allocations: 1.375 kB / 0.7739 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4132, allocations: 3.391 kB / 0.7739 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4132, allocations: 10.41 kB / 0.774 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.4132, allocations: 1.938 kB / 0.774 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.4135, allocations: 331.7 kB / 0.7743 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.4135, allocations: 43.92 kB / 0.7743 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.4136, allocations: 8.438 kB / 0.7743 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.4136, allocations: 13.08 kB / 0.7743 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.4137, allocations: 11.31 kB / 0.7744 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.4137, allocations: 3.562 kB / 0.7744 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001702/0.4138, allocations: 234.9 kB / 0.7746 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4138, allocations: 0 / 0.7746 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000309/0.4142, allocations: 99.55 kB / 0.7747 GB, free: 0.8164 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0006972/0.4149, allocations: 0.9858 MB / 0.7756 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003015/0.4152, allocations: 147 kB / 0.7758 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4152, allocations: 4.062 kB / 0.7758 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.199e-05/0.4152, allocations: 58.22 kB / 0.7758 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.4157, allocations: 139.6 kB / 0.776 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.4185, allocations: 2.742 MB / 0.7786 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.4186, allocations: 153.5 kB / 0.7788 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001632/0.4188, allocations: 58.69 kB / 0.7788 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.94e-05/0.4189, allocations: 75.62 kB / 0.7789 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of SimCode: time 5.91e-07/0.4189, allocations: 0 / 0.7789 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.443, allocations: 9.788 MB / 0.7885 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/8.023, allocations: 11.48 kB / 0.7885 GB, free: 11.82 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy_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_SpecificEntropy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.742339958436787] Failed to read output from testmodel.py, exit status != 0: 8.110681720077991 8.123640745 7.715171145 Calling exit ...