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.001308/0.001308, allocations: 102.4 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001352/0.001352, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 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 1.428/1.428, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8241/0.8241, allocations: 134 MB / 442.8 MB, free: 11.28 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 69.77 kB / 0.6134 GB, free: 8.688 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1777, allocations: 85.85 MB / 0.6973 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5629/0.7406, allocations: 172.9 MB / 0.8661 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008971/0.7496, allocations: 7.186 MB / 0.8731 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004287/0.75, allocations: 15.88 kB / 0.8731 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005458/0.7506, allocations: 178.7 kB / 0.8733 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003139/0.7537, allocations: 1.311 MB / 0.8746 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.7553, allocations: 0.6428 MB / 0.8752 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009873/0.7563, allocations: 0.7563 MB / 0.876 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004321/0.7567, allocations: 258.3 kB / 0.8762 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.7579, allocations: 0.5955 MB / 0.8768 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008157/0.7587, allocations: 462.4 kB / 0.8772 GB, free: 68 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.7587, allocations: 28 kB / 0.8773 GB, free: 40 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.761, allocations: 1.333 MB / 0.8786 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.7611, allocations: 119.6 kB / 0.8787 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.7613, allocations: 175.1 kB / 0.8788 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.7628, allocations: 0.9172 MB / 0.8797 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7628, allocations: 0 / 0.8797 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7628, allocations: 0 / 0.8797 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.7628, allocations: 0 / 0.8797 GB, free: 13.5 MB / 0.6544 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.001126/0.764, allocations: 0.7159 MB / 0.8804 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.764, allocations: 13.11 kB / 0.8805 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.3e-05/0.7641, allocations: 62.53 kB / 0.8805 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009832/0.7651, allocations: 132.7 kB / 0.8806 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/0.7656, allocations: 341.4 kB / 0.881 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.86e-05/0.7657, allocations: 50.25 kB / 0.881 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.7657, allocations: 28 kB / 0.881 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.7664, allocations: 366.1 kB / 0.8814 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7664, allocations: 0 / 0.8814 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.7664, allocations: 12 kB / 0.8814 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.7665, allocations: 15.92 kB / 0.8814 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005518/0.767, allocations: 270 kB / 0.8817 GB, free: 11.4 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.769, allocations: 1.492 MB / 0.8831 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.7695, allocations: 194.5 kB / 0.8833 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.7697, allocations: 108.5 kB / 0.8834 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009836/0.7707, allocations: 0.5053 MB / 0.8839 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.7707, allocations: 34.56 kB / 0.8839 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.7707, allocations: 0 / 0.8839 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.001026/0.7717, allocations: 364.7 kB / 0.8843 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.7718, allocations: 55.41 kB / 0.8843 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.7721, allocations: 316.5 kB / 0.8846 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.7722, allocations: 25.7 kB / 0.8847 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.7723, allocations: 184.3 kB / 0.8848 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.7723, allocations: 55.52 kB / 0.8849 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.909e-05/0.7724, allocations: 45.66 kB / 0.8849 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.7726, allocations: 346.8 kB / 0.8853 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.7728, allocations: 87.92 kB / 0.8854 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.773, allocations: 148.3 kB / 0.8855 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.7735, allocations: 237.1 kB / 0.8857 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.7735, allocations: 4 kB / 0.8857 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006115/0.7741, allocations: 289.2 kB / 0.886 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.7741, allocations: 8 kB / 0.886 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7741, allocations: 0 / 0.886 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.7741, allocations: 4 kB / 0.886 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.7744, allocations: 47.84 kB / 0.8861 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.7744, allocations: 0 / 0.8861 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.7746, allocations: 39.95 kB / 0.8861 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.7746, allocations: 8 kB / 0.8861 GB, free: 6.52 MB / 0.6544 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.0001746/0.7748, allocations: 157.7 kB / 0.8863 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.7749, allocations: 27.81 kB / 0.8863 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007406/0.7756, allocations: 309.3 kB / 0.8866 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7757, allocations: 4 kB / 0.8866 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.7757, allocations: 3.984 kB / 0.8866 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.7757, allocations: 0 / 0.8866 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.7771, allocations: 0.8044 MB / 0.8874 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7771, allocations: 0 / 0.8874 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.7773, allocations: 44.78 kB / 0.8874 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.7773, allocations: 7.984 kB / 0.8874 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.7773, allocations: 4 kB / 0.8874 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.7773, allocations: 7.984 kB / 0.8874 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.7773, allocations: 0 / 0.8874 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/0.778, allocations: 405.3 kB / 0.8878 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.7781, allocations: 140.8 kB / 0.888 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.7782, allocations: 6.188 kB / 0.888 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.7784, allocations: 15.98 kB / 0.888 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.7785, allocations: 15.97 kB / 0.888 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.7785, allocations: 12 kB / 0.888 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002432/0.7787, allocations: 235 kB / 0.8882 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7787, allocations: 0 / 0.8882 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005577/0.7793, allocations: 115.8 kB / 0.8883 GB, free: 4.09 MB / 0.6544 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.001373/0.7807, allocations: 1.059 MB / 0.8894 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005301/0.7812, allocations: 219.8 kB / 0.8896 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7812, allocations: 0 / 0.8896 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.7814, allocations: 115.8 kB / 0.8897 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008731/0.7823, allocations: 151.9 kB / 0.8898 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.7869, allocations: 3.063 MB / 0.8928 GB, free: 15.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.7874, allocations: 0.7873 MB / 0.8936 GB, free: 14.48 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000328/0.7877, allocations: 82.86 kB / 0.8937 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.7879, allocations: 103.4 kB / 0.8938 GB, free: 14.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/0.7879, allocations: 0 / 0.8938 GB, free: 14.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.8255, allocations: 10.5 MB / 0.904 GB, free: 4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/9.087, allocations: 2.5 kB / 0.904 GB, free: 4 MB / 0.67 GB " [Timeout remaining time 651] (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: 12.641992333010421] Failed to read output from testmodel.py, exit status != 0: 9.158174915006384 9.174334058 8.408277773 Calling exit ...