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.008552/0.008552, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.002325/0.002325, allocations: 201.3 kB / 16.68 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.564/1.564, 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 1.088/1.088, allocations: 135.6 MB / 426.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 0.5857 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4256, allocations: 81.02 MB / 0.6649 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002198/0.4278, allocations: 1.382 MB / 0.6662 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002963/0.4308, allocations: 2.907 MB / 0.6691 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.4309, allocations: 1.219 kB / 0.6691 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.244e-05/0.431, allocations: 11.92 kB / 0.6691 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.4311, allocations: 45.03 kB / 0.6691 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.4316, allocations: 176 kB / 0.6693 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.4319, allocations: 255.1 kB / 0.6695 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.432, allocations: 3.375 kB / 0.6695 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.232e-05/0.432, allocations: 94.97 kB / 0.6696 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.4322, allocations: 122.8 kB / 0.6697 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.4322, allocations: 10.66 kB / 0.6697 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.4326, allocations: 142.3 kB / 0.6699 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.688e-05/0.4327, allocations: 80.98 kB / 0.67 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.4328, allocations: 94.86 kB / 0.67 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.4332, allocations: 270.2 kB / 0.6703 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4332, allocations: 0 / 0.6703 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.434e-06/0.4332, allocations: 1.281 kB / 0.6703 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.4332, allocations: 0 / 0.6703 GB, free: 2.703 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.0008085/0.434, allocations: 0.5391 MB / 0.6708 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4341, allocations: 10.28 kB / 0.6708 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.347e-05/0.4341, allocations: 48.14 kB / 0.6709 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.4343, allocations: 18.16 kB / 0.6709 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.4346, allocations: 253.1 kB / 0.6711 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.4346, allocations: 24.77 kB / 0.6712 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.4347, allocations: 13.81 kB / 0.6712 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.4353, allocations: 290.6 kB / 0.6715 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4353, allocations: 0 / 0.6715 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.4353, allocations: 5.312 kB / 0.6715 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.4354, allocations: 8.031 kB / 0.6715 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.4369, allocations: 0.7495 MB / 0.6722 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.4372, allocations: 306.1 kB / 0.6725 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.4389, allocations: 0.6758 MB / 0.6732 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/0.4394, allocations: 231.9 kB / 0.6734 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/0.4397, allocations: 392.9 kB / 0.6738 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.4398, allocations: 37.19 kB / 0.6738 GB, free: 260 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.733e-06/0.4398, allocations: 0 / 0.6738 GB, free: 260 kB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001649/0.4414, allocations: 0.6545 MB / 0.6744 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.4415, allocations: 58.97 kB / 0.6745 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.4416, allocations: 130.2 kB / 0.6746 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.4416, allocations: 30.83 kB / 0.6746 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.4417, allocations: 92.05 kB / 0.6747 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.4418, allocations: 130.3 kB / 0.6749 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.4419, allocations: 67.86 kB / 0.6749 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4421, allocations: 332 kB / 0.6752 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.4426, allocations: 191.1 kB / 0.6754 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.4431, allocations: 202.1 kB / 0.6756 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009345/0.4441, allocations: 367.3 kB / 0.676 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4441, allocations: 0 / 0.676 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001152/0.4452, allocations: 463.8 kB / 0.6764 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4453, allocations: 8.375 kB / 0.6764 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4453, allocations: 0 / 0.6764 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4453, allocations: 2.156 kB / 0.6764 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.4457, allocations: 96.27 kB / 0.6765 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4457, allocations: 0.8438 kB / 0.6765 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.4459, allocations: 50.94 kB / 0.6766 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.446, allocations: 12.02 kB / 0.6766 GB, free: 14.59 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.0001443/0.4461, allocations: 139.9 kB / 0.6767 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.4462, allocations: 24.77 kB / 0.6767 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.4475, allocations: 0.52 MB / 0.6772 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4475, allocations: 4.281 kB / 0.6772 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4475, allocations: 7.922 kB / 0.6772 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4475, allocations: 0.8125 kB / 0.6772 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.4479, allocations: 318.2 kB / 0.6775 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4479, allocations: 3.938 kB / 0.6775 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.4483, allocations: 100.4 kB / 0.6776 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4483, allocations: 1.094 kB / 0.6776 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.4483, allocations: 11.41 kB / 0.6777 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4483, allocations: 1.469 kB / 0.6777 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.4483, allocations: 4.984 kB / 0.6777 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.4496, allocations: 497.8 kB / 0.6781 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.4497, allocations: 106.7 kB / 0.6782 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.4497, allocations: 6.562 kB / 0.6782 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.4499, allocations: 34.83 kB / 0.6783 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.4501, allocations: 123.2 kB / 0.6784 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.4502, allocations: 13.09 kB / 0.6784 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.964e-05/0.4503, allocations: 105.6 kB / 0.6785 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4503, allocations: 5.062 kB / 0.6785 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004247/0.4507, allocations: 112.3 kB / 0.6786 GB, free: 13.26 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.001743/0.4525, allocations: 1.113 MB / 0.6797 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.4537, allocations: 477 kB / 0.6802 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4537, allocations: 4 kB / 0.6802 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005789/0.4543, allocations: 256.9 kB / 0.6804 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.4547, allocations: 76.17 kB / 0.6805 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/0.4592, allocations: 2.684 MB / 0.6831 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.4596, allocations: 0.7422 MB / 0.6838 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000442/0.46, allocations: 179.9 kB / 0.684 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.4602, allocations: 67.52 kB / 0.6841 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of SimCode: time 6.22e-07/0.4602, allocations: 0 / 0.6841 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.4906, allocations: 7.418 MB / 0.6913 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.61, allocations: 10.97 kB / 0.6913 GB, free: 5.484 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)