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.007992/0.007992, allocations: 106.2 kB / 15.74 MB, free: 6 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.00183/0.00183, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9996/0.9996, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 59.91 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4823/0.4837, allocations: 80.92 MB / 0.6642 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002249/0.486, allocations: 1.382 MB / 0.6655 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003169/0.4892, allocations: 2.911 MB / 0.6683 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.4893, allocations: 0 / 0.6683 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.793e-05/0.4894, allocations: 5.219 kB / 0.6683 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.4896, allocations: 53.39 kB / 0.6684 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.4901, allocations: 183.8 kB / 0.6686 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.4904, allocations: 243.5 kB / 0.6688 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.4905, allocations: 2.656 kB / 0.6688 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.488e-05/0.4906, allocations: 90.81 kB / 0.6689 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.4907, allocations: 122.3 kB / 0.669 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.4908, allocations: 14.66 kB / 0.669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.4911, allocations: 134.6 kB / 0.6692 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.4912, allocations: 89.22 kB / 0.6692 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.4914, allocations: 95.19 kB / 0.6693 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.4917, allocations: 271.2 kB / 0.6696 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4918, allocations: 0 / 0.6696 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4918, allocations: 1.125 kB / 0.6696 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.4918, allocations: 0 / 0.6696 GB, free: 3.062 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.0007697/0.4925, allocations: 0.5368 MB / 0.6701 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4926, allocations: 8.781 kB / 0.6701 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.986e-05/0.4927, allocations: 49.42 kB / 0.6702 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.4928, allocations: 21.75 kB / 0.6702 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.493, allocations: 236.5 kB / 0.6704 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.4931, allocations: 25.05 kB / 0.6704 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.4931, allocations: 13.56 kB / 0.6705 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.4937, allocations: 294.1 kB / 0.6707 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4937, allocations: 0 / 0.6707 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.4937, allocations: 9.125 kB / 0.6707 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.4937, allocations: 3.719 kB / 0.6707 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.4951, allocations: 0.7462 MB / 0.6715 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.4955, allocations: 297.7 kB / 0.6718 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.497, allocations: 0.6825 MB / 0.6724 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/0.4975, allocations: 237.7 kB / 0.6727 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003924/0.4979, allocations: 392.9 kB / 0.673 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.4979, allocations: 36.72 kB / 0.6731 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.704e-06/0.4979, allocations: 3.938 kB / 0.6731 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001538/0.4995, allocations: 0.6483 MB / 0.6737 GB, free: 348 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.4995, allocations: 62.78 kB / 0.6738 GB, free: 276 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.4996, allocations: 125.8 kB / 0.6739 GB, free: 160 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.4997, allocations: 31.11 kB / 0.6739 GB, free: 124 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.4997, allocations: 90.17 kB / 0.674 GB, free: 32 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.4998, allocations: 130.4 kB / 0.6741 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.5, allocations: 64.22 kB / 0.6742 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5001, allocations: 332.4 kB / 0.6745 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/0.5006, allocations: 195.5 kB / 0.6747 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.501, allocations: 196.6 kB / 0.6749 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008583/0.5019, allocations: 367.8 kB / 0.6752 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5019, allocations: 1 kB / 0.6752 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001049/0.503, allocations: 460.3 kB / 0.6757 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.503, allocations: 8.875 kB / 0.6757 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.503, allocations: 0 / 0.6757 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.503, allocations: 1.688 kB / 0.6757 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.5034, allocations: 96.34 kB / 0.6758 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.5034, allocations: 5.094 kB / 0.6758 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.5036, allocations: 54.56 kB / 0.6758 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.5037, allocations: 15.86 kB / 0.6758 GB, free: 14.96 MB / 0.5137 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.0001377/0.5038, allocations: 140.2 kB / 0.676 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.5039, allocations: 20.53 kB / 0.676 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.5051, allocations: 0.516 MB / 0.6765 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.5051, allocations: 4.312 kB / 0.6765 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5051, allocations: 0 / 0.6765 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.5051, allocations: 5.156 kB / 0.6765 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.5055, allocations: 313.9 kB / 0.6768 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5055, allocations: 3.938 kB / 0.6768 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.5059, allocations: 95.92 kB / 0.6769 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.5059, allocations: 1.156 kB / 0.6769 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.5059, allocations: 12.83 kB / 0.6769 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.506, allocations: 1.094 kB / 0.6769 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.506, allocations: 0 / 0.6769 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.5071, allocations: 0.4947 MB / 0.6774 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/0.5072, allocations: 106.1 kB / 0.6775 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.5073, allocations: 10.09 kB / 0.6775 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.5074, allocations: 35.92 kB / 0.6775 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.5077, allocations: 115.2 kB / 0.6776 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.5077, allocations: 15.58 kB / 0.6777 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.619e-05/0.5078, allocations: 96.39 kB / 0.6778 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.583e-06/0.5078, allocations: 4 kB / 0.6778 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005038/0.5083, allocations: 124.5 kB / 0.6779 GB, free: 13.64 MB / 0.5137 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.001699/0.51, allocations: 1.119 MB / 0.679 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.5112, allocations: 473 kB / 0.6794 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5112, allocations: 0 / 0.6794 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.5117, allocations: 259.4 kB / 0.6797 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.5122, allocations: 74.78 kB / 0.6797 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.5165, allocations: 2.678 MB / 0.6824 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.5168, allocations: 0.7392 MB / 0.6831 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000453/0.5173, allocations: 184.3 kB / 0.6833 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.5174, allocations: 63.72 kB / 0.6833 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of SimCode: time 2.715e-06/0.5174, allocations: 0 / 0.6833 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.5438, allocations: 7.424 MB / 0.6906 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/8.283, allocations: 11.84 kB / 0.6906 GB, free: 6.109 MB / 0.5137 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)