Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",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.00108/0.00108, 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.001084/0.001084, allocations: 195.7 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.263/1.263, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8942/0.8942, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 64.27 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1475, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003113/0.1506, allocations: 1.376 MB / 0.5858 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004087/0.1547, allocations: 2.903 MB / 0.5887 GB, free: 140 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.1548, allocations: 0 / 0.5887 GB, free: 140 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.133e-05/0.1549, allocations: 11.92 kB / 0.5887 GB, free: 128 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.1551, allocations: 39.81 kB / 0.5887 GB, free: 88 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007249/0.1558, allocations: 187.1 kB / 0.5889 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.1561, allocations: 235.5 kB / 0.5891 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.1562, allocations: 4 kB / 0.5891 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1563, allocations: 99.78 kB / 0.5892 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.1565, allocations: 119.8 kB / 0.5893 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.1565, allocations: 12 kB / 0.5893 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.157, allocations: 151.8 kB / 0.5895 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1571, allocations: 91.75 kB / 0.5896 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1573, allocations: 83.66 kB / 0.5896 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.1577, allocations: 271.5 kB / 0.5899 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1577, allocations: 3.984 kB / 0.5899 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1577, allocations: 0 / 0.5899 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.1577, allocations: 0 / 0.5899 GB, free: 14.85 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008949/0.1586, allocations: 0.5223 MB / 0.5904 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1587, allocations: 8.031 kB / 0.5904 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.268e-05/0.1588, allocations: 54.67 kB / 0.5905 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.1589, allocations: 16.75 kB / 0.5905 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1592, allocations: 244 kB / 0.5907 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/0.1592, allocations: 24.36 kB / 0.5907 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.1593, allocations: 24.31 kB / 0.5908 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.16, allocations: 293 kB / 0.591 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.16, allocations: 0 / 0.591 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.16, allocations: 4 kB / 0.5911 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.16, allocations: 4 kB / 0.5911 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.1616, allocations: 0.7452 MB / 0.5918 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.162, allocations: 321 kB / 0.5921 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.1637, allocations: 0.6683 MB / 0.5927 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/0.1643, allocations: 232.7 kB / 0.593 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004671/0.1648, allocations: 396.3 kB / 0.5933 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.1648, allocations: 38.56 kB / 0.5934 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.624e-06/0.1648, allocations: 0 / 0.5934 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001709/0.1666, allocations: 0.6483 MB / 0.594 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.1666, allocations: 55.41 kB / 0.5941 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1667, allocations: 134 kB / 0.5942 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1668, allocations: 33.64 kB / 0.5942 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.1668, allocations: 96.78 kB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1669, allocations: 122.2 kB / 0.5944 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.1671, allocations: 69.67 kB / 0.5945 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1672, allocations: 326.8 kB / 0.5948 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.1677, allocations: 195.8 kB / 0.595 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.1682, allocations: 195.9 kB / 0.5952 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009259/0.1691, allocations: 364.9 kB / 0.5955 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1691, allocations: 0 / 0.5955 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001124/0.1703, allocations: 464.3 kB / 0.596 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1703, allocations: 8 kB / 0.596 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.1703, allocations: 0 / 0.596 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1703, allocations: 0 / 0.596 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.1707, allocations: 99.84 kB / 0.5961 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.1707, allocations: 8 kB / 0.5961 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.1709, allocations: 43.8 kB / 0.5961 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.171, allocations: 12 kB / 0.5961 GB, free: 8.152 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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 0.0001316/0.1711, allocations: 141.8 kB / 0.5963 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.1712, allocations: 19.75 kB / 0.5963 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.1724, allocations: 0.5199 MB / 0.5968 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.1724, allocations: 4 kB / 0.5968 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1724, allocations: 7.938 kB / 0.5968 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1725, allocations: 3.984 kB / 0.5968 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.1728, allocations: 309.3 kB / 0.5971 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1728, allocations: 3.938 kB / 0.5971 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.1732, allocations: 99.84 kB / 0.5972 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1732, allocations: 4 kB / 0.5972 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.1732, allocations: 11.98 kB / 0.5972 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1732, allocations: 0 / 0.5972 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1732, allocations: 0 / 0.5972 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.1744, allocations: 0.4964 MB / 0.5977 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.1745, allocations: 100.8 kB / 0.5978 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.1745, allocations: 4 kB / 0.5978 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1747, allocations: 39.95 kB / 0.5978 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.175, allocations: 115.8 kB / 0.598 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.175, allocations: 15.98 kB / 0.598 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.656e-05/0.1751, allocations: 110.5 kB / 0.5981 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1751, allocations: 0 / 0.5981 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004119/0.1755, allocations: 115.9 kB / 0.5982 GB, free: 5.957 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 (37): * Single equations (assignments): 37 * 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.001808/0.1773, allocations: 1.115 MB / 0.5993 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.1786, allocations: 0.5539 MB / 0.5998 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1786, allocations: 0 / 0.5998 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005637/0.1792, allocations: 259.7 kB / 0.6001 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.1796, allocations: 71.92 kB / 0.6001 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.184, allocations: 2.661 MB / 0.6027 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1843, allocations: 0.7405 MB / 0.6035 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004477/0.1848, allocations: 182.9 kB / 0.6036 GB, free: 264 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.1849, allocations: 63.41 kB / 0.6037 GB, free: 200 kB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1849, allocations: 0 / 0.6037 GB, free: 200 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3969/0.5818, allocations: 7.352 MB / 0.6109 GB, free: 52.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/8.101, allocations: 10.84 kB / 0.6109 GB, free: 52.61 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)