Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.00146/0.00146, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001771/0.001771, allocations: 197.5 kB / 16.14 MB, free: 6.66 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8715/0.8715, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.31 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.139, allocations: 80.93 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004898/0.1439, allocations: 4.053 MB / 0.5878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001796/0.1441, allocations: 159.5 kB / 0.5879 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.522e-05/0.1441, allocations: 0 / 0.5879 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.475e-05/0.1442, allocations: 3.938 kB / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.216e-05/0.1443, allocations: 7.984 kB / 0.5879 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.1446, allocations: 83.75 kB / 0.588 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.13e-05/0.1447, allocations: 55.81 kB / 0.588 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.1447, allocations: 8 kB / 0.5881 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.409e-05/0.1448, allocations: 15.92 kB / 0.5881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.1448, allocations: 11.98 kB / 0.5881 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1449, allocations: 0 / 0.5881 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.1451, allocations: 71.78 kB / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.1451, allocations: 4 kB / 0.5882 GB, free: 432 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.1451, allocations: 23.91 kB / 0.5882 GB, free: 408 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.1453, allocations: 44.17 kB / 0.5882 GB, free: 364 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1453, allocations: 8 kB / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1453, allocations: 0 / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1453, allocations: 0 / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003489/0.1456, allocations: 331.5 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1457, allocations: 11.97 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.1457, allocations: 38.75 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.1458, allocations: 8.859 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.825e-05/0.1459, allocations: 164.4 kB / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/0.1459, allocations: 30.27 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.1459, allocations: 4.125 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.1461, allocations: 41.69 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.1461, allocations: 0 / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1461, allocations: 4 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.1461, allocations: 7.922 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.03e-05/0.1462, allocations: 12 kB / 0.5889 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.1465, allocations: 338 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.143e-05/0.1466, allocations: 14.58 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.1466, allocations: 16.91 kB / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.626e-05/0.1467, allocations: 81.11 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1467, allocations: 38.5 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.1467, allocations: 0 / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000129/0.1469, allocations: 45.59 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.1469, allocations: 51.41 kB / 0.5894 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.147, allocations: 101.9 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.147, allocations: 25.7 kB / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.147, allocations: 91.97 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-06/0.147, allocations: 4 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.1471, allocations: 13.72 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.1472, allocations: 318.9 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.1472, allocations: 4 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/0.1472, allocations: 25.64 kB / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.1473, allocations: 21.72 kB / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1473, allocations: 0 / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.929e-05/0.1473, allocations: 45.62 kB / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1474, allocations: 8.062 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1474, allocations: 0 / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1474, allocations: 4 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/0.1474, allocations: 4 kB / 0.5901 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1474, allocations: 0 / 0.5901 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.1475, allocations: 4 kB / 0.5901 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1475, allocations: 8.266 kB / 0.5901 GB, free: 14.18 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 6.268e-05/0.1475, allocations: 109.8 kB / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.1476, allocations: 11.84 kB / 0.5902 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.733e-05/0.1477, allocations: 124.8 kB / 0.5903 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-05/0.1477, allocations: 188.2 kB / 0.5905 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.865e-05/0.1478, allocations: 176.3 kB / 0.5906 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.431e-05/0.1478, allocations: 180.2 kB / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.148, allocations: 409.2 kB / 0.5912 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/0.1481, allocations: 108.9 kB / 0.5913 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.1481, allocations: 101 kB / 0.5914 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.075e-05/0.1482, allocations: 184.2 kB / 0.5916 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.1482, allocations: 180.2 kB / 0.5918 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.269e-05/0.1483, allocations: 176.3 kB / 0.5919 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.926e-05/0.1483, allocations: 184.2 kB / 0.5921 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.1484, allocations: 311.7 kB / 0.5924 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.1485, allocations: 182.1 kB / 0.5926 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.1486, allocations: 184.3 kB / 0.5927 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.1487, allocations: 113.2 kB / 0.5929 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.1488, allocations: 184.3 kB / 0.593 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.1488, allocations: 105 kB / 0.5931 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.1489, allocations: 87.28 kB / 0.5932 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1489, allocations: 0 / 0.5932 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002248/0.1491, allocations: 23.92 kB / 0.5932 GB, free: 10.71 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 (0): * Single equations (assignments): 0 * 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.0004149/0.1495, allocations: 0.8321 MB / 0.594 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.6e-05/0.1496, allocations: 11.94 kB / 0.5941 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1496, allocations: 0 / 0.5941 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.1496, allocations: 0 / 0.5941 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.15, allocations: 0.5303 MB / 0.5946 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008575/0.1508, allocations: 1.311 MB / 0.5959 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.151, allocations: 0.6731 MB / 0.5965 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.251e-05/0.1511, allocations: 14.5 kB / 0.5965 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.1511, allocations: 11.38 kB / 0.5965 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1511, allocations: 0 / 0.5965 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2755/0.4266, allocations: 1.353 MB / 0.5979 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003168/0.4269, allocations: 209.8 kB / 0.5981 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/2.642, allocations: 4 kB / 0.5981 GB, free: 5.68 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)