Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.0008201/0.00082, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008668/0.0008669, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.824/1.824, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005783/0.0005781, allocations: 15.78 kB / 0.6738 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.279, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002556/0.2816, allocations: 1.793 MB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.2835, allocations: 0.9839 MB / 0.7901 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.2837, allocations: 4 kB / 0.7901 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.059e-05/0.2838, allocations: 19.78 kB / 0.7901 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.2842, allocations: 63.42 kB / 0.7902 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.2846, allocations: 135.8 kB / 0.7903 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.285, allocations: 262.8 kB / 0.7906 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.2853, allocations: 52.66 kB / 0.7906 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.2855, allocations: 87.58 kB / 0.7907 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.2857, allocations: 123.5 kB / 0.7908 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.2858, allocations: 8 kB / 0.7908 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004963/0.2863, allocations: 275.6 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.2864, allocations: 35.78 kB / 0.7911 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.2864, allocations: 65.58 kB / 0.7912 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.2868, allocations: 223.7 kB / 0.7914 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2868, allocations: 8 kB / 0.7914 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2868, allocations: 0 / 0.7914 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.2868, allocations: 0 / 0.7914 GB, free: 7.688 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00107/0.2879, allocations: 0.6077 MB / 0.792 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.2879, allocations: 12.03 kB / 0.792 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.973e-05/0.288, allocations: 46.56 kB / 0.7921 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.2883, allocations: 39.61 kB / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.2887, allocations: 266.4 kB / 0.7924 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2887, allocations: 12.22 kB / 0.7924 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.2887, allocations: 19.98 kB / 0.7924 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/0.2893, allocations: 252.2 kB / 0.7926 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2894, allocations: 4 kB / 0.7926 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.2894, allocations: 8 kB / 0.7927 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.2894, allocations: 4 kB / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.2901, allocations: 243.7 kB / 0.7929 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.2915, allocations: 0.958 MB / 0.7938 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.2922, allocations: 253.2 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.2926, allocations: 129.6 kB / 0.7942 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.2926, allocations: 4.25 kB / 0.7942 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.2927, allocations: 38.56 kB / 0.7942 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.2927, allocations: 0 / 0.7942 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001165/0.2938, allocations: 405 kB / 0.7946 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.2939, allocations: 81.11 kB / 0.7947 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.2942, allocations: 259 kB / 0.7949 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2942, allocations: 33.7 kB / 0.795 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.2943, allocations: 164.1 kB / 0.7951 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.2944, allocations: 55.27 kB / 0.7952 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-06/0.2944, allocations: 0 / 0.7952 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2945, allocations: 338.8 kB / 0.7955 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.2949, allocations: 111.9 kB / 0.7956 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.2952, allocations: 162.5 kB / 0.7958 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.2955, allocations: 127.8 kB / 0.7959 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2955, allocations: 0 / 0.7959 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007872/0.2963, allocations: 345 kB / 0.7962 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2964, allocations: 4 kB / 0.7962 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2964, allocations: 0 / 0.7962 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.2964, allocations: 4 kB / 0.7962 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.2967, allocations: 72.06 kB / 0.7963 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2967, allocations: 7.938 kB / 0.7963 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.2969, allocations: 51.75 kB / 0.7964 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.297, allocations: 8 kB / 0.7964 GB, free: 2.336 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001267/0.2971, allocations: 137.8 kB / 0.7965 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.2972, allocations: 23.72 kB / 0.7965 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008308/0.2981, allocations: 331.1 kB / 0.7968 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2981, allocations: 11.92 kB / 0.7968 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.2981, allocations: 0 / 0.7968 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2981, allocations: 0 / 0.7968 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.2985, allocations: 297.4 kB / 0.7971 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2986, allocations: 8 kB / 0.7971 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.2988, allocations: 63.89 kB / 0.7972 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2988, allocations: 0 / 0.7972 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.2989, allocations: 4 kB / 0.7972 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.2989, allocations: 4.281 kB / 0.7972 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.2989, allocations: 7.984 kB / 0.7972 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008374/0.2997, allocations: 486.1 kB / 0.7977 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.2998, allocations: 96.83 kB / 0.7978 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.2999, allocations: 11.94 kB / 0.7978 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.3001, allocations: 39.97 kB / 0.7978 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.3002, allocations: 19.95 kB / 0.7978 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3002, allocations: 12 kB / 0.7978 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001843/0.3004, allocations: 186 kB / 0.798 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3004, allocations: 0 / 0.798 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003644/0.3008, allocations: 59.84 kB / 0.7981 GB, free: 480 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001238/0.302, allocations: 1.028 MB / 0.7991 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007225/0.3028, allocations: 274.6 kB / 0.7993 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3028, allocations: 0 / 0.7993 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.3031, allocations: 143.8 kB / 0.7995 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.3037, allocations: 69.34 kB / 0.7995 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.3067, allocations: 1.573 MB / 0.8011 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.3071, allocations: 0.7557 MB / 0.8018 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.3073, allocations: 34.5 kB / 0.8019 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.3074, allocations: 83.41 kB / 0.8019 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of SimCode: time 8.41e-07/0.3074, allocations: 0 / 0.8019 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.3263, allocations: 5.827 MB / 0.8076 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.3265, allocations: 198.8 kB / 0.8078 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.289, allocations: 1.5 kB / 0.8078 GB, free: 6.551 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) Environment - environmentSimulation: