Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001258/0.001258, 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.001214/0.001214, allocations: 193.1 kB / 16.13 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.253/1.253, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8853/0.8853, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 64.89 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1409, allocations: 80.92 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002636/0.1436, allocations: 1.322 MB / 0.5851 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.1471, allocations: 2.924 MB / 0.5879 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.1471, allocations: 0 / 0.5879 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.1471, allocations: 3.984 kB / 0.5879 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.1472, allocations: 7.922 kB / 0.588 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.1476, allocations: 91.66 kB / 0.588 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.431e-05/0.1477, allocations: 31.86 kB / 0.5881 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.07e-05/0.1477, allocations: 4 kB / 0.5881 GB, free: 500 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.1481, allocations: 155.5 kB / 0.5882 GB, free: 344 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.423e-05/0.1482, allocations: 11.92 kB / 0.5882 GB, free: 332 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.1482, allocations: 4 kB / 0.5882 GB, free: 328 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.1483, allocations: 67.86 kB / 0.5883 GB, free: 260 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.1484, allocations: 4 kB / 0.5883 GB, free: 256 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.1484, allocations: 19.92 kB / 0.5883 GB, free: 236 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1486, allocations: 64.02 kB / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1486, allocations: 0 / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1486, allocations: 0 / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1486, allocations: 0 / 0.5884 GB, free: 172 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003779/0.149, allocations: 351.6 kB / 0.5887 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.149, allocations: 8.031 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.1491, allocations: 34.75 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.1491, allocations: 4.938 kB / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.702e-05/0.1492, allocations: 168.2 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.1492, allocations: 4.375 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.1493, allocations: 12.36 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1494, allocations: 53.61 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.1494, allocations: 7.938 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1494, allocations: 0 / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1494, allocations: 0 / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.14e-05/0.1495, allocations: 23.92 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.1496, allocations: 165.7 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.1497, allocations: 50.55 kB / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.1498, allocations: 20.8 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006303/0.1504, allocations: 0.5907 MB / 0.5898 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1504, allocations: 42.48 kB / 0.5899 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1505, allocations: 0 / 0.5899 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005268/0.151, allocations: 306.5 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.151, allocations: 51.41 kB / 0.5902 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.857e-05/0.1511, allocations: 101.8 kB / 0.5903 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1511, allocations: 29.7 kB / 0.5903 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.1512, allocations: 88.03 kB / 0.5904 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.1512, allocations: 23.66 kB / 0.5904 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.1512, allocations: 33.61 kB / 0.5905 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.756e-05/0.1513, allocations: 310.8 kB / 0.5908 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.1514, allocations: 15.98 kB / 0.5908 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-05/0.1514, allocations: 49.16 kB / 0.5908 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.507e-05/0.1515, allocations: 81.02 kB / 0.5909 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1515, allocations: 4 kB / 0.5909 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001297/0.1516, allocations: 93.77 kB / 0.591 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1517, allocations: 11.94 kB / 0.591 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1517, allocations: 0 / 0.591 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1517, allocations: 4 kB / 0.591 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.1518, allocations: 19.98 kB / 0.591 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1518, allocations: 0 / 0.591 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.326e-05/0.1518, allocations: 15.88 kB / 0.5911 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1518, allocations: 4.125 kB / 0.5911 GB, free: 13.01 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.494e-05/0.1519, allocations: 113.8 kB / 0.5912 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.1519, allocations: 4 kB / 0.5912 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.152, allocations: 7.969 kB / 0.5912 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.152, allocations: 4 kB / 0.5912 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.152, allocations: 0 / 0.5912 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.152, allocations: 7.922 kB / 0.5912 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1522, allocations: 169.7 kB / 0.5914 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1522, allocations: 0 / 0.5914 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.473e-05/0.1523, allocations: 12 kB / 0.5914 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1523, allocations: 4 kB / 0.5914 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1524, allocations: 8 kB / 0.5914 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1524, allocations: 448 / 0.5914 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.1524, allocations: 3.938 kB / 0.5914 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.1525, allocations: 175.4 kB / 0.5915 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.1526, allocations: 89.05 kB / 0.5916 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1526, allocations: 7.938 kB / 0.5916 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1527, allocations: 8 kB / 0.5916 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.1528, allocations: 7.938 kB / 0.5917 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1528, allocations: 4 kB / 0.5917 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.1528, allocations: 79.27 kB / 0.5917 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1528, allocations: 0 / 0.5917 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002357/0.153, allocations: 16 kB / 0.5917 GB, free: 12.21 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0003952/0.1534, allocations: 0.7048 MB / 0.5924 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.803e-05/0.1536, allocations: 47.95 kB / 0.5925 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1536, allocations: 0 / 0.5925 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.614e-05/0.1536, allocations: 19.94 kB / 0.5925 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.1539, allocations: 11.92 kB / 0.5925 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1551, allocations: 1.537 MB / 0.594 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.1553, allocations: 0.6926 MB / 0.5947 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.618e-05/0.1554, allocations: 4 kB / 0.5947 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.1554, allocations: 11.44 kB / 0.5947 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1554, allocations: 0 / 0.5947 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.1931, allocations: 1.514 MB / 0.5962 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.1933, allocations: 200.8 kB / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.134, allocations: 4.062 kB / 0.5964 GB, free: 7.375 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)