Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001353/0.001353, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001553/0.001553, allocations: 213.4 kB / 23.78 MB, free: 4.523 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.449/1.449, allocations: 230.6 MB / 257.6 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9444/0.9444, allocations: 150 MB / 464 MB, free: 10.24 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003352/0.003352, allocations: 59.62 kB / 0.642 GB, free: 9.934 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2052, allocations: 89.18 MB / 0.7291 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5464/0.7516, allocations: 149.4 MB / 0.875 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008937/0.7605, allocations: 6.523 MB / 0.8813 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004723/0.761, allocations: 19.81 kB / 0.8814 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006108/0.7616, allocations: 174.7 kB / 0.8815 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003432/0.765, allocations: 1.299 MB / 0.8828 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.7668, allocations: 0.662 MB / 0.8834 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.7679, allocations: 0.7641 MB / 0.8842 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005436/0.7685, allocations: 237.4 kB / 0.8844 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.7703, allocations: 0.7396 MB / 0.8851 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.7713, allocations: 458.4 kB / 0.8856 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.966e-05/0.7714, allocations: 28 kB / 0.8856 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.7735, allocations: 1.052 MB / 0.8866 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.7737, allocations: 115.6 kB / 0.8867 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.7739, allocations: 147.3 kB / 0.8869 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.7759, allocations: 0.8758 MB / 0.8877 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7759, allocations: 0 / 0.8877 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7759, allocations: 0 / 0.8877 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.7759, allocations: 0 / 0.8877 GB, free: 2.469 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.001384/0.7773, allocations: 0.6329 MB / 0.8884 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.7774, allocations: 8.031 kB / 0.8884 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.974e-05/0.7774, allocations: 8.656 kB / 0.8884 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.82e-05/0.7775, allocations: 62.48 kB / 0.8884 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.7786, allocations: 136.2 kB / 0.8886 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/0.7793, allocations: 271.6 kB / 0.8888 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.7794, allocations: 76.06 kB / 0.8889 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.7794, allocations: 24 kB / 0.8889 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007513/0.7802, allocations: 400.9 kB / 0.8893 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.7802, allocations: 3.984 kB / 0.8893 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.7802, allocations: 11.94 kB / 0.8893 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.7802, allocations: 12.56 kB / 0.8893 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.7808, allocations: 265.8 kB / 0.8896 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.7828, allocations: 1.144 MB / 0.8907 GB, free: 15.28 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.7832, allocations: 186.6 kB / 0.8909 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.7834, allocations: 113.3 kB / 0.891 GB, free: 14.97 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008363/0.7843, allocations: 135.9 kB / 0.8911 GB, free: 14.84 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.7843, allocations: 38.48 kB / 0.8911 GB, free: 14.79 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 2.244e-06/0.7843, allocations: 4 kB / 0.8912 GB, free: 14.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.001017/0.7853, allocations: 354.6 kB / 0.8915 GB, free: 14.44 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.7854, allocations: 55.41 kB / 0.8915 GB, free: 14.37 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.7858, allocations: 320.5 kB / 0.8918 GB, free: 14.05 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.7858, allocations: 25.7 kB / 0.8919 GB, free: 14.02 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.786, allocations: 188.4 kB / 0.8921 GB, free: 13.83 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.786, allocations: 55.53 kB / 0.8921 GB, free: 13.78 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.7861, allocations: 41.7 kB / 0.8921 GB, free: 13.73 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.7863, allocations: 346.8 kB / 0.8925 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.7865, allocations: 92.44 kB / 0.8926 GB, free: 13.29 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.7868, allocations: 223 kB / 0.8928 GB, free: 13.04 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.7872, allocations: 235.4 kB / 0.893 GB, free: 12.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7872, allocations: 0 / 0.893 GB, free: 12.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006307/0.7879, allocations: 285.2 kB / 0.8933 GB, free: 12.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.7879, allocations: 8 kB / 0.8933 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.7879, allocations: 0.5 kB / 0.8933 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.7879, allocations: 8.188 kB / 0.8933 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.7881, allocations: 35.97 kB / 0.8933 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.7882, allocations: 4 kB / 0.8933 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.7884, allocations: 41.45 kB / 0.8934 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.7884, allocations: 12 kB / 0.8934 GB, free: 12.39 MB / 0.67 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.0001734/0.7886, allocations: 151.7 kB / 0.8935 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.7887, allocations: 27.81 kB / 0.8935 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007522/0.7895, allocations: 320.2 kB / 0.8939 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.7895, allocations: 0 / 0.8939 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7895, allocations: 3.938 kB / 0.8939 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.7895, allocations: 7.984 kB / 0.8939 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.7909, allocations: 0.7529 MB / 0.8946 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.7909, allocations: 4.625 kB / 0.8946 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.7911, allocations: 31.98 kB / 0.8946 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.7911, allocations: 0 / 0.8946 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.7911, allocations: 8 kB / 0.8946 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.7911, allocations: 7 kB / 0.8946 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.7911, allocations: 11.92 kB / 0.8947 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.7918, allocations: 393.4 kB / 0.895 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.792, allocations: 67.59 kB / 0.8951 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.792, allocations: 4 kB / 0.8951 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.7923, allocations: 15.98 kB / 0.8951 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.7923, allocations: 19.97 kB / 0.8951 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.7924, allocations: 8 kB / 0.8951 GB, free: 10.47 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002538/0.7926, allocations: 227 kB / 0.8954 GB, free: 10.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.7926, allocations: 0 / 0.8954 GB, free: 10.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005746/0.7932, allocations: 119.8 kB / 0.8955 GB, free: 10.13 MB / 0.67 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.001427/0.7946, allocations: 1.059 MB / 0.8965 GB, free: 9.023 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005426/0.7952, allocations: 216.3 kB / 0.8967 GB, free: 8.816 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7952, allocations: 0 / 0.8967 GB, free: 8.816 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.7954, allocations: 116.4 kB / 0.8968 GB, free: 8.703 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008743/0.7963, allocations: 165.8 kB / 0.897 GB, free: 8.551 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/0.8007, allocations: 3.066 MB / 0.9 GB, free: 5.324 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.8009, allocations: 185.1 kB / 0.9002 GB, free: 5.125 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003181/0.8012, allocations: 86.95 kB / 0.9002 GB, free: 5.047 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.8014, allocations: 99.39 kB / 0.9003 GB, free: 4.949 MB / 0.67 GB Notification: Performance of SimCode: time 1.242e-06/0.8014, allocations: 4 kB / 0.9003 GB, free: 4.945 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.8376, allocations: 11.32 MB / 0.9114 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.29, allocations: 0 / 0.9114 GB, free: 9.957 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.074693686910905] Failed to read output from testmodel.py, exit status != 0: 12.459501710953191 12.474159724 11.694744371 Calling exit ...