Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007945/0.0007945, 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.0008027/0.0008027, 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.8596/0.8596, 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 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.7285/0.7285, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.456e-05, allocations: 7.031 kB / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4283/0.4283, allocations: 143.9 MB / 0.7586 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003664/0.4319, allocations: 4.214 MB / 0.7627 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.4322, allocations: 18.06 kB / 0.7627 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.4325, allocations: 126.9 kB / 0.7629 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009674/0.4335, allocations: 0.5768 MB / 0.7634 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.4348, allocations: 0.8494 MB / 0.7643 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005642/0.4354, allocations: 0.5836 MB / 0.7648 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.4356, allocations: 171.3 kB / 0.765 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.4368, allocations: 0.7444 MB / 0.7657 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/0.4373, allocations: 289.7 kB / 0.766 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.4373, allocations: 18.31 kB / 0.766 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.4384, allocations: 0.8613 MB / 0.7669 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.616e-05/0.4385, allocations: 95.59 kB / 0.7669 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.808e-05/0.4385, allocations: 86.48 kB / 0.767 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008969/0.4394, allocations: 0.7331 MB / 0.7677 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.4394, allocations: 0 / 0.7677 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4394, allocations: 0 / 0.7677 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.4394, allocations: 1.469 kB / 0.7677 GB, free: 5.691 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.0007442/0.4402, allocations: 0.5281 MB / 0.7683 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4402, allocations: 13 kB / 0.7683 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.4403, allocations: 53.09 kB / 0.7683 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003998/0.4407, allocations: 82.08 kB / 0.7684 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.441, allocations: 244.4 kB / 0.7686 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.441, allocations: 12.31 kB / 0.7687 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.441, allocations: 21.62 kB / 0.7687 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.4414, allocations: 279.6 kB / 0.7689 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.4414, allocations: 1.094 kB / 0.7689 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.4414, allocations: 6.844 kB / 0.7689 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4414, allocations: 3.969 kB / 0.769 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.4417, allocations: 210.2 kB / 0.7692 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00098/0.4427, allocations: 1.165 MB / 0.7703 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.4429, allocations: 166 kB / 0.7704 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.443, allocations: 114.3 kB / 0.7706 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003848/0.4434, allocations: 104.9 kB / 0.7707 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4434, allocations: 35.39 kB / 0.7707 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.4434, allocations: 5.344 kB / 0.7707 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0005521/0.444, allocations: 277.3 kB / 0.771 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.444, allocations: 157.3 kB / 0.7711 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.4442, allocations: 295.5 kB / 0.7714 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.4443, allocations: 27.89 kB / 0.7714 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.4443, allocations: 148.8 kB / 0.7716 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.4444, allocations: 48.25 kB / 0.7716 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.4444, allocations: 45.78 kB / 0.7716 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.4445, allocations: 343.2 kB / 0.772 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.4446, allocations: 70.61 kB / 0.772 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.4448, allocations: 246.5 kB / 0.7723 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.4451, allocations: 210.9 kB / 0.7725 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4451, allocations: 1.062 kB / 0.7725 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003585/0.4454, allocations: 249.8 kB / 0.7727 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4454, allocations: 5.344 kB / 0.7727 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4454, allocations: 2.531 kB / 0.7727 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4455, allocations: 3.328 kB / 0.7727 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4456, allocations: 39.66 kB / 0.7728 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4456, allocations: 3.172 kB / 0.7728 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.4457, allocations: 34.42 kB / 0.7728 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.4457, allocations: 9.656 kB / 0.7728 GB, free: 2.059 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 9.067e-05/0.4458, allocations: 156.6 kB / 0.773 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.4459, allocations: 29.44 kB / 0.773 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.4462, allocations: 188 kB / 0.7732 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4462, allocations: 1.594 kB / 0.7732 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4462, allocations: 1.984 kB / 0.7732 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4462, allocations: 2.438 kB / 0.7732 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/0.4469, allocations: 0.8089 MB / 0.774 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4469, allocations: 1 kB / 0.774 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.651e-05/0.447, allocations: 26.2 kB / 0.774 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.447, allocations: 6.312 kB / 0.774 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.447, allocations: 7.219 kB / 0.774 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.447, allocations: 6.906 kB / 0.774 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.447, allocations: 1.219 kB / 0.774 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.4474, allocations: 331.4 kB / 0.7743 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.4475, allocations: 35.91 kB / 0.7744 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.4475, allocations: 5.312 kB / 0.7744 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.4476, allocations: 19.19 kB / 0.7744 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.4477, allocations: 8.469 kB / 0.7744 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4477, allocations: 3.781 kB / 0.7744 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001985/0.4479, allocations: 242.5 kB / 0.7746 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4479, allocations: 0 / 0.7746 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003439/0.4482, allocations: 95.81 kB / 0.7747 GB, free: 0.6797 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.0008136/0.449, allocations: 0.9789 MB / 0.7757 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003185/0.4494, allocations: 150.8 kB / 0.7758 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4494, allocations: 64 / 0.7758 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.4495, allocations: 69 kB / 0.7759 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.45, allocations: 143.2 kB / 0.776 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.4526, allocations: 2.74 MB / 0.7787 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.4527, allocations: 153.4 kB / 0.7788 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001471/0.4529, allocations: 64.75 kB / 0.7789 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.462e-05/0.453, allocations: 80.94 kB / 0.779 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of SimCode: time 4.81e-07/0.453, allocations: 0 / 0.779 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.479, allocations: 9.778 MB / 0.7885 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.532, allocations: 17.5 kB / 0.7885 GB, free: 11.71 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.296827219426632] Failed to read output from testmodel.py, exit status != 0: 7.617513540200889 7.626813434 7.185470802 Calling exit ...