Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_8_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_8_Buildings_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.00169/0.00169, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 188 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 66.16 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2331, allocations: 114.5 MB / 0.7836 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002845/0.236, allocations: 1.423 MB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003515/0.2395, allocations: 2.869 MB / 0.7878 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.2396, allocations: 0 / 0.7878 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.288e-05/0.2397, allocations: 7.938 kB / 0.7878 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.2398, allocations: 43.8 kB / 0.7879 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.2405, allocations: 191.1 kB / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.2407, allocations: 235.5 kB / 0.7883 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.2408, allocations: 11.97 kB / 0.7883 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.826e-05/0.2409, allocations: 87.86 kB / 0.7884 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.241, allocations: 123.7 kB / 0.7885 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.2411, allocations: 12 kB / 0.7885 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.2414, allocations: 131.9 kB / 0.7886 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2416, allocations: 83.81 kB / 0.7887 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2417, allocations: 99.56 kB / 0.7888 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.242, allocations: 279.5 kB / 0.7891 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.242, allocations: 0 / 0.7891 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.242, allocations: 0 / 0.7891 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.242, allocations: 0 / 0.7891 GB, free: 7.703 MB / 0.6075 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.0008779/0.2429, allocations: 0.5377 MB / 0.7896 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.243, allocations: 12.03 kB / 0.7896 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.726e-05/0.243, allocations: 50.73 kB / 0.7896 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.2432, allocations: 20.75 kB / 0.7897 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.2434, allocations: 236.1 kB / 0.7899 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.2435, allocations: 24.36 kB / 0.7899 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.2435, allocations: 16.38 kB / 0.7899 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006494/0.2442, allocations: 293 kB / 0.7902 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2442, allocations: 0 / 0.7902 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.2442, allocations: 4 kB / 0.7902 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.2442, allocations: 4 kB / 0.7902 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.2457, allocations: 0.7529 MB / 0.7909 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.2461, allocations: 320.9 kB / 0.7913 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.2478, allocations: 0.6753 MB / 0.7919 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/0.2483, allocations: 232.6 kB / 0.7921 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/0.2487, allocations: 392.3 kB / 0.7925 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.2487, allocations: 38.56 kB / 0.7925 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.2487, allocations: 0 / 0.7925 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001632/0.2504, allocations: 0.6495 MB / 0.7932 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.2504, allocations: 55.41 kB / 0.7932 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.2505, allocations: 133.3 kB / 0.7934 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.2506, allocations: 29.7 kB / 0.7934 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.2506, allocations: 88.8 kB / 0.7935 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.2507, allocations: 126.2 kB / 0.7936 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.493e-05/0.2508, allocations: 65.69 kB / 0.7937 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.251, allocations: 330.8 kB / 0.794 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.2514, allocations: 195.8 kB / 0.7942 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.2519, allocations: 200.8 kB / 0.7944 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/0.2528, allocations: 360.9 kB / 0.7947 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2528, allocations: 0 / 0.7947 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001075/0.2539, allocations: 464.6 kB / 0.7951 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.254, allocations: 8 kB / 0.7951 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.254, allocations: 4 kB / 0.7952 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.254, allocations: 0 / 0.7952 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.2544, allocations: 95.86 kB / 0.7952 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2544, allocations: 4 kB / 0.7952 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.2546, allocations: 43.8 kB / 0.7953 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.2546, allocations: 15.98 kB / 0.7953 GB, free: 0.9883 MB / 0.6075 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.0001232/0.2547, allocations: 145.8 kB / 0.7954 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.2548, allocations: 19.75 kB / 0.7955 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.256, allocations: 0.5219 MB / 0.796 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.256, allocations: 4 kB / 0.796 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.256, allocations: 0 / 0.796 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.256, allocations: 0 / 0.796 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.2563, allocations: 313.3 kB / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2563, allocations: 3.938 kB / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.2567, allocations: 103.8 kB / 0.7964 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.2567, allocations: 7.938 kB / 0.7964 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.2567, allocations: 11.98 kB / 0.7964 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2567, allocations: 0 / 0.7964 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2568, allocations: 4 kB / 0.7964 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.2579, allocations: 496 kB / 0.7969 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.2579, allocations: 100.8 kB / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.258, allocations: 4 kB / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.2582, allocations: 39.95 kB / 0.797 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.2584, allocations: 123.7 kB / 0.7971 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.2585, allocations: 11.98 kB / 0.7971 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.444e-05/0.2585, allocations: 99.27 kB / 0.7972 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2585, allocations: 4 kB / 0.7972 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003882/0.2589, allocations: 115.9 kB / 0.7973 GB, free: 14.79 MB / 0.6231 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.2605, allocations: 1.115 MB / 0.7984 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.2617, allocations: 471.3 kB / 0.7989 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2617, allocations: 0 / 0.7989 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005477/0.2623, allocations: 260.6 kB / 0.7991 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.2627, allocations: 79.91 kB / 0.7992 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/0.2668, allocations: 2.687 MB / 0.8018 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.2672, allocations: 0.7328 MB / 0.8026 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004143/0.2676, allocations: 190.8 kB / 0.8027 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.2677, allocations: 63.41 kB / 0.8028 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of SimCode: time 4.3e-07/0.2677, allocations: 7.938 kB / 0.8028 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.294, allocations: 7.368 MB / 0.81 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.252, allocations: 15.17 kB / 0.81 GB, free: 1.855 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)