Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IBPSA_latest_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IBPSA_latest_IBPSA_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.001431/0.001431, allocations: 98.19 kB / 16.27 MB, free: 5.973 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.001237/0.001237, allocations: 189.6 kB / 17.2 MB, free: 5.602 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7279/0.7279, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 0.4912 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2965, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002833/0.2994, allocations: 1.372 MB / 0.5686 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003005/0.3024, allocations: 2.906 MB / 0.5715 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.345e-05/0.3024, allocations: 0.5625 kB / 0.5715 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.213e-05/0.3025, allocations: 9.062 kB / 0.5715 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3026, allocations: 42.75 kB / 0.5715 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.3031, allocations: 188.9 kB / 0.5717 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.3034, allocations: 240.2 kB / 0.5719 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.3034, allocations: 4.406 kB / 0.5719 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.898e-05/0.3035, allocations: 92.38 kB / 0.572 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3037, allocations: 122.8 kB / 0.5721 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.3037, allocations: 11.09 kB / 0.5721 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.304, allocations: 142.5 kB / 0.5723 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.3042, allocations: 94.55 kB / 0.5724 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.947e-05/0.3043, allocations: 92.08 kB / 0.5724 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.3046, allocations: 273 kB / 0.5727 GB, free: 29.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3046, allocations: 0.9375 kB / 0.5727 GB, free: 29.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3046, allocations: 1.406 kB / 0.5727 GB, free: 29.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3046, allocations: 1.125 kB / 0.5727 GB, free: 29.21 MB / 446.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.000713/0.3053, allocations: 0.5214 MB / 0.5732 GB, free: 28.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3054, allocations: 11.62 kB / 0.5732 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.88e-05/0.3054, allocations: 52.56 kB / 0.5733 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.3055, allocations: 17.8 kB / 0.5733 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.3057, allocations: 237.5 kB / 0.5735 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.3058, allocations: 24.81 kB / 0.5735 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.3058, allocations: 14.69 kB / 0.5736 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/0.3064, allocations: 295.3 kB / 0.5738 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.3064, allocations: 0 / 0.5738 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.3065, allocations: 9.406 kB / 0.5738 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3065, allocations: 4.625 kB / 0.5739 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.3079, allocations: 0.7491 MB / 0.5746 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.3083, allocations: 306.9 kB / 0.5749 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.3099, allocations: 0.6819 MB / 0.5755 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.3105, allocations: 232.5 kB / 0.5758 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000341/0.3108, allocations: 393.6 kB / 0.5761 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.3109, allocations: 40.19 kB / 0.5762 GB, free: 27.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.3109, allocations: 1.812 kB / 0.5762 GB, free: 27.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001634/0.3125, allocations: 0.6529 MB / 0.5768 GB, free: 27.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.3125, allocations: 55.53 kB / 0.5769 GB, free: 27.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.3126, allocations: 129.9 kB / 0.577 GB, free: 27.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3126, allocations: 31.08 kB / 0.577 GB, free: 27.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.581e-05/0.3127, allocations: 93.14 kB / 0.5771 GB, free: 27.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.3128, allocations: 124.3 kB / 0.5772 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.738e-05/0.3129, allocations: 67.33 kB / 0.5773 GB, free: 26.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.3129, allocations: 327.3 kB / 0.5776 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.3134, allocations: 194.4 kB / 0.5778 GB, free: 26.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/0.3138, allocations: 202.5 kB / 0.578 GB, free: 26.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009043/0.3148, allocations: 363.3 kB / 0.5783 GB, free: 26.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3148, allocations: 0 / 0.5783 GB, free: 26.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001051/0.3158, allocations: 465 kB / 0.5788 GB, free: 26.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3158, allocations: 5.094 kB / 0.5788 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3159, allocations: 1.406 kB / 0.5788 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3159, allocations: 3.312 kB / 0.5788 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.3162, allocations: 99.72 kB / 0.5789 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3162, allocations: 1.312 kB / 0.5789 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.3164, allocations: 48.88 kB / 0.5789 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.3164, allocations: 16.8 kB / 0.5789 GB, free: 26.26 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.933e-05/0.3165, allocations: 140.2 kB / 0.5791 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.3166, allocations: 20.22 kB / 0.5791 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.3177, allocations: 0.5127 MB / 0.5796 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3177, allocations: 5.719 kB / 0.5796 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3177, allocations: 1.375 kB / 0.5796 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3177, allocations: 3.984 kB / 0.5796 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.318, allocations: 314.1 kB / 0.5799 GB, free: 25.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.318, allocations: 3.938 kB / 0.5799 GB, free: 25.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.3183, allocations: 97.86 kB / 0.58 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3183, allocations: 6.281 kB / 0.58 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3183, allocations: 10.73 kB / 0.58 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3183, allocations: 2.312 kB / 0.58 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3183, allocations: 6.719 kB / 0.58 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009856/0.3193, allocations: 0.4903 MB / 0.5805 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.3194, allocations: 102 kB / 0.5806 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.3194, allocations: 11.03 kB / 0.5806 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.3196, allocations: 37.36 kB / 0.5807 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.3198, allocations: 116.8 kB / 0.5808 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.3198, allocations: 15.39 kB / 0.5808 GB, free: 25.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.652e-05/0.3198, allocations: 101.4 kB / 0.5809 GB, free: 25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3198, allocations: 3.938 kB / 0.5809 GB, free: 25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.3202, allocations: 116.7 kB / 0.581 GB, free: 24.97 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 (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.001338/0.3216, allocations: 1.118 MB / 0.5821 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3227, allocations: 0.5489 MB / 0.5826 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3227, allocations: 3.75 kB / 0.5826 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.3232, allocations: 260.4 kB / 0.5829 GB, free: 23.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3236, allocations: 77.17 kB / 0.5829 GB, free: 23.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.3272, allocations: 2.678 MB / 0.5856 GB, free: 21.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.3274, allocations: 0.73 MB / 0.5863 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.3278, allocations: 179 kB / 0.5864 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3279, allocations: 62.7 kB / 0.5865 GB, free: 21.17 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3279, allocations: 1.219 kB / 0.5865 GB, free: 21.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.3501, allocations: 7.365 MB / 0.5937 GB, free: 15.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.225/7.575, allocations: 14.08 kB / 0.5937 GB, free: 15.47 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)