Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_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.001088/0.001088, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008967/0.008967, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.339/1.339, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.743/0.743, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003912, allocations: 8 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4362, allocations: 81.58 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001562/0.4378, allocations: 1.11 MB / 0.5848 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.4411, allocations: 2.867 MB / 0.5876 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.4411, allocations: 0 / 0.5876 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.202e-05/0.4412, allocations: 8.719 kB / 0.5876 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.4414, allocations: 42.5 kB / 0.5877 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.4419, allocations: 166.1 kB / 0.5878 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003886/0.4423, allocations: 328.7 kB / 0.5881 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.4423, allocations: 4.578 kB / 0.5882 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.4424, allocations: 96.33 kB / 0.5882 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.4426, allocations: 134 kB / 0.5884 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.4427, allocations: 11.06 kB / 0.5884 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.4431, allocations: 153.5 kB / 0.5885 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.4432, allocations: 85.16 kB / 0.5886 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.4433, allocations: 118.4 kB / 0.5887 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.4437, allocations: 274.8 kB / 0.589 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4437, allocations: 1.344 kB / 0.589 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4438, allocations: 0 / 0.589 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.4438, allocations: 0 / 0.589 GB, free: 0.6172 MB / 430.1 MB 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.0007721/0.4445, allocations: 0.5222 MB / 0.5895 GB, free: 196 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.4446, allocations: 10.75 kB / 0.5895 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.684e-05/0.4447, allocations: 51.92 kB / 0.5896 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.4448, allocations: 18.22 kB / 0.5896 GB, free: 136 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.445, allocations: 240.3 kB / 0.5898 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.4451, allocations: 24.27 kB / 0.5898 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.4451, allocations: 18.06 kB / 0.5898 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007843/0.4459, allocations: 322.7 kB / 0.5902 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.446, allocations: 0 / 0.5902 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.446, allocations: 9.969 kB / 0.5902 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.446, allocations: 7.281 kB / 0.5902 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.4478, allocations: 0.8055 MB / 0.591 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.4482, allocations: 301.5 kB / 0.5912 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.4503, allocations: 0.7814 MB / 0.592 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.4509, allocations: 257.4 kB / 0.5923 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004259/0.4513, allocations: 394.3 kB / 0.5926 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.4514, allocations: 37.02 kB / 0.5927 GB, free: 14.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.4514, allocations: 0 / 0.5927 GB, free: 14.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001975/0.4534, allocations: 0.7368 MB / 0.5934 GB, free: 14.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.4534, allocations: 60.27 kB / 0.5934 GB, free: 14.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.4536, allocations: 127 kB / 0.5936 GB, free: 14.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.4536, allocations: 35.2 kB / 0.5936 GB, free: 14.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.4536, allocations: 88.75 kB / 0.5937 GB, free: 14.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.4538, allocations: 120.1 kB / 0.5938 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.4538, allocations: 30.86 kB / 0.5938 GB, free: 14.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.454, allocations: 333.8 kB / 0.5941 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006359/0.4546, allocations: 223.5 kB / 0.5944 GB, free: 13.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006897/0.4553, allocations: 227.8 kB / 0.5946 GB, free: 13.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.4565, allocations: 422.4 kB / 0.595 GB, free: 13.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.4565, allocations: 1.469 kB / 0.595 GB, free: 13.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001241/0.4577, allocations: 0.5214 MB / 0.5955 GB, free: 13.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4577, allocations: 5.656 kB / 0.5955 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4578, allocations: 0.8438 kB / 0.5955 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4578, allocations: 1.406 kB / 0.5955 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.4582, allocations: 115.1 kB / 0.5956 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.4582, allocations: 6.141 kB / 0.5956 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.4585, allocations: 69.12 kB / 0.5957 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.4585, allocations: 19.42 kB / 0.5957 GB, free: 13.62 MB / 446.1 MB 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.0001357/0.4586, allocations: 138.8 kB / 0.5958 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.4587, allocations: 20.97 kB / 0.5958 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.46, allocations: 0.5662 MB / 0.5964 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.4601, allocations: 4.5 kB / 0.5964 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4601, allocations: 0 / 0.5964 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.4601, allocations: 0 / 0.5964 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.4604, allocations: 318.3 kB / 0.5967 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.4604, allocations: 7.875 kB / 0.5967 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.4608, allocations: 113.4 kB / 0.5968 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4608, allocations: 2.094 kB / 0.5968 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.4609, allocations: 15.89 kB / 0.5968 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4609, allocations: 1.344 kB / 0.5968 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4609, allocations: 0 / 0.5968 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.4621, allocations: 0.5571 MB / 0.5974 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.4621, allocations: 99.23 kB / 0.5975 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.4622, allocations: 5.25 kB / 0.5975 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.4624, allocations: 56.83 kB / 0.5975 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/0.4626, allocations: 115.6 kB / 0.5976 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.4627, allocations: 12.78 kB / 0.5977 GB, free: 12.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.275e-05/0.4627, allocations: 103.2 kB / 0.5978 GB, free: 12.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4627, allocations: 0 / 0.5978 GB, free: 12.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000464/0.4632, allocations: 117.4 kB / 0.5979 GB, free: 12.35 MB / 446.1 MB 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.001724/0.4649, allocations: 1.175 MB / 0.599 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.4662, allocations: 0.5099 MB / 0.5995 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4662, allocations: 4 kB / 0.5995 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006/0.4668, allocations: 294.3 kB / 0.5998 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.4672, allocations: 72.78 kB / 0.5999 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.4717, allocations: 2.874 MB / 0.6027 GB, free: 9.273 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.472, allocations: 0.7305 MB / 0.6034 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004546/0.4724, allocations: 180 kB / 0.6036 GB, free: 8.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.4726, allocations: 66.33 kB / 0.6036 GB, free: 8.453 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4726, allocations: 0 / 0.6036 GB, free: 8.453 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1146/0.5872, allocations: 6.76 MB / 0.6102 GB, free: 4.965 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.5875, allocations: 193 kB / 0.6104 GB, free: 4.711 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.645, allocations: 0 / 0.6104 GB, free: 4.711 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)