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.0008028/0.0008027, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008606/0.0008606, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8225/0.8225, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 8.219 kB / 0.5035 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.503, allocations: 81.57 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001465/0.5045, allocations: 1.097 MB / 0.5842 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.508, allocations: 2.731 MB / 0.5869 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.456e-05/0.508, allocations: 0.8125 kB / 0.5869 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.462e-05/0.5081, allocations: 7.594 kB / 0.5869 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.5083, allocations: 47.42 kB / 0.5869 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.5088, allocations: 152.7 kB / 0.5871 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.5092, allocations: 275 kB / 0.5873 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.456e-05/0.5093, allocations: 2.953 kB / 0.5873 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.5094, allocations: 92.64 kB / 0.5874 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.5096, allocations: 137.9 kB / 0.5876 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.5097, allocations: 14.94 kB / 0.5876 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.5101, allocations: 155 kB / 0.5877 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.5103, allocations: 87.7 kB / 0.5878 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.621e-05/0.5104, allocations: 56.39 kB / 0.5879 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.5107, allocations: 191.7 kB / 0.588 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5107, allocations: 1.438 kB / 0.5881 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5107, allocations: 0 / 0.5881 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.5107, allocations: 4 kB / 0.5881 GB, free: 0.7852 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.0008125/0.5115, allocations: 0.5242 MB / 0.5886 GB, free: 368 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.5116, allocations: 8.781 kB / 0.5886 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.5117, allocations: 48.44 kB / 0.5886 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.5118, allocations: 25.73 kB / 0.5886 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.512, allocations: 239.5 kB / 0.5889 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.5121, allocations: 23.45 kB / 0.5889 GB, free: 68 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.5122, allocations: 13.47 kB / 0.5889 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/0.513, allocations: 313.8 kB / 0.5892 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.513, allocations: 0 / 0.5892 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.513, allocations: 5.406 kB / 0.5892 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.5131, allocations: 8.203 kB / 0.5892 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.5149, allocations: 0.8087 MB / 0.59 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.5154, allocations: 309.4 kB / 0.5903 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.5174, allocations: 0.7737 MB / 0.5911 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005873/0.518, allocations: 263.6 kB / 0.5913 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004823/0.5185, allocations: 388.6 kB / 0.5917 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.5185, allocations: 36 kB / 0.5917 GB, free: 14.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.5186, allocations: 0.5 kB / 0.5917 GB, free: 14.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001882/0.5204, allocations: 0.7376 MB / 0.5924 GB, free: 14.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5205, allocations: 55.5 kB / 0.5925 GB, free: 14.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.5206, allocations: 128.2 kB / 0.5926 GB, free: 14.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.5207, allocations: 35.3 kB / 0.5926 GB, free: 14.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.5207, allocations: 88.72 kB / 0.5927 GB, free: 14.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.5209, allocations: 132.1 kB / 0.5929 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.5209, allocations: 4.5 kB / 0.5929 GB, free: 14.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5211, allocations: 329.4 kB / 0.5932 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/0.5217, allocations: 223.4 kB / 0.5934 GB, free: 14.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.5223, allocations: 230.2 kB / 0.5936 GB, free: 14.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/0.5229, allocations: 206.2 kB / 0.5938 GB, free: 14.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5229, allocations: 0 / 0.5938 GB, free: 14.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001363/0.5243, allocations: 0.5095 MB / 0.5943 GB, free: 13.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.5243, allocations: 5.312 kB / 0.5943 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.5243, allocations: 0.6562 kB / 0.5943 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.5243, allocations: 1.094 kB / 0.5943 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.5248, allocations: 111.9 kB / 0.5944 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.5248, allocations: 2.094 kB / 0.5944 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.5251, allocations: 65.38 kB / 0.5945 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.5252, allocations: 15.66 kB / 0.5945 GB, free: 13.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.5254, allocations: 137.2 kB / 0.5946 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.5254, allocations: 17.34 kB / 0.5946 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.5271, allocations: 0.5848 MB / 0.5952 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.5271, allocations: 3.469 kB / 0.5952 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.5271, allocations: 1.094 kB / 0.5952 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.5271, allocations: 1.922 kB / 0.5952 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.5276, allocations: 322.7 kB / 0.5955 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5276, allocations: 0 / 0.5955 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/0.528, allocations: 113.5 kB / 0.5956 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.528, allocations: 5.562 kB / 0.5956 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.5281, allocations: 10.83 kB / 0.5957 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.5281, allocations: 2.75 kB / 0.5957 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5281, allocations: 3.938 kB / 0.5957 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.5294, allocations: 0.5503 MB / 0.5962 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/0.5295, allocations: 94.7 kB / 0.5963 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.5295, allocations: 6.781 kB / 0.5963 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.5297, allocations: 52.42 kB / 0.5963 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/0.53, allocations: 119.1 kB / 0.5965 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.53, allocations: 16.3 kB / 0.5965 GB, free: 12.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.5302, allocations: 98.52 kB / 0.5966 GB, free: 12.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5302, allocations: 0 / 0.5966 GB, free: 12.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008061/0.531, allocations: 112.8 kB / 0.5967 GB, free: 12.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001976/0.533, allocations: 1.176 MB / 0.5978 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.5342, allocations: 0.5201 MB / 0.5983 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5342, allocations: 0 / 0.5983 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005968/0.5348, allocations: 290.5 kB / 0.5986 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.5353, allocations: 80.45 kB / 0.5987 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.5384, allocations: 1.596 MB / 0.6002 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.5388, allocations: 0.7378 MB / 0.601 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005196/0.5393, allocations: 180.7 kB / 0.6011 GB, free: 9.832 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.5394, allocations: 57.84 kB / 0.6012 GB, free: 9.793 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5395, allocations: 1.312 kB / 0.6012 GB, free: 9.793 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.5593, allocations: 6.628 MB / 0.6077 GB, free: 6.664 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.5595, allocations: 180.4 kB / 0.6078 GB, free: 6.426 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.551, allocations: 1.094 kB / 0.6078 GB, free: 6.426 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/linux/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) Environment - environmentSimulation: