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.007764/0.007764, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001865/0.001865, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9899/0.9899, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 55.91 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.4988, allocations: 80.92 MB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002179/0.501, allocations: 1.396 MB / 0.6655 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00308/0.5041, allocations: 2.9 MB / 0.6683 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.5042, allocations: 3.938 kB / 0.6683 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.592e-05/0.5043, allocations: 8.953 kB / 0.6684 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.5044, allocations: 49.09 kB / 0.6684 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.505, allocations: 179.8 kB / 0.6686 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.5052, allocations: 250.3 kB / 0.6688 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.5053, allocations: 4.031 kB / 0.6688 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.651e-05/0.5054, allocations: 94.81 kB / 0.6689 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.5055, allocations: 122.8 kB / 0.669 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.5056, allocations: 14.44 kB / 0.669 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.5059, allocations: 134.3 kB / 0.6692 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.506, allocations: 84.38 kB / 0.6692 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.5061, allocations: 95.27 kB / 0.6693 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.5065, allocations: 272.3 kB / 0.6696 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.5065, allocations: 0 / 0.6696 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5065, allocations: 0 / 0.6696 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.5065, allocations: 1.406 kB / 0.6696 GB, free: 3.094 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.0007919/0.5073, allocations: 0.5287 MB / 0.6701 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5074, allocations: 8.938 kB / 0.6701 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.5074, allocations: 52.73 kB / 0.6702 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.5076, allocations: 21.48 kB / 0.6702 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.5078, allocations: 238.1 kB / 0.6704 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.5079, allocations: 27.3 kB / 0.6704 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.5079, allocations: 14.03 kB / 0.6705 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.5086, allocations: 293.8 kB / 0.6707 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5086, allocations: 0 / 0.6707 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.5087, allocations: 9.25 kB / 0.6707 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.5087, allocations: 4.125 kB / 0.6707 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.5102, allocations: 0.7464 MB / 0.6715 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.5106, allocations: 297.7 kB / 0.6718 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.5123, allocations: 0.6824 MB / 0.6724 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/0.5128, allocations: 229.2 kB / 0.6726 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003648/0.5132, allocations: 397 kB / 0.673 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.5132, allocations: 33.06 kB / 0.6731 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.362e-06/0.5132, allocations: 0 / 0.6731 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.00165/0.5149, allocations: 0.6549 MB / 0.6737 GB, free: 384 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.5149, allocations: 60.41 kB / 0.6738 GB, free: 316 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.515, allocations: 125.4 kB / 0.6739 GB, free: 200 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.5151, allocations: 34.89 kB / 0.6739 GB, free: 160 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.5151, allocations: 90.94 kB / 0.674 GB, free: 68 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.5152, allocations: 122.8 kB / 0.6741 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.5153, allocations: 71.08 kB / 0.6742 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.5155, allocations: 331.9 kB / 0.6745 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/0.516, allocations: 191.1 kB / 0.6747 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.5165, allocations: 201.5 kB / 0.6749 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009724/0.5175, allocations: 368.4 kB / 0.6752 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5175, allocations: 0 / 0.6752 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001136/0.5186, allocations: 459.8 kB / 0.6757 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5187, allocations: 5.344 kB / 0.6757 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5187, allocations: 0 / 0.6757 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.5187, allocations: 6.047 kB / 0.6757 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.5191, allocations: 92.11 kB / 0.6758 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5191, allocations: 1.188 kB / 0.6758 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.5194, allocations: 61.92 kB / 0.6758 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.5194, allocations: 16.91 kB / 0.6758 GB, free: 14.99 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.0001371/0.5195, allocations: 140.6 kB / 0.676 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.5196, allocations: 19.38 kB / 0.676 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.5209, allocations: 0.5089 MB / 0.6765 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.5209, allocations: 8.531 kB / 0.6765 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.5209, allocations: 0 / 0.6765 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.521, allocations: 7.984 kB / 0.6765 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/0.5213, allocations: 318.7 kB / 0.6768 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5213, allocations: 3.938 kB / 0.6768 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.5217, allocations: 92.27 kB / 0.6769 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5217, allocations: 0.7812 kB / 0.6769 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.5217, allocations: 20.92 kB / 0.6769 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5217, allocations: 1.562 kB / 0.6769 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5218, allocations: 0 / 0.6769 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.5229, allocations: 0.4897 MB / 0.6774 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.523, allocations: 102.5 kB / 0.6775 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.5231, allocations: 6.25 kB / 0.6775 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.5233, allocations: 35.7 kB / 0.6775 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.5235, allocations: 119.4 kB / 0.6776 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.5235, allocations: 16.05 kB / 0.6777 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.917e-05/0.5236, allocations: 103.9 kB / 0.6778 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5236, allocations: 4 kB / 0.6778 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004476/0.5241, allocations: 120.9 kB / 0.6779 GB, free: 13.67 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.001748/0.5258, allocations: 1.12 MB / 0.679 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.527, allocations: 476.6 kB / 0.6794 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5271, allocations: 1.25 kB / 0.6794 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006028/0.5277, allocations: 256.6 kB / 0.6797 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.5281, allocations: 79.3 kB / 0.6798 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.5325, allocations: 2.682 MB / 0.6824 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.5329, allocations: 0.7335 MB / 0.6831 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004308/0.5333, allocations: 177 kB / 0.6833 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.5335, allocations: 68.23 kB / 0.6833 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of SimCode: time 6.62e-07/0.5335, allocations: 0 / 0.6833 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03247/0.566, allocations: 7.517 MB / 0.6907 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/8.229, allocations: 4.422 kB / 0.6907 GB, free: 6.051 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)