Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.001086/0.001086, allocations: 108 kB / 15.6 MB, free: 132 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.001218/0.001218, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8837/0.8837, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.31 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1376, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005315/0.143, allocations: 4.417 MB / 0.5888 GB, free: 12 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.1455, allocations: 2.695 MB / 0.5914 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.527e-05/0.1456, allocations: 0 / 0.5914 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1459, allocations: 47.67 kB / 0.5915 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.1462, allocations: 95.38 kB / 0.5915 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1472, allocations: 493 kB / 0.592 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.1475, allocations: 236 kB / 0.5922 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.1475, allocations: 17.5 kB / 0.5923 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000794/0.1483, allocations: 414.8 kB / 0.5926 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1484, allocations: 87.66 kB / 0.5927 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1485, allocations: 8 kB / 0.5927 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008607/0.1493, allocations: 495.3 kB / 0.5932 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.1494, allocations: 31.91 kB / 0.5932 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.1495, allocations: 83.59 kB / 0.5933 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.1501, allocations: 355.1 kB / 0.5937 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1501, allocations: 0 / 0.5937 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1501, allocations: 0 / 0.5937 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1501, allocations: 0 / 0.5937 GB, free: 10.99 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.0006445/0.1507, allocations: 0.4992 MB / 0.5941 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1508, allocations: 12.03 kB / 0.5942 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.1508, allocations: 46.73 kB / 0.5942 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.151, allocations: 20.75 kB / 0.5942 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1512, allocations: 212.2 kB / 0.5944 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1512, allocations: 12.7 kB / 0.5944 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.1512, allocations: 20.36 kB / 0.5945 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.1515, allocations: 248.9 kB / 0.5947 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1516, allocations: 0 / 0.5947 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.1516, allocations: 15.98 kB / 0.5947 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.1516, allocations: 8 kB / 0.5947 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.152, allocations: 427.5 kB / 0.5951 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009078/0.153, allocations: 1.004 MB / 0.5961 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.1532, allocations: 159.7 kB / 0.5963 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.1533, allocations: 68.81 kB / 0.5963 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.1545, allocations: 1.821 MB / 0.5981 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1545, allocations: 34.56 kB / 0.5981 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.394e-06/0.1545, allocations: 0 / 0.5981 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002963/0.1548, allocations: 149.4 kB / 0.5983 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.1548, allocations: 55.41 kB / 0.5983 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.155, allocations: 173.7 kB / 0.5985 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.155, allocations: 29.7 kB / 0.5985 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.1551, allocations: 143.8 kB / 0.5987 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.1551, allocations: 55.25 kB / 0.5987 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.1552, allocations: 53.7 kB / 0.5988 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.1553, allocations: 322.8 kB / 0.5991 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.1553, allocations: 35.97 kB / 0.5991 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1555, allocations: 146.8 kB / 0.5992 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.1557, allocations: 199.9 kB / 0.5994 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1557, allocations: 3.938 kB / 0.5994 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000289/0.156, allocations: 217.1 kB / 0.5997 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.156, allocations: 4 kB / 0.5997 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.156, allocations: 4 kB / 0.5997 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.156, allocations: 7.938 kB / 0.5997 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1562, allocations: 51.92 kB / 0.5997 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1562, allocations: 7.984 kB / 0.5997 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.759e-05/0.1563, allocations: 28.16 kB / 0.5997 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.1563, allocations: 20 kB / 0.5998 GB, free: 3.988 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 8.53e-05/0.1564, allocations: 130.4 kB / 0.5999 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.1565, allocations: 15.81 kB / 0.5999 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.1567, allocations: 158 kB / 0.6001 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.1567, allocations: 7.938 kB / 0.6001 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1568, allocations: 0 / 0.6001 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1568, allocations: 3.938 kB / 0.6001 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.157, allocations: 209.5 kB / 0.6003 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.157, allocations: 7.984 kB / 0.6003 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.443e-05/0.1571, allocations: 24 kB / 0.6003 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1571, allocations: 0 / 0.6003 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1571, allocations: 7.984 kB / 0.6003 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1571, allocations: 3.938 kB / 0.6003 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1571, allocations: 0 / 0.6003 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.1573, allocations: 215.3 kB / 0.6005 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.1574, allocations: 112.8 kB / 0.6006 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.1574, allocations: 15.98 kB / 0.6006 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.1577, allocations: 15.92 kB / 0.6007 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.1577, allocations: 11.98 kB / 0.6007 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.1577, allocations: 15.92 kB / 0.6007 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001054/0.1578, allocations: 120.9 kB / 0.6008 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1579, allocations: 4 kB / 0.6008 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006028/0.1585, allocations: 71.98 kB / 0.6009 GB, free: 2.766 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.0006653/0.1591, allocations: 0.8328 MB / 0.6017 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.1594, allocations: 124.6 kB / 0.6018 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1594, allocations: 4.062 kB / 0.6018 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.042e-05/0.1594, allocations: 43.92 kB / 0.6018 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.1599, allocations: 59.42 kB / 0.6019 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1849/0.3447, allocations: 2.037 MB / 0.6039 GB, free: 51.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.3449, allocations: 0.7118 MB / 0.6046 GB, free: 51.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001951/0.3451, allocations: 44.8 kB / 0.6046 GB, free: 51.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.3452, allocations: 45.34 kB / 0.6047 GB, free: 51.11 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.3452, allocations: 4.031 kB / 0.6047 GB, free: 51.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.985/2.33, allocations: 5.104 MB / 0.6097 GB, free: 50.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.494/11.82, allocations: 4.656 kB / 0.6097 GB, free: 50.63 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)