Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.0009679/0.0009679, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001029/0.001029, allocations: 177.3 kB / 15.95 MB, free: 216 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.616/1.616, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.857/1.857, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.000555/0.0005552, allocations: 15.94 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2789, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002126/0.2811, allocations: 1.298 MB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.2827, allocations: 0.8478 MB / 0.7893 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.788e-05/0.2828, allocations: 0 / 0.7893 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.2828, allocations: 0 / 0.7893 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.283, allocations: 27.89 kB / 0.7894 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.2834, allocations: 91.75 kB / 0.7895 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.2835, allocations: 47.86 kB / 0.7895 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.2836, allocations: 12 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.2837, allocations: 23.92 kB / 0.7895 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.2839, allocations: 35.83 kB / 0.7896 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.2839, allocations: 4 kB / 0.7896 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.2843, allocations: 263.6 kB / 0.7898 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.2844, allocations: 15.92 kB / 0.7898 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.2844, allocations: 37.64 kB / 0.7899 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.2846, allocations: 100 kB / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2846, allocations: 4 kB / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2846, allocations: 0 / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.2846, allocations: 0 / 0.79 GB, free: 9.051 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006553/0.2853, allocations: 399.1 kB / 0.7904 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.2854, allocations: 8.031 kB / 0.7904 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.2854, allocations: 30.56 kB / 0.7904 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.2856, allocations: 11.91 kB / 0.7904 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.2858, allocations: 194.8 kB / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2858, allocations: 0 / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.2858, allocations: 4 kB / 0.7906 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.286, allocations: 61.67 kB / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.286, allocations: 7.938 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.2861, allocations: 4 kB / 0.7907 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.2861, allocations: 0 / 0.7907 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.2862, allocations: 55.94 kB / 0.7907 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.2868, allocations: 300.7 kB / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2869, allocations: 54.55 kB / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.287, allocations: 4.125 kB / 0.7911 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.287, allocations: 38.56 kB / 0.7911 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.287, allocations: 0 / 0.7911 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0004232/0.2875, allocations: 117.5 kB / 0.7912 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.2875, allocations: 55.39 kB / 0.7913 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.2876, allocations: 137 kB / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2877, allocations: 25.7 kB / 0.7914 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.2877, allocations: 96.12 kB / 0.7915 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.2878, allocations: 15.75 kB / 0.7915 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.2878, allocations: 0 / 0.7915 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.2879, allocations: 322.8 kB / 0.7918 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.288, allocations: 23.98 kB / 0.7919 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/0.2881, allocations: 27.98 kB / 0.7919 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.114e-05/0.2882, allocations: 27.98 kB / 0.7919 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2882, allocations: 0 / 0.7919 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002159/0.2884, allocations: 105.5 kB / 0.792 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2885, allocations: 4 kB / 0.792 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2885, allocations: 4 kB / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2885, allocations: 448 / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.2886, allocations: 15.98 kB / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.2886, allocations: 0 / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.2887, allocations: 11.95 kB / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2887, allocations: 4 kB / 0.792 GB, free: 6.707 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 (6): * Single equations (assignments): 6 * 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 9.026e-05/0.2888, allocations: 121.8 kB / 0.7922 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.2889, allocations: 7.906 kB / 0.7922 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.2891, allocations: 109.9 kB / 0.7923 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.2891, allocations: 0 / 0.7923 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.2892, allocations: 7.984 kB / 0.7923 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2892, allocations: 3.984 kB / 0.7923 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.2894, allocations: 189.6 kB / 0.7925 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2894, allocations: 7.938 kB / 0.7925 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.394e-05/0.2895, allocations: 15.98 kB / 0.7925 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2895, allocations: 0 / 0.7925 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2895, allocations: 0 / 0.7925 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2895, allocations: 0 / 0.7925 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2895, allocations: 0 / 0.7925 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.2898, allocations: 195.5 kB / 0.7927 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.2898, allocations: 85.02 kB / 0.7928 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2899, allocations: 3.938 kB / 0.7928 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.29, allocations: 11.98 kB / 0.7928 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.29, allocations: 8 kB / 0.7928 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.29, allocations: 0 / 0.7928 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.112e-05/0.2901, allocations: 99.27 kB / 0.7929 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2901, allocations: 0 / 0.7929 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002463/0.2904, allocations: 31.89 kB / 0.7929 GB, free: 5.723 MB / 0.6075 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 (6): * Single equations (assignments): 6 * 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.000608/0.291, allocations: 0.732 MB / 0.7936 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.2912, allocations: 68.09 kB / 0.7937 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2912, allocations: 4 kB / 0.7937 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.857e-05/0.2913, allocations: 39.97 kB / 0.7937 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.2915, allocations: 14.81 kB / 0.7937 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006157/0.2922, allocations: 431.3 kB / 0.7942 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.2924, allocations: 0.6926 MB / 0.7948 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.854e-05/0.2925, allocations: 8.172 kB / 0.7948 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.2925, allocations: 23.44 kB / 0.7949 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2925, allocations: 3.938 kB / 0.7949 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.3048, allocations: 1.993 MB / 0.7968 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.305, allocations: 192.8 kB / 0.797 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.273, allocations: 0 / 0.797 GB, free: 1.551 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) Environment - environmentSimulation: