Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.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.PropyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",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.001712/0.001713, 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.001888/0.001888, allocations: 193.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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9025/0.9025, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 68.38 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1365, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00229/0.1388, allocations: 1.373 MB / 0.5858 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.1421, allocations: 2.911 MB / 0.5887 GB, free: 148 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.17e-05/0.1421, allocations: 0 / 0.5887 GB, free: 148 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.476e-05/0.1422, allocations: 7.922 kB / 0.5887 GB, free: 140 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.1423, allocations: 39.81 kB / 0.5887 GB, free: 100 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.1429, allocations: 179.2 kB / 0.5889 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1431, allocations: 247.5 kB / 0.5891 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.1432, allocations: 8 kB / 0.5891 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.97e-05/0.1433, allocations: 91.83 kB / 0.5892 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1434, allocations: 127.7 kB / 0.5893 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.1435, allocations: 12 kB / 0.5893 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004103/0.1439, allocations: 143.8 kB / 0.5895 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.397e-05/0.144, allocations: 91.75 kB / 0.5896 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.1441, allocations: 83.64 kB / 0.5896 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.1444, allocations: 275.5 kB / 0.5899 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1445, allocations: 0 / 0.5899 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1445, allocations: 3.938 kB / 0.5899 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.1445, allocations: 4 kB / 0.5899 GB, free: 14.86 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.0007637/0.1453, allocations: 0.5184 MB / 0.5904 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1453, allocations: 8.031 kB / 0.5904 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.1454, allocations: 50.73 kB / 0.5905 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.1455, allocations: 20.75 kB / 0.5905 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1457, allocations: 243.1 kB / 0.5907 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.1457, allocations: 24.36 kB / 0.5907 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.1458, allocations: 16.38 kB / 0.5908 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.1464, allocations: 293 kB / 0.591 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1464, allocations: 7.938 kB / 0.591 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.1465, allocations: 8 kB / 0.5911 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1465, allocations: 4 kB / 0.5911 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.148, allocations: 0.7452 MB / 0.5918 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.1485, allocations: 305 kB / 0.5921 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.1502, allocations: 0.6839 MB / 0.5927 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.1507, allocations: 220.7 kB / 0.593 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005456/0.1513, allocations: 400.3 kB / 0.5933 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.1513, allocations: 34.56 kB / 0.5934 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.1513, allocations: 3.938 kB / 0.5934 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001792/0.1531, allocations: 0.6483 MB / 0.594 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.1532, allocations: 59.39 kB / 0.5941 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1534, allocations: 130 kB / 0.5942 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.1534, allocations: 33.7 kB / 0.5942 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.1535, allocations: 96.78 kB / 0.5943 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.1536, allocations: 122.2 kB / 0.5944 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.1538, allocations: 65.67 kB / 0.5945 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.154, allocations: 330.8 kB / 0.5948 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/0.1545, allocations: 191.8 kB / 0.595 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.155, allocations: 199.9 kB / 0.5952 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/0.156, allocations: 364.8 kB / 0.5955 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.156, allocations: 0 / 0.5955 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001132/0.1571, allocations: 468.3 kB / 0.596 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1572, allocations: 4 kB / 0.596 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.1572, allocations: 4 kB / 0.596 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.1572, allocations: 0 / 0.596 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.1576, allocations: 99.84 kB / 0.5961 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.1576, allocations: 0 / 0.5961 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.1579, allocations: 51.8 kB / 0.5961 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.1579, allocations: 12 kB / 0.5961 GB, free: 8.164 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.0001631/0.1581, allocations: 145.7 kB / 0.5963 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.1581, allocations: 27.75 kB / 0.5963 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.1594, allocations: 0.5083 MB / 0.5968 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1595, allocations: 4 kB / 0.5968 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.1595, allocations: 4 kB / 0.5968 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.1595, allocations: 7.922 kB / 0.5968 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.1599, allocations: 313.3 kB / 0.5971 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.1599, allocations: 3.938 kB / 0.5971 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.1602, allocations: 91.86 kB / 0.5972 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.1603, allocations: 0 / 0.5972 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.1603, allocations: 15.98 kB / 0.5972 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.1603, allocations: 4 kB / 0.5972 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1603, allocations: 0 / 0.5972 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.1615, allocations: 0.4926 MB / 0.5977 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.1615, allocations: 100.8 kB / 0.5978 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.1616, allocations: 4 kB / 0.5978 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.1618, allocations: 35.95 kB / 0.5978 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.162, allocations: 119.8 kB / 0.598 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.162, allocations: 15.98 kB / 0.598 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.058e-05/0.1621, allocations: 95.27 kB / 0.5981 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1621, allocations: 0 / 0.5981 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004196/0.1626, allocations: 115.9 kB / 0.5982 GB, free: 5.984 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.001703/0.1643, allocations: 1.127 MB / 0.5993 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.1655, allocations: 0.55 MB / 0.5998 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1655, allocations: 0 / 0.5998 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000559/0.1661, allocations: 263.7 kB / 0.6001 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.1666, allocations: 75.86 kB / 0.6001 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/0.1706, allocations: 2.664 MB / 0.6027 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1709, allocations: 0.7328 MB / 0.6035 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004065/0.1713, allocations: 182.7 kB / 0.6036 GB, free: 276 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1714, allocations: 63.41 kB / 0.6037 GB, free: 212 kB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1714, allocations: 4 kB / 0.6037 GB, free: 208 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7099/0.8813, allocations: 7.354 MB / 0.6109 GB, free: 52.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.994, allocations: 1.172 kB / 0.6109 GB, free: 52.7 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)