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.001581/0.001581, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002076/0.002076, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.8416/0.8416, allocations: 134 MB / 447.2 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",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.001895/0.001895, allocations: 65.17 kB / 0.6193 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1564, allocations: 85.9 MB / 0.7032 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5516/0.708, allocations: 173.1 MB / 0.8723 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009853/0.7179, allocations: 7.237 MB / 0.8793 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005424/0.7184, allocations: 19.81 kB / 0.8793 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006835/0.7191, allocations: 174.7 kB / 0.8795 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.7229, allocations: 1.334 MB / 0.8808 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.7247, allocations: 0.6718 MB / 0.8815 GB, free: 88 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001159/0.7258, allocations: 0.7758 MB / 0.8822 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005144/0.7264, allocations: 242.8 kB / 0.8825 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.7278, allocations: 0.5838 MB / 0.883 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.7288, allocations: 474.4 kB / 0.8835 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.28e-05/0.7289, allocations: 24 kB / 0.8835 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.7314, allocations: 1.379 MB / 0.8849 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.7316, allocations: 115.6 kB / 0.885 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.7318, allocations: 179.1 kB / 0.8851 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.7338, allocations: 0.925 MB / 0.886 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7338, allocations: 0 / 0.886 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7338, allocations: 4 kB / 0.886 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.7339, allocations: 0 / 0.886 GB, free: 11.4 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.001366/0.7352, allocations: 0.6368 MB / 0.8867 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.7353, allocations: 12.03 kB / 0.8867 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.908e-05/0.7353, allocations: 4.656 kB / 0.8867 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.036e-05/0.7354, allocations: 62.55 kB / 0.8867 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.7365, allocations: 131.6 kB / 0.8869 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006717/0.7372, allocations: 275.6 kB / 0.8871 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.379e-05/0.7373, allocations: 76.06 kB / 0.8872 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.7373, allocations: 28 kB / 0.8872 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006959/0.738, allocations: 367.2 kB / 0.8876 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.738, allocations: 0 / 0.8876 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.453e-05/0.7381, allocations: 15.94 kB / 0.8876 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.7381, allocations: 4 kB / 0.8876 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005634/0.7386, allocations: 273.8 kB / 0.8879 GB, free: 9.449 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.002187/0.7408, allocations: 1.462 MB / 0.8893 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.7412, allocations: 182.6 kB / 0.8895 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.7415, allocations: 112.8 kB / 0.8896 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007564/0.7422, allocations: 131.9 kB / 0.8897 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.7423, allocations: 30.56 kB / 0.8897 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.7423, allocations: 0 / 0.8897 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.000995/0.7433, allocations: 368.2 kB / 0.8901 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.7433, allocations: 55.41 kB / 0.8901 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.7437, allocations: 312.5 kB / 0.8904 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.7437, allocations: 33.64 kB / 0.8905 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.7438, allocations: 188.4 kB / 0.8906 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/0.7439, allocations: 55.53 kB / 0.8907 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.744, allocations: 45.66 kB / 0.8907 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7442, allocations: 342.8 kB / 0.8911 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.7444, allocations: 87.92 kB / 0.8911 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.7446, allocations: 148.7 kB / 0.8913 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.7451, allocations: 240.4 kB / 0.8915 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7451, allocations: 0 / 0.8915 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006175/0.7457, allocations: 285.2 kB / 0.8918 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7457, allocations: 8 kB / 0.8918 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7457, allocations: 0 / 0.8918 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.7457, allocations: 4.188 kB / 0.8918 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.746, allocations: 39.92 kB / 0.8918 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.746, allocations: 7.984 kB / 0.8918 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.7462, allocations: 35.66 kB / 0.8919 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.7462, allocations: 11.98 kB / 0.8919 GB, free: 5.082 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.000176/0.7464, allocations: 157.7 kB / 0.892 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.7465, allocations: 27.81 kB / 0.8921 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007213/0.7472, allocations: 313.3 kB / 0.8924 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7472, allocations: 3.938 kB / 0.8924 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.7472, allocations: 0 / 0.8924 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.7473, allocations: 0 / 0.8924 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.7486, allocations: 0.7839 MB / 0.8931 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.7487, allocations: 7.938 kB / 0.8931 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.7488, allocations: 35.92 kB / 0.8932 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.7488, allocations: 7.984 kB / 0.8932 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.7489, allocations: 4.219 kB / 0.8932 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.7489, allocations: 8 kB / 0.8932 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7489, allocations: 0 / 0.8932 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/0.7495, allocations: 405.2 kB / 0.8936 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.7497, allocations: 63.66 kB / 0.8936 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.7497, allocations: 3.984 kB / 0.8936 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.75, allocations: 15.98 kB / 0.8937 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.75, allocations: 23.86 kB / 0.8937 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.7501, allocations: 15.98 kB / 0.8937 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002512/0.7503, allocations: 223.1 kB / 0.8939 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7503, allocations: 0 / 0.8939 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005605/0.7509, allocations: 123.7 kB / 0.894 GB, free: 2.77 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.001489/0.7524, allocations: 1.044 MB / 0.895 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00054/0.7529, allocations: 219.7 kB / 0.8953 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7529, allocations: 0 / 0.8953 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.7531, allocations: 112.6 kB / 0.8954 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008791/0.754, allocations: 159.9 kB / 0.8955 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.7585, allocations: 3.063 MB / 0.8985 GB, free: 13.99 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.7589, allocations: 0.7834 MB / 0.8993 GB, free: 13.18 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002869/0.7592, allocations: 95.97 kB / 0.8994 GB, free: 13.09 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.7594, allocations: 95.41 kB / 0.8995 GB, free: 13 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.7594, allocations: 0 / 0.8995 GB, free: 13 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.795, allocations: 10.75 MB / 0.91 GB, free: 2.484 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.26, allocations: 8.047 kB / 0.91 GB, free: 2.477 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.958937730058096] Failed to read output from testmodel.py, exit status != 0: 12.422987709054723 12.440978819 11.703513683 Calling exit ...