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.007941/0.007941, allocations: 100.5 kB / 15.73 MB, free: 6.453 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.001676/0.001676, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8006/0.8006, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 66.41 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1992, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003397/0.2027, allocations: 1.38 MB / 0.6605 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004288/0.207, allocations: 2.909 MB / 0.6634 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.2071, allocations: 0 / 0.6634 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.2072, allocations: 7.922 kB / 0.6634 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.2074, allocations: 39.81 kB / 0.6634 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008192/0.2083, allocations: 187.1 kB / 0.6636 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000324/0.2086, allocations: 239.5 kB / 0.6638 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.913e-05/0.2087, allocations: 7.938 kB / 0.6638 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.2088, allocations: 95.83 kB / 0.6639 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.209, allocations: 123.7 kB / 0.6641 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.2091, allocations: 12 kB / 0.6641 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005355/0.2096, allocations: 135.9 kB / 0.6642 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.2097, allocations: 87.81 kB / 0.6643 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2099, allocations: 91.53 kB / 0.6644 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.2104, allocations: 275 kB / 0.6646 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2105, allocations: 4 kB / 0.6646 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2105, allocations: 0 / 0.6646 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2105, allocations: 0 / 0.6646 GB, free: 8.406 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.0009975/0.2115, allocations: 0.5338 MB / 0.6651 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.2115, allocations: 12.03 kB / 0.6652 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.673e-05/0.2116, allocations: 54.67 kB / 0.6652 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.2118, allocations: 20.73 kB / 0.6652 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.2121, allocations: 232.1 kB / 0.6655 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.2121, allocations: 24.36 kB / 0.6655 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.2122, allocations: 16.38 kB / 0.6655 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.2128, allocations: 293.1 kB / 0.6658 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2129, allocations: 0 / 0.6658 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.2129, allocations: 8 kB / 0.6658 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.2129, allocations: 4 kB / 0.6658 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.2143, allocations: 0.7491 MB / 0.6665 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.2148, allocations: 309 kB / 0.6668 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.2163, allocations: 0.6793 MB / 0.6675 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/0.2168, allocations: 225.6 kB / 0.6677 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004634/0.2173, allocations: 400.3 kB / 0.6681 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.2173, allocations: 38.56 kB / 0.6681 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.934e-06/0.2173, allocations: 0 / 0.6681 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001562/0.2189, allocations: 0.6501 MB / 0.6687 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.2189, allocations: 55.41 kB / 0.6688 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.2191, allocations: 128.2 kB / 0.6689 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.2191, allocations: 37.64 kB / 0.669 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.2192, allocations: 88.78 kB / 0.669 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.2193, allocations: 126.1 kB / 0.6692 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.2194, allocations: 69.67 kB / 0.6692 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2196, allocations: 330.8 kB / 0.6695 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004415/0.22, allocations: 195.8 kB / 0.6697 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.2205, allocations: 203.5 kB / 0.6699 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008133/0.2213, allocations: 362.2 kB / 0.6703 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2213, allocations: 0 / 0.6703 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001015/0.2223, allocations: 464.6 kB / 0.6707 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.2224, allocations: 6.344 kB / 0.6707 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.2224, allocations: 7.984 kB / 0.6707 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2224, allocations: 0 / 0.6707 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.2228, allocations: 95.86 kB / 0.6708 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2228, allocations: 7.938 kB / 0.6708 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.223, allocations: 43.8 kB / 0.6709 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.223, allocations: 15.98 kB / 0.6709 GB, free: 1.691 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.0001551/0.2232, allocations: 141.8 kB / 0.671 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.2232, allocations: 19.75 kB / 0.671 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.2244, allocations: 0.5193 MB / 0.6715 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.2244, allocations: 4 kB / 0.6715 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2244, allocations: 0 / 0.6715 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2244, allocations: 3.984 kB / 0.6715 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.2248, allocations: 309.2 kB / 0.6718 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.2248, allocations: 3.938 kB / 0.6718 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.2251, allocations: 99.86 kB / 0.6719 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.2252, allocations: 7.984 kB / 0.6719 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.2252, allocations: 8 kB / 0.672 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2252, allocations: 0 / 0.672 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2252, allocations: 0 / 0.672 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.2263, allocations: 0.4922 MB / 0.6724 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.178e-05/0.2263, allocations: 96.8 kB / 0.6725 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.2264, allocations: 11.98 kB / 0.6725 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.2266, allocations: 39.97 kB / 0.6726 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.2268, allocations: 119.8 kB / 0.6727 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.2268, allocations: 8 kB / 0.6727 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.044e-05/0.2269, allocations: 105.1 kB / 0.6728 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2269, allocations: 0 / 0.6728 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004531/0.2274, allocations: 111.9 kB / 0.6729 GB, free: 15.52 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.001603/0.229, allocations: 1.123 MB / 0.674 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.2301, allocations: 471.3 kB / 0.6745 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2301, allocations: 4 kB / 0.6745 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.2306, allocations: 259.7 kB / 0.6747 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.2311, allocations: 83.8 kB / 0.6748 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.2353, allocations: 2.669 MB / 0.6774 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.2357, allocations: 0.7327 MB / 0.6781 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004343/0.2361, allocations: 182.8 kB / 0.6783 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.2363, allocations: 67.39 kB / 0.6783 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of SimCode: time 1.422e-06/0.2363, allocations: 0 / 0.6783 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.2666, allocations: 7.515 MB / 0.6857 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.367, allocations: 6.297 kB / 0.6857 GB, free: 2.5 MB / 0.5137 GB (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)