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.008276/0.008276, allocations: 104.6 kB / 15.73 MB, free: 5.578 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.001775/0.001775, allocations: 189.8 kB / 16.67 MB, free: 5.516 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7967/0.7967, allocations: 132.2 MB / 422.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 66.89 kB / 0.5808 GB, free: 24.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1844, allocations: 80.22 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003075/0.1875, allocations: 1.382 MB / 0.6605 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004445/0.192, allocations: 2.909 MB / 0.6634 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.1921, allocations: 4 kB / 0.6634 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.1922, allocations: 11.92 kB / 0.6634 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.1924, allocations: 31.81 kB / 0.6634 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008611/0.1933, allocations: 187.1 kB / 0.6636 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00035/0.1937, allocations: 235.5 kB / 0.6638 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.269e-05/0.1937, allocations: 12 kB / 0.6638 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1939, allocations: 99.78 kB / 0.6639 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1941, allocations: 115.8 kB / 0.664 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.1941, allocations: 15.94 kB / 0.6641 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.1946, allocations: 135.9 kB / 0.6642 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1948, allocations: 87.75 kB / 0.6643 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.1949, allocations: 99.56 kB / 0.6644 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.1954, allocations: 267 kB / 0.6646 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1954, allocations: 4 kB / 0.6646 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1954, allocations: 0 / 0.6646 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.1955, allocations: 0 / 0.6646 GB, free: 5.156 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.00107/0.1965, allocations: 0.5377 MB / 0.6651 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.1966, allocations: 12.03 kB / 0.6652 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.829e-05/0.1967, allocations: 46.73 kB / 0.6652 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.1968, allocations: 20.75 kB / 0.6652 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.1972, allocations: 240.1 kB / 0.6654 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/0.1972, allocations: 24.36 kB / 0.6655 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.1973, allocations: 12.38 kB / 0.6655 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.198, allocations: 289.1 kB / 0.6658 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.198, allocations: 0 / 0.6658 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.1981, allocations: 8 kB / 0.6658 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1981, allocations: 8 kB / 0.6658 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.1996, allocations: 0.7452 MB / 0.6665 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.2001, allocations: 313 kB / 0.6668 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.2016, allocations: 0.6754 MB / 0.6675 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/0.2021, allocations: 229.6 kB / 0.6677 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004846/0.2026, allocations: 400.3 kB / 0.6681 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.2027, allocations: 34.56 kB / 0.6681 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/0.2027, allocations: 4 kB / 0.6681 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001628/0.2043, allocations: 0.654 MB / 0.6687 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.2044, allocations: 55.41 kB / 0.6688 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.2045, allocations: 126.1 kB / 0.6689 GB, free: 492 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.2045, allocations: 29.7 kB / 0.6689 GB, free: 456 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.2046, allocations: 92.8 kB / 0.669 GB, free: 360 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.2047, allocations: 130.1 kB / 0.6692 GB, free: 228 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2048, allocations: 61.69 kB / 0.6692 GB, free: 160 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.205, allocations: 334.8 kB / 0.6695 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.2054, allocations: 191.8 kB / 0.6697 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.2059, allocations: 203.5 kB / 0.6699 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008941/0.2068, allocations: 362.2 kB / 0.6703 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2068, allocations: 0 / 0.6703 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001169/0.208, allocations: 468.5 kB / 0.6707 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.208, allocations: 7.938 kB / 0.6707 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.208, allocations: 3.938 kB / 0.6707 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.208, allocations: 4 kB / 0.6707 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.2084, allocations: 103.8 kB / 0.6708 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2084, allocations: 0 / 0.6708 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.2086, allocations: 43.81 kB / 0.6709 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.2086, allocations: 11.98 kB / 0.6709 GB, free: 14.44 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.0001245/0.2087, allocations: 141.8 kB / 0.671 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.2088, allocations: 27.75 kB / 0.671 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.2099, allocations: 0.5107 MB / 0.6715 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2099, allocations: 4 kB / 0.6715 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2099, allocations: 0 / 0.6715 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.21, allocations: 4 kB / 0.6715 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.2103, allocations: 317.2 kB / 0.6718 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2103, allocations: 3.938 kB / 0.6718 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.2106, allocations: 95.86 kB / 0.6719 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2106, allocations: 0 / 0.6719 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.2107, allocations: 11.98 kB / 0.6719 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2107, allocations: 4 kB / 0.6719 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2107, allocations: 4 kB / 0.672 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009895/0.2117, allocations: 500 kB / 0.6724 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.2117, allocations: 96.8 kB / 0.6725 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.2118, allocations: 8 kB / 0.6725 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.212, allocations: 35.95 kB / 0.6726 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.2123, allocations: 123.8 kB / 0.6727 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.2123, allocations: 11.98 kB / 0.6727 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.638e-05/0.2124, allocations: 99.27 kB / 0.6728 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2124, allocations: 0 / 0.6728 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003857/0.2128, allocations: 115.9 kB / 0.6729 GB, free: 12.27 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.001541/0.2143, allocations: 1.126 MB / 0.674 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.2153, allocations: 483.2 kB / 0.6745 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.2154, allocations: 0 / 0.6745 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005044/0.2159, allocations: 255.7 kB / 0.6747 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.2163, allocations: 83.8 kB / 0.6748 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.2206, allocations: 2.67 MB / 0.6774 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.2211, allocations: 0.7366 MB / 0.6781 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003843/0.2215, allocations: 181.7 kB / 0.6783 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2216, allocations: 67.41 kB / 0.6783 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of SimCode: time 3.667e-06/0.2216, allocations: 0 / 0.6783 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.2513, allocations: 7.408 MB / 0.6856 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/7.99, allocations: 13.97 kB / 0.6856 GB, free: 15.32 MB / 0.5294 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)