Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.734/2.734, allocations: 287.3 MB / 302.3 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002445/0.002445, allocations: 190.4 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001135, allocations: 92.28 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004741, allocations: 16.5 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2401, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001597/0.2418, allocations: 1.111 MB / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003783/0.2456, allocations: 2.54 MB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.2457, allocations: 0 / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.2459, allocations: 7.922 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.652e-05/0.2459, allocations: 23.89 kB / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.2466, allocations: 159.5 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.2468, allocations: 155.8 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.2469, allocations: 4 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.245e-05/0.247, allocations: 83.86 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.2471, allocations: 99.81 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.2472, allocations: 12 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.2477, allocations: 163.8 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.21e-05/0.2478, allocations: 79.86 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.2479, allocations: 49.64 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.2483, allocations: 183.9 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2483, allocations: 3.938 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2483, allocations: 0 / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2483, allocations: 0 / 0.9828 GB, free: 23.62 MB / 0.6198 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.001116/0.2494, allocations: 0.5281 MB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2495, allocations: 12.02 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.313e-05/0.2496, allocations: 54.55 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.2497, allocations: 19.77 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.25, allocations: 234.7 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/0.2501, allocations: 23.98 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.2501, allocations: 23.98 kB / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.2513, allocations: 316.8 kB / 0.984 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.2513, allocations: 0 / 0.984 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.2514, allocations: 8 kB / 0.984 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.2514, allocations: 7.953 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.254, allocations: 0.8038 MB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.2546, allocations: 305.1 kB / 0.9851 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/0.2577, allocations: 0.773 MB / 0.9858 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004476/0.2582, allocations: 396.3 kB / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2583, allocations: 38.5 kB / 0.9863 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 2.936e-06/0.2583, allocations: 3.938 kB / 0.9863 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.002901/0.2612, allocations: 0.7366 MB / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.2612, allocations: 55.41 kB / 0.987 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2614, allocations: 130.6 kB / 0.9872 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.2614, allocations: 29.7 kB / 0.9872 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.2615, allocations: 92.8 kB / 0.9873 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.2616, allocations: 126.1 kB / 0.9874 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.2616, allocations: 8 kB / 0.9874 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.99e-05/0.2617, allocations: 326.8 kB / 0.9877 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008946/0.2626, allocations: 219.8 kB / 0.9879 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008883/0.2635, allocations: 231.8 kB / 0.9881 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008423/0.2644, allocations: 207.5 kB / 0.9883 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2644, allocations: 0 / 0.9883 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001979/0.2664, allocations: 0.5093 MB / 0.9888 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.2664, allocations: 4 kB / 0.9888 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2664, allocations: 0 / 0.9888 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.2665, allocations: 0 / 0.9888 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007374/0.2672, allocations: 115.8 kB / 0.989 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2672, allocations: 0 / 0.989 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.2676, allocations: 67.72 kB / 0.989 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.2677, allocations: 15.94 kB / 0.989 GB, free: 16.96 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.2678, allocations: 145.8 kB / 0.9892 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.2679, allocations: 15.81 kB / 0.9892 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.27, allocations: 0.5658 MB / 0.9897 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.27, allocations: 4 kB / 0.9897 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2701, allocations: 0 / 0.9897 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2701, allocations: 3.938 kB / 0.9897 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.2705, allocations: 329.1 kB / 0.9901 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2705, allocations: 0 / 0.9901 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007139/0.2713, allocations: 107.9 kB / 0.9902 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.2713, allocations: 3.938 kB / 0.9902 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.2713, allocations: 19.98 kB / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.2713, allocations: 0 / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2713, allocations: 4 kB / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.2733, allocations: 0.5435 MB / 0.9907 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.2734, allocations: 96.86 kB / 0.9908 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.2735, allocations: 7.938 kB / 0.9908 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.2738, allocations: 55.95 kB / 0.9909 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003913/0.2742, allocations: 115.8 kB / 0.991 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.2743, allocations: 15.98 kB / 0.991 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.792e-05/0.2744, allocations: 97.02 kB / 0.9911 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2744, allocations: 0 / 0.9911 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000507/0.2749, allocations: 111.9 kB / 0.9912 GB, free: 14.64 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002541/0.2774, allocations: 1.185 MB / 0.9924 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00195/0.2794, allocations: 0.5113 MB / 0.9929 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2794, allocations: 4 kB / 0.9929 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009829/0.2804, allocations: 295.8 kB / 0.9931 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000579/0.281, allocations: 71.86 kB / 0.9932 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.2855, allocations: 1.589 MB / 0.9948 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.2857, allocations: 0.7409 MB / 0.9955 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007383/0.2865, allocations: 191 kB / 0.9957 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.2867, allocations: 59.41 kB / 0.9957 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2867, allocations: 0 / 0.9957 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03399/0.3207, allocations: 6.62 MB / 1.002 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.321, allocations: 196.6 kB / 1.002 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.05, allocations: 0 / 1.002 GB, free: 3.246 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)