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.001192/0.001192, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 194.3 kB / 16.25 MB, free: 6.621 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.322/1.322, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6941/0.6941, allocations: 132.2 MB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 59.44 kB / 0.5013 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1327, allocations: 80.2 MB / 0.5797 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005815/0.1385, allocations: 4.747 MB / 0.5843 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.1414, allocations: 2.691 MB / 0.5869 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.168e-05/0.1414, allocations: 0 / 0.5869 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.1417, allocations: 43.73 kB / 0.587 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.142, allocations: 91.42 kB / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009994/0.143, allocations: 468.8 kB / 0.5875 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.1432, allocations: 239.9 kB / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.1433, allocations: 13.56 kB / 0.5877 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.1434, allocations: 115.6 kB / 0.5879 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1436, allocations: 95.58 kB / 0.5879 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1436, allocations: 8 kB / 0.588 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005665/0.1442, allocations: 371.2 kB / 0.5883 GB, free: 144 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.1443, allocations: 35.89 kB / 0.5883 GB, free: 108 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.455e-05/0.1443, allocations: 83.64 kB / 0.5884 GB, free: 24 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.1449, allocations: 363.3 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1449, allocations: 0 / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1449, allocations: 0 / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1449, allocations: 4 kB / 0.5888 GB, free: 15.66 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.0006714/0.1456, allocations: 0.4992 MB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1456, allocations: 8.031 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/0.1457, allocations: 58.73 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.1458, allocations: 20.75 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.146, allocations: 216 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1461, allocations: 16.7 kB / 0.5896 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.1461, allocations: 12.38 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.1465, allocations: 252.6 kB / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1465, allocations: 0 / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.1465, allocations: 12 kB / 0.5898 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.1465, allocations: 7.984 kB / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004514/0.147, allocations: 427.5 kB / 0.5902 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.148, allocations: 0.9488 MB / 0.5912 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.1483, allocations: 166.7 kB / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.1484, allocations: 61.77 kB / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.1497, allocations: 1.825 MB / 0.5932 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1498, allocations: 38.56 kB / 0.5932 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 4.689e-06/0.1498, allocations: 4 kB / 0.5932 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000325/0.1501, allocations: 151.7 kB / 0.5934 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1501, allocations: 51.41 kB / 0.5934 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1503, allocations: 173.8 kB / 0.5936 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1503, allocations: 29.7 kB / 0.5936 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/0.1504, allocations: 143.8 kB / 0.5937 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.1504, allocations: 51.3 kB / 0.5938 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.1505, allocations: 49.61 kB / 0.5938 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1506, allocations: 334.8 kB / 0.5941 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.1507, allocations: 35.98 kB / 0.5942 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.1508, allocations: 139.1 kB / 0.5943 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.1511, allocations: 193.5 kB / 0.5945 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1511, allocations: 4 kB / 0.5945 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002953/0.1514, allocations: 219.7 kB / 0.5947 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1514, allocations: 8 kB / 0.5947 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.1514, allocations: 4.469 kB / 0.5947 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1514, allocations: 11.94 kB / 0.5947 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.1516, allocations: 59.8 kB / 0.5948 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1516, allocations: 4 kB / 0.5948 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.1517, allocations: 35.67 kB / 0.5948 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.1518, allocations: 8 kB / 0.5948 GB, free: 8.715 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.000102/0.1519, allocations: 133.8 kB / 0.595 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.1519, allocations: 11.91 kB / 0.595 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.1522, allocations: 154.9 kB / 0.5951 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.1522, allocations: 11.92 kB / 0.5951 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1522, allocations: 0 / 0.5951 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1522, allocations: 0 / 0.5951 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.1525, allocations: 213.5 kB / 0.5953 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1525, allocations: 0 / 0.5953 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.503e-05/0.1526, allocations: 27.98 kB / 0.5954 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1526, allocations: 0 / 0.5954 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1526, allocations: 8 kB / 0.5954 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1526, allocations: 3.938 kB / 0.5954 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1526, allocations: 7.984 kB / 0.5954 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.1528, allocations: 221.9 kB / 0.5956 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/0.1529, allocations: 108.9 kB / 0.5957 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.1529, allocations: 0 / 0.5957 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.1532, allocations: 19.92 kB / 0.5957 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.1532, allocations: 7.984 kB / 0.5957 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.1532, allocations: 15.98 kB / 0.5957 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.542e-05/0.1533, allocations: 129.8 kB / 0.5959 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1533, allocations: 0 / 0.5959 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003643/0.1537, allocations: 87.91 kB / 0.596 GB, free: 7.48 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.0006822/0.1544, allocations: 0.8176 MB / 0.5968 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.1546, allocations: 123.8 kB / 0.5969 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1546, allocations: 0.9375 kB / 0.5969 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.387e-05/0.1547, allocations: 47.86 kB / 0.5969 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.1551, allocations: 65.98 kB / 0.597 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.1571, allocations: 2.071 MB / 0.599 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1575, allocations: 0.7128 MB / 0.5997 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.1576, allocations: 45.89 kB / 0.5997 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.1577, allocations: 51.42 kB / 0.5998 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1577, allocations: 3.938 kB / 0.5998 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3471/0.5048, allocations: 5.083 MB / 0.6048 GB, free: 55.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.505, allocations: 173.1 kB / 0.6049 GB, free: 55.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.422, allocations: 6.5 kB / 0.6049 GB, free: 55.73 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)