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.001792/0.001792, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002271/0.002271, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 8.012 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.8206/0.8206, allocations: 134 MB / 446.4 MB, free: 10.21 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.001977/0.001977, allocations: 66.61 kB / 0.6186 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1578, allocations: 85.9 MB / 0.7024 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5477/0.7055, allocations: 173.1 MB / 0.8715 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009736/0.7152, allocations: 7.233 MB / 0.8786 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006964/0.7159, allocations: 19.88 kB / 0.8786 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.7165, allocations: 174.7 kB / 0.8787 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.7204, allocations: 1.342 MB / 0.8801 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.7224, allocations: 0.6634 MB / 0.8807 GB, free: 60 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.7236, allocations: 0.7758 MB / 0.8815 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004522/0.724, allocations: 246.8 kB / 0.8817 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.7254, allocations: 0.5915 MB / 0.8823 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.7265, allocations: 466.5 kB / 0.8827 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.7265, allocations: 28 kB / 0.8827 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.7291, allocations: 1.376 MB / 0.8841 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.7293, allocations: 111.6 kB / 0.8842 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.7295, allocations: 183.1 kB / 0.8844 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.7312, allocations: 0.9251 MB / 0.8853 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7312, allocations: 0 / 0.8853 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7312, allocations: 0 / 0.8853 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.7312, allocations: 0 / 0.8853 GB, free: 11.38 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.001048/0.7323, allocations: 0.6368 MB / 0.8859 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.7323, allocations: 8.031 kB / 0.8859 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.926e-05/0.7324, allocations: 69.34 kB / 0.886 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009541/0.7333, allocations: 127.6 kB / 0.8861 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.7339, allocations: 275.6 kB / 0.8863 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.832e-05/0.734, allocations: 72.06 kB / 0.8864 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.734, allocations: 32 kB / 0.8864 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006425/0.7347, allocations: 367.3 kB / 0.8868 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.7347, allocations: 3.938 kB / 0.8868 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.7347, allocations: 8 kB / 0.8868 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.7347, allocations: 11.94 kB / 0.8868 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.7352, allocations: 277.8 kB / 0.8871 GB, free: 9.422 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.001968/0.7372, allocations: 1.446 MB / 0.8885 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.7376, allocations: 190.5 kB / 0.8887 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.7378, allocations: 108.8 kB / 0.8888 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007738/0.7386, allocations: 139.8 kB / 0.8889 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.7386, allocations: 34.56 kB / 0.889 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.7386, allocations: 0 / 0.889 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0009209/0.7395, allocations: 364 kB / 0.8893 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.7396, allocations: 59.28 kB / 0.8894 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.7399, allocations: 316.5 kB / 0.8897 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.7399, allocations: 33.7 kB / 0.8897 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.7401, allocations: 184.4 kB / 0.8899 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.7401, allocations: 51.53 kB / 0.8899 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-05/0.7402, allocations: 45.66 kB / 0.89 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.7404, allocations: 346.7 kB / 0.8903 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.7406, allocations: 83.94 kB / 0.8904 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.7408, allocations: 145.9 kB / 0.8905 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.7412, allocations: 240.3 kB / 0.8907 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7412, allocations: 0 / 0.8907 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000571/0.7418, allocations: 289.4 kB / 0.891 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.7418, allocations: 4 kB / 0.891 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7418, allocations: 4 kB / 0.891 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.7418, allocations: 4 kB / 0.891 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.7421, allocations: 40.41 kB / 0.8911 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.7421, allocations: 4 kB / 0.8911 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.7423, allocations: 35.77 kB / 0.8911 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.7423, allocations: 11.62 kB / 0.8911 GB, free: 5.059 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.000205/0.7425, allocations: 161.8 kB / 0.8913 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.7426, allocations: 31.8 kB / 0.8913 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/0.7433, allocations: 312.6 kB / 0.8916 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.7433, allocations: 0 / 0.8916 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.7433, allocations: 0 / 0.8916 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7433, allocations: 0 / 0.8916 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.7447, allocations: 0.7762 MB / 0.8924 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7447, allocations: 12.2 kB / 0.8924 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.7449, allocations: 39.86 kB / 0.8924 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.7449, allocations: 4 kB / 0.8924 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.7449, allocations: 4 kB / 0.8924 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.7449, allocations: 4 kB / 0.8924 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7449, allocations: 0 / 0.8924 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007065/0.7456, allocations: 405.2 kB / 0.8928 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.7457, allocations: 63.59 kB / 0.8929 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.7458, allocations: 4 kB / 0.8929 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.746, allocations: 19.98 kB / 0.8929 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.746, allocations: 15.97 kB / 0.8929 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.7461, allocations: 12 kB / 0.8929 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002256/0.7463, allocations: 227 kB / 0.8931 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7463, allocations: 0 / 0.8931 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004702/0.7468, allocations: 123.7 kB / 0.8932 GB, free: 2.758 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.001265/0.748, allocations: 1.056 MB / 0.8943 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004989/0.7485, allocations: 211.7 kB / 0.8945 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7485, allocations: 0 / 0.8945 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.7488, allocations: 116.2 kB / 0.8946 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/0.7496, allocations: 156.9 kB / 0.8947 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.7536, allocations: 3.074 MB / 0.8977 GB, free: 13.96 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.754, allocations: 0.7834 MB / 0.8985 GB, free: 13.15 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000262/0.7543, allocations: 78.88 kB / 0.8986 GB, free: 13.07 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.7545, allocations: 107.4 kB / 0.8987 GB, free: 12.97 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/0.7545, allocations: 0 / 0.8987 GB, free: 12.97 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.7929, allocations: 10.72 MB / 0.9091 GB, free: 2.477 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.1, allocations: 10.42 kB / 0.9092 GB, free: 2.469 MB / 0.67 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.694877321002423] Failed to read output from testmodel.py, exit status != 0: 12.221311606001109 12.246103603 11.509613297 Calling exit ...