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.001918/0.001918, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.003391/0.003392, allocations: 193.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.187/2.187, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.499/1.499, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 59.94 kB / 0.5049 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2714, allocations: 80.93 MB / 0.584 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003983/0.2755, allocations: 1.443 MB / 0.5854 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005379/0.2809, allocations: 2.886 MB / 0.5882 GB, free: 416 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.281, allocations: 0 / 0.5882 GB, free: 416 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.2811, allocations: 7.984 kB / 0.5882 GB, free: 408 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.2813, allocations: 35.81 kB / 0.5883 GB, free: 372 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009331/0.2823, allocations: 167.4 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.2827, allocations: 235.5 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.2828, allocations: 4 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.283, allocations: 103.8 kB / 0.5887 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.2832, allocations: 127.8 kB / 0.5889 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.419e-05/0.2833, allocations: 16 kB / 0.5889 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005389/0.2839, allocations: 147.8 kB / 0.589 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.284, allocations: 91.75 kB / 0.5891 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.2842, allocations: 91.62 kB / 0.5892 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005639/0.2848, allocations: 271.5 kB / 0.5895 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2848, allocations: 0 / 0.5895 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.532e-06/0.2848, allocations: 4 kB / 0.5895 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.2849, allocations: 3.938 kB / 0.5895 GB, free: 15.12 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.001251/0.2861, allocations: 0.53 MB / 0.59 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.2862, allocations: 12.03 kB / 0.59 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.132e-05/0.2863, allocations: 46.73 kB / 0.59 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.2865, allocations: 20.69 kB / 0.5901 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.2869, allocations: 244 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/0.2869, allocations: 24.36 kB / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.287, allocations: 16.38 kB / 0.5903 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.2881, allocations: 297 kB / 0.5906 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2881, allocations: 0 / 0.5906 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.2881, allocations: 8 kB / 0.5906 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2882, allocations: 4 kB / 0.5906 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/0.2906, allocations: 0.7452 MB / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.2912, allocations: 309.1 kB / 0.5916 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/0.2938, allocations: 0.6722 MB / 0.5923 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008296/0.2947, allocations: 232.7 kB / 0.5925 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005945/0.2953, allocations: 396.3 kB / 0.5929 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.2953, allocations: 34.56 kB / 0.5929 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.434e-06/0.2953, allocations: 0 / 0.5929 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.002633/0.298, allocations: 0.6522 MB / 0.5936 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.2981, allocations: 59.34 kB / 0.5936 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.2982, allocations: 129 kB / 0.5937 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.2983, allocations: 33.7 kB / 0.5938 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.2984, allocations: 88.8 kB / 0.5939 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.2985, allocations: 130.1 kB / 0.594 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.2987, allocations: 61.69 kB / 0.594 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2989, allocations: 334.8 kB / 0.5944 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007678/0.2997, allocations: 195.8 kB / 0.5946 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/0.3005, allocations: 199.9 kB / 0.5947 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.302, allocations: 360.9 kB / 0.5951 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.302, allocations: 0 / 0.5951 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001792/0.3038, allocations: 472.2 kB / 0.5955 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.3038, allocations: 4 kB / 0.5955 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3038, allocations: 0 / 0.5955 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.3039, allocations: 4 kB / 0.5955 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.3045, allocations: 99.84 kB / 0.5956 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.3045, allocations: 0 / 0.5956 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.3048, allocations: 51.75 kB / 0.5957 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/0.3049, allocations: 15.98 kB / 0.5957 GB, free: 8.418 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.0002357/0.3052, allocations: 141.7 kB / 0.5958 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/0.3053, allocations: 19.75 kB / 0.5959 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.3074, allocations: 0.506 MB / 0.5964 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.3075, allocations: 4 kB / 0.5964 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.3075, allocations: 0 / 0.5964 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.3075, allocations: 7.984 kB / 0.5964 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.3082, allocations: 317.2 kB / 0.5967 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.3082, allocations: 11.92 kB / 0.5967 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005893/0.3088, allocations: 95.86 kB / 0.5968 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.3088, allocations: 0 / 0.5968 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.3089, allocations: 11.98 kB / 0.5968 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3089, allocations: 0 / 0.5968 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3089, allocations: 0 / 0.5968 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.3108, allocations: 0.5004 MB / 0.5973 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.311, allocations: 96.8 kB / 0.5974 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.3111, allocations: 12 kB / 0.5974 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.3114, allocations: 39.95 kB / 0.5974 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004232/0.3118, allocations: 115.8 kB / 0.5975 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/0.3119, allocations: 11.98 kB / 0.5975 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001195/0.312, allocations: 99.27 kB / 0.5976 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.01e-07/0.312, allocations: 4 kB / 0.5976 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007484/0.3128, allocations: 115.9 kB / 0.5977 GB, free: 6.23 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.002799/0.3156, allocations: 1.115 MB / 0.5988 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002147/0.3178, allocations: 0.55 MB / 0.5994 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3178, allocations: 7.938 kB / 0.5994 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009727/0.3188, allocations: 259.7 kB / 0.5996 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.3195, allocations: 77.94 kB / 0.5997 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007445/0.327, allocations: 2.72 MB / 0.6024 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.3275, allocations: 0.7289 MB / 0.6031 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007755/0.3283, allocations: 178.1 kB / 0.6032 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.3286, allocations: 71.39 kB / 0.6033 GB, free: 424 kB / 0.4981 GB Notification: Performance of SimCode: time 8.21e-07/0.3286, allocations: 0 / 0.6033 GB, free: 424 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7792/1.108, allocations: 7.063 MB / 0.6102 GB, free: 52.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/1.108, allocations: 201.3 kB / 0.6104 GB, free: 52.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.439/4.547, allocations: 0 / 0.6104 GB, free: 52.58 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)