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.001078/0.001078, 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.001298/0.001298, allocations: 196.1 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8473/0.8473, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 60.88 kB / 0.5054 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1422, allocations: 80.94 MB / 0.5845 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002312/0.1445, allocations: 1.247 MB / 0.5857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.1479, allocations: 2.936 MB / 0.5886 GB, free: 280 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.148, allocations: 0 / 0.5886 GB, free: 280 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.148, allocations: 3.938 kB / 0.5886 GB, free: 276 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.969e-05/0.1481, allocations: 7.969 kB / 0.5886 GB, free: 268 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.1485, allocations: 91.56 kB / 0.5886 GB, free: 176 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.351e-05/0.1486, allocations: 43.83 kB / 0.5887 GB, free: 132 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.1486, allocations: 4 kB / 0.5887 GB, free: 128 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004403/0.1491, allocations: 155.5 kB / 0.5888 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.1491, allocations: 19.92 kB / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.1491, allocations: 0 / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.1493, allocations: 67.88 kB / 0.5889 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.1493, allocations: 7.984 kB / 0.5889 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.1494, allocations: 23.86 kB / 0.589 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1495, allocations: 64.08 kB / 0.589 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1495, allocations: 0 / 0.589 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.31e-07/0.1495, allocations: 0 / 0.589 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1495, allocations: 0 / 0.589 GB, free: 15.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003597/0.1499, allocations: 351.4 kB / 0.5894 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.15, allocations: 8.031 kB / 0.5894 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.15, allocations: 38.75 kB / 0.5894 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.15, allocations: 0.9375 kB / 0.5894 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.897e-05/0.1501, allocations: 164.4 kB / 0.5896 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1502, allocations: 384 / 0.5896 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.1502, allocations: 12.28 kB / 0.5896 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1503, allocations: 57.55 kB / 0.5896 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1503, allocations: 4 kB / 0.5896 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1503, allocations: 11.88 kB / 0.5896 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1504, allocations: 4 kB / 0.5896 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.825e-05/0.1504, allocations: 15.97 kB / 0.5897 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.1506, allocations: 165.7 kB / 0.5898 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.451e-05/0.1507, allocations: 50.56 kB / 0.5899 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.1507, allocations: 16.84 kB / 0.5899 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006542/0.1514, allocations: 0.5907 MB / 0.5905 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1514, allocations: 38.56 kB / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.041e-06/0.1514, allocations: 0 / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005296/0.1519, allocations: 306.4 kB / 0.5908 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.152, allocations: 59.39 kB / 0.5908 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/0.152, allocations: 97.8 kB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1521, allocations: 29.7 kB / 0.591 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.1521, allocations: 88.05 kB / 0.591 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.1521, allocations: 27.64 kB / 0.5911 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.1522, allocations: 21.72 kB / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.1523, allocations: 318.8 kB / 0.5914 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.1523, allocations: 12 kB / 0.5914 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.996e-05/0.1524, allocations: 61.08 kB / 0.5915 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.688e-05/0.1525, allocations: 69.08 kB / 0.5915 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1525, allocations: 4 kB / 0.5915 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001353/0.1526, allocations: 97.45 kB / 0.5916 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1526, allocations: 4 kB / 0.5916 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1526, allocations: 3.938 kB / 0.5916 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1527, allocations: 4 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/0.1527, allocations: 20.42 kB / 0.5917 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.1528, allocations: 7.938 kB / 0.5917 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/0.1528, allocations: 7.938 kB / 0.5917 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1528, allocations: 8.125 kB / 0.5917 GB, free: 12.64 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.603e-05/0.1529, allocations: 113.8 kB / 0.5918 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.1529, allocations: 4 kB / 0.5918 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.1529, allocations: 11.97 kB / 0.5918 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1529, allocations: 0 / 0.5918 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.153, allocations: 0 / 0.5918 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.153, allocations: 3.938 kB / 0.5918 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.1532, allocations: 169.7 kB / 0.592 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1532, allocations: 0 / 0.592 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.673e-05/0.1533, allocations: 27.92 kB / 0.592 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1533, allocations: 4 kB / 0.592 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.1534, allocations: 0 / 0.592 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1534, allocations: 0 / 0.592 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1534, allocations: 3.938 kB / 0.592 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.1535, allocations: 179.4 kB / 0.5922 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.1536, allocations: 77.11 kB / 0.5923 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1536, allocations: 0 / 0.5923 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1537, allocations: 16.03 kB / 0.5923 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.1537, allocations: 7.938 kB / 0.5923 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1537, allocations: 0 / 0.5923 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.318e-05/0.1538, allocations: 87.62 kB / 0.5924 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1538, allocations: 0 / 0.5924 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002234/0.154, allocations: 12 kB / 0.5924 GB, free: 11.84 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.0003923/0.1544, allocations: 0.7125 MB / 0.5931 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.1545, allocations: 47.91 kB / 0.5931 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1545, allocations: 0 / 0.5931 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.43e-05/0.1546, allocations: 15.94 kB / 0.5931 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.1548, allocations: 15.92 kB / 0.5931 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.1563, allocations: 1.524 MB / 0.5946 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1565, allocations: 0.6885 MB / 0.5953 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.092e-05/0.1566, allocations: 7.984 kB / 0.5953 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.1566, allocations: 15.44 kB / 0.5953 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.1566, allocations: 3.938 kB / 0.5953 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.392/1.549, allocations: 1.622 MB / 0.5969 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.82, allocations: 14.22 kB / 0.5969 GB, free: 7.121 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)