Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009919/0.0009916, allocations: 196 kB / 16.53 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7118/0.7118, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 64.45 kB / 0.5019 GB, free: 8.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2162, allocations: 80.21 MB / 0.5802 GB, free: 8.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.008244/0.2245, allocations: 4.717 MB / 0.5848 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.2277, allocations: 2.699 MB / 0.5874 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.2279, allocations: 3.938 kB / 0.5874 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.2283, allocations: 43.69 kB / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.2287, allocations: 103.3 kB / 0.5876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2302, allocations: 0.4954 MB / 0.588 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.2304, allocations: 224 kB / 0.5883 GB, free: 352 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.2305, allocations: 13.5 kB / 0.5883 GB, free: 336 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.2307, allocations: 119.6 kB / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.2308, allocations: 95.58 kB / 0.5885 GB, free: 120 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.2309, allocations: 8 kB / 0.5885 GB, free: 112 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007457/0.2316, allocations: 367.3 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.572e-05/0.2317, allocations: 31.89 kB / 0.5889 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.349e-05/0.2318, allocations: 83.64 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005843/0.2324, allocations: 363.4 kB / 0.5893 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2324, allocations: 0 / 0.5893 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2324, allocations: 0 / 0.5893 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2325, allocations: 0 / 0.5893 GB, free: 15.28 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007563/0.2332, allocations: 0.4992 MB / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2333, allocations: 12.03 kB / 0.5898 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.327e-05/0.2333, allocations: 50.67 kB / 0.5898 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.2335, allocations: 20.75 kB / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.2338, allocations: 224 kB / 0.5901 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2338, allocations: 8.703 kB / 0.5901 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.2338, allocations: 16.38 kB / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.2342, allocations: 248.7 kB / 0.5903 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2342, allocations: 3.938 kB / 0.5903 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.2343, allocations: 8 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.2343, allocations: 7.984 kB / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.2348, allocations: 427.5 kB / 0.5908 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.236, allocations: 0.9527 MB / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.2363, allocations: 155.5 kB / 0.5918 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.2364, allocations: 65.75 kB / 0.5919 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/0.2379, allocations: 1.825 MB / 0.5937 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.238, allocations: 42.55 kB / 0.5937 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.238, allocations: 0 / 0.5937 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003537/0.2384, allocations: 148.2 kB / 0.5939 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.2384, allocations: 55.41 kB / 0.5939 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.2386, allocations: 169.6 kB / 0.5941 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2387, allocations: 37.64 kB / 0.5941 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.2387, allocations: 135.8 kB / 0.5942 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.2388, allocations: 55.27 kB / 0.5943 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.2389, allocations: 61.55 kB / 0.5944 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.239, allocations: 326.8 kB / 0.5947 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.2391, allocations: 35.98 kB / 0.5947 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.2393, allocations: 134.2 kB / 0.5948 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.2395, allocations: 201.5 kB / 0.595 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2395, allocations: 4 kB / 0.595 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003168/0.2399, allocations: 211.3 kB / 0.5952 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.2399, allocations: 4 kB / 0.5952 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2399, allocations: 7.984 kB / 0.5952 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.2399, allocations: 12.41 kB / 0.5953 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.2401, allocations: 59.86 kB / 0.5953 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.2402, allocations: 7.938 kB / 0.5953 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2403, allocations: 27.69 kB / 0.5953 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.2403, allocations: 20 kB / 0.5954 GB, free: 8.328 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001158/0.2404, allocations: 129.8 kB / 0.5955 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.2405, allocations: 11.91 kB / 0.5955 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.2408, allocations: 155 kB / 0.5956 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.2408, allocations: 7.938 kB / 0.5957 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2408, allocations: 0 / 0.5957 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2408, allocations: 3.984 kB / 0.5957 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.2411, allocations: 217.5 kB / 0.5959 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2411, allocations: 0 / 0.5959 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.002e-05/0.2412, allocations: 27.92 kB / 0.5959 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2412, allocations: 4 kB / 0.5959 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.2412, allocations: 0 / 0.5959 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2412, allocations: 3.938 kB / 0.5959 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2413, allocations: 0 / 0.5959 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.2415, allocations: 229 kB / 0.5961 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.979e-05/0.2416, allocations: 104.9 kB / 0.5962 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.2416, allocations: 0 / 0.5962 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.2418, allocations: 19.92 kB / 0.5962 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.2419, allocations: 15.92 kB / 0.5963 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.2419, allocations: 15.92 kB / 0.5963 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.793e-05/0.242, allocations: 121.6 kB / 0.5964 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.242, allocations: 4 kB / 0.5964 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003894/0.2424, allocations: 79.94 kB / 0.5965 GB, free: 7.105 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007595/0.2432, allocations: 0.8325 MB / 0.5973 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.2434, allocations: 130 kB / 0.5974 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2434, allocations: 0 / 0.5974 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/0.2435, allocations: 47.86 kB / 0.5974 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.244, allocations: 56.83 kB / 0.5975 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.2462, allocations: 2.029 MB / 0.5995 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.2464, allocations: 0.7168 MB / 0.6002 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.2466, allocations: 41.91 kB / 0.6002 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.2467, allocations: 47.36 kB / 0.6003 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.2467, allocations: 0 / 0.6003 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2599/0.5066, allocations: 5.165 MB / 0.6053 GB, free: 55.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.438, allocations: 8.141 kB / 0.6053 GB, free: 55.96 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)