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.001355/0.001355, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001776/0.001776, allocations: 210.3 kB / 22.24 MB, free: 5.262 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 / 256 MB, free: 7.785 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.8273/0.8273, allocations: 134 MB / 446.4 MB, free: 9.938 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.001985/0.001985, allocations: 71.8 kB / 0.6185 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1684, allocations: 85.92 MB / 0.7024 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5284/0.6969, allocations: 149.5 MB / 0.8484 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009069/0.7059, allocations: 6.555 MB / 0.8548 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004595/0.7064, allocations: 15.88 kB / 0.8548 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006092/0.707, allocations: 182.7 kB / 0.855 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00336/0.7104, allocations: 1.296 MB / 0.8562 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.7121, allocations: 0.6501 MB / 0.8569 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001078/0.7132, allocations: 0.7642 MB / 0.8576 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004894/0.7137, allocations: 246.8 kB / 0.8579 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.715, allocations: 0.576 MB / 0.8584 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009561/0.716, allocations: 454.4 kB / 0.8589 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.124e-05/0.7161, allocations: 28 kB / 0.8589 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.7181, allocations: 1.048 MB / 0.8599 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.7183, allocations: 119.6 kB / 0.86 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.7185, allocations: 155.3 kB / 0.8602 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.7205, allocations: 0.8744 MB / 0.861 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7206, allocations: 0 / 0.861 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7206, allocations: 0 / 0.861 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.047e-05/0.7206, allocations: 0 / 0.861 GB, free: 0.7344 MB / 0.6231 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.001276/0.7219, allocations: 0.6329 MB / 0.8616 GB, free: 72 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.7219, allocations: 8.031 kB / 0.8617 GB, free: 64 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.722, allocations: 66.61 kB / 0.8617 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.7231, allocations: 127.6 kB / 0.8618 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.7237, allocations: 271.5 kB / 0.8621 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.391e-05/0.7238, allocations: 76 kB / 0.8622 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.7238, allocations: 32 kB / 0.8622 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006941/0.7245, allocations: 396.9 kB / 0.8626 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.7245, allocations: 0 / 0.8626 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.7246, allocations: 12 kB / 0.8626 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.7246, allocations: 15.92 kB / 0.8626 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/0.7251, allocations: 269.8 kB / 0.8629 GB, free: 14.75 MB / 0.6387 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.001961/0.7271, allocations: 1.148 MB / 0.864 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.7275, allocations: 183.4 kB / 0.8642 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.7277, allocations: 108.8 kB / 0.8643 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007602/0.7285, allocations: 131.8 kB / 0.8644 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.7285, allocations: 30.56 kB / 0.8644 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.7285, allocations: 4 kB / 0.8644 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0009663/0.7295, allocations: 365.9 kB / 0.8648 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.7295, allocations: 55.41 kB / 0.8648 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.7299, allocations: 316.5 kB / 0.8651 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.7299, allocations: 29.7 kB / 0.8652 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.7301, allocations: 184.3 kB / 0.8653 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.7301, allocations: 55.55 kB / 0.8654 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.7302, allocations: 41.7 kB / 0.8654 GB, free: 12 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7304, allocations: 350.7 kB / 0.8658 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.7305, allocations: 83.94 kB / 0.8658 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.7308, allocations: 226.5 kB / 0.8661 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.7313, allocations: 245.4 kB / 0.8663 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.7313, allocations: 4 kB / 0.8663 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006102/0.7319, allocations: 277.2 kB / 0.8666 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.7319, allocations: 8 kB / 0.8666 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7319, allocations: 0 / 0.8666 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.732, allocations: 8.188 kB / 0.8666 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.7322, allocations: 39.92 kB / 0.8666 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7322, allocations: 10.12 kB / 0.8666 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.7324, allocations: 31.77 kB / 0.8666 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.7324, allocations: 19.92 kB / 0.8667 GB, free: 10.66 MB / 0.6387 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.0001745/0.7326, allocations: 153.7 kB / 0.8668 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.7327, allocations: 27.81 kB / 0.8668 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007196/0.7334, allocations: 319.8 kB / 0.8671 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.7334, allocations: 0 / 0.8671 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7335, allocations: 0 / 0.8671 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7335, allocations: 4 kB / 0.8671 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.7349, allocations: 0.753 MB / 0.8679 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.7349, allocations: 48 / 0.8679 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.7351, allocations: 47.83 kB / 0.8679 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.7351, allocations: 4 kB / 0.8679 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.7351, allocations: 8 kB / 0.8679 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.7351, allocations: 0 / 0.8679 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7351, allocations: 4 kB / 0.8679 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.7357, allocations: 401.2 kB / 0.8683 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.7359, allocations: 63.7 kB / 0.8684 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.7359, allocations: 8 kB / 0.8684 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.7362, allocations: 11.98 kB / 0.8684 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.7362, allocations: 19.92 kB / 0.8684 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.7362, allocations: 11.98 kB / 0.8684 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002363/0.7365, allocations: 227 kB / 0.8687 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7365, allocations: 0 / 0.8687 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005199/0.737, allocations: 127.7 kB / 0.8688 GB, free: 8.387 MB / 0.6387 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.001314/0.7383, allocations: 1.049 MB / 0.8698 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005322/0.7389, allocations: 217.9 kB / 0.87 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7389, allocations: 0 / 0.87 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.7391, allocations: 120.5 kB / 0.8701 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008514/0.7399, allocations: 157.5 kB / 0.8703 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/0.7442, allocations: 3.056 MB / 0.8733 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.7444, allocations: 181.1 kB / 0.8734 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000295/0.7447, allocations: 86.84 kB / 0.8735 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.7449, allocations: 103.4 kB / 0.8736 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of SimCode: time 5e-07/0.7449, allocations: 0 / 0.8736 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04362/0.7885, allocations: 11.69 MB / 0.885 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.13, allocations: 11.17 kB / 0.885 GB, free: 7.812 MB / 0.6544 GB " [Timeout remaining time 648] (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: 15.802927104756236] Failed to read output from testmodel.py, exit status != 0: 12.242255964782089 12.261293457 11.53718999 Calling exit ...