Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_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.001007/0.001007, 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.001068/0.001068, allocations: 193.2 kB / 16.14 MB, free: 6.664 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.25/1.25, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8535/0.8535, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 56.22 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1301, allocations: 80.92 MB / 0.5838 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005452/0.1356, allocations: 4.747 MB / 0.5884 GB, free: 148 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.1382, allocations: 2.718 MB / 0.5911 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.1383, allocations: 4 kB / 0.5911 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.1385, allocations: 43.73 kB / 0.5911 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.1387, allocations: 83.48 kB / 0.5912 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009155/0.1397, allocations: 465.2 kB / 0.5916 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.1399, allocations: 311.8 kB / 0.5919 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.14, allocations: 9.562 kB / 0.592 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.1402, allocations: 115.5 kB / 0.5921 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1403, allocations: 91.66 kB / 0.5922 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.1403, allocations: 4 kB / 0.5922 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005927/0.1409, allocations: 375.2 kB / 0.5925 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.141, allocations: 35.89 kB / 0.5925 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.723e-05/0.1411, allocations: 83.64 kB / 0.5926 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.1416, allocations: 367.3 kB / 0.593 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1416, allocations: 0 / 0.593 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.82e-07/0.1416, allocations: 0 / 0.593 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.1416, allocations: 0 / 0.593 GB, free: 11.47 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.0006271/0.1422, allocations: 0.4954 MB / 0.5935 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1423, allocations: 8.031 kB / 0.5935 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.1423, allocations: 50.73 kB / 0.5935 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.1425, allocations: 28.75 kB / 0.5935 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.1427, allocations: 212 kB / 0.5937 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.1427, allocations: 20.62 kB / 0.5938 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1428, allocations: 16.36 kB / 0.5938 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.1431, allocations: 244.1 kB / 0.594 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1431, allocations: 0 / 0.594 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.1431, allocations: 4 kB / 0.594 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.1432, allocations: 19.94 kB / 0.594 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.1436, allocations: 427.5 kB / 0.5944 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009916/0.1446, allocations: 0.9488 MB / 0.5954 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.1449, allocations: 159.7 kB / 0.5955 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.621e-05/0.145, allocations: 60.88 kB / 0.5956 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.1464, allocations: 1.829 MB / 0.5974 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1464, allocations: 42.5 kB / 0.5974 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.1464, allocations: 0 / 0.5974 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003193/0.1467, allocations: 148.9 kB / 0.5976 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.1468, allocations: 55.41 kB / 0.5976 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.1469, allocations: 162.6 kB / 0.5978 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1469, allocations: 29.7 kB / 0.5978 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.147, allocations: 151.7 kB / 0.5979 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.1471, allocations: 51.28 kB / 0.598 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.1471, allocations: 53.61 kB / 0.598 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1473, allocations: 322.8 kB / 0.5983 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.1473, allocations: 39.91 kB / 0.5984 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.1475, allocations: 139.2 kB / 0.5985 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.1477, allocations: 201.5 kB / 0.5987 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1478, allocations: 3.938 kB / 0.5987 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003016/0.1481, allocations: 213.4 kB / 0.5989 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1481, allocations: 6.031 kB / 0.5989 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1481, allocations: 4 kB / 0.5989 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1481, allocations: 11.94 kB / 0.5989 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.1483, allocations: 51.92 kB / 0.599 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1483, allocations: 7.984 kB / 0.599 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1484, allocations: 31.62 kB / 0.599 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.1484, allocations: 12 kB / 0.599 GB, free: 4.539 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 9.684e-05/0.1485, allocations: 134.6 kB / 0.5992 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.1486, allocations: 19.81 kB / 0.5992 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.1489, allocations: 158.1 kB / 0.5993 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.1489, allocations: 7.938 kB / 0.5993 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1489, allocations: 0 / 0.5993 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1489, allocations: 0 / 0.5993 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.1491, allocations: 217.5 kB / 0.5995 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1491, allocations: 0 / 0.5995 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.709e-05/0.1492, allocations: 27.94 kB / 0.5996 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1492, allocations: 3.984 kB / 0.5996 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1493, allocations: 7.938 kB / 0.5996 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1493, allocations: 7.938 kB / 0.5996 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1493, allocations: 0 / 0.5996 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.1495, allocations: 211.3 kB / 0.5998 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/0.1496, allocations: 108.9 kB / 0.5999 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.1496, allocations: 8 kB / 0.5999 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.1498, allocations: 23.92 kB / 0.5999 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.1499, allocations: 11.98 kB / 0.5999 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.1499, allocations: 12 kB / 0.5999 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.582e-05/0.15, allocations: 116.7 kB / 0.6001 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.543e-06/0.15, allocations: 0 / 0.6001 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003616/0.1503, allocations: 83.86 kB / 0.6001 GB, free: 3.305 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.0007437/0.1511, allocations: 0.8255 MB / 0.6009 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.1513, allocations: 123.4 kB / 0.6011 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1513, allocations: 3.938 kB / 0.6011 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.1514, allocations: 47.86 kB / 0.6011 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.1518, allocations: 55.88 kB / 0.6012 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2026/0.3544, allocations: 2.064 MB / 0.6032 GB, free: 52.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.3546, allocations: 0.7136 MB / 0.6039 GB, free: 51.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000201/0.3548, allocations: 37.58 kB / 0.6039 GB, free: 51.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.3548, allocations: 46.8 kB / 0.604 GB, free: 51.89 MB / 0.4981 GB Notification: Performance of SimCode: time 1.452e-06/0.3548, allocations: 0.5938 kB / 0.604 GB, free: 51.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4275/0.7824, allocations: 4.983 MB / 0.6088 GB, free: 51.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.7826, allocations: 177.4 kB / 0.609 GB, free: 51.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.238, allocations: 2.938 kB / 0.609 GB, free: 51.27 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)