Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.562/2.562, allocations: 287.3 MB / 302.3 MB, free: 8.246 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.001527/0.001527, allocations: 194.3 kB / 370.8 MB, free: 10.84 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.266/2.266, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001256/0.001256, allocations: 94.28 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006637/0.000664, allocations: 13.39 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2178, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00241/0.2202, allocations: 1.758 MB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.2221, allocations: 0.984 MB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.2223, allocations: 4 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.2224, allocations: 15.8 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.2227, allocations: 87.7 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.2233, allocations: 128.7 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.2236, allocations: 183.5 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.2237, allocations: 56.7 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.2239, allocations: 87.62 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.2242, allocations: 123.4 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.2242, allocations: 8 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.2247, allocations: 267.7 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.2248, allocations: 35.78 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.2248, allocations: 65.58 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.2252, allocations: 227.7 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2252, allocations: 0 / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.085e-06/0.2252, allocations: 0 / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2252, allocations: 3.938 kB / 0.9822 GB, free: 24.23 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001349/0.2266, allocations: 0.6116 MB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.2266, allocations: 12.02 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.603e-05/0.2267, allocations: 46.56 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.227, allocations: 43.56 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.2273, allocations: 266.5 kB / 0.9831 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.2274, allocations: 8.281 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.2274, allocations: 16 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/0.2282, allocations: 260.2 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2283, allocations: 0 / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.2283, allocations: 8 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.2283, allocations: 4 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.2295, allocations: 239.8 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2309, allocations: 0.9541 MB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.2321, allocations: 265.2 kB / 0.9848 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.2322, allocations: 0 / 0.9848 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.2322, allocations: 34.88 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.2322, allocations: 0 / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001971/0.2342, allocations: 401 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2343, allocations: 85.09 kB / 0.9853 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.2346, allocations: 259 kB / 0.9856 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.2346, allocations: 29.7 kB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.2347, allocations: 176 kB / 0.9858 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.2348, allocations: 47.27 kB / 0.9858 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.2348, allocations: 8 kB / 0.9858 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.2349, allocations: 334.8 kB / 0.9861 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/0.2355, allocations: 115.9 kB / 0.9863 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.2361, allocations: 160.6 kB / 0.9864 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.2367, allocations: 124.5 kB / 0.9865 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2368, allocations: 0 / 0.9865 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001415/0.2382, allocations: 337 kB / 0.9869 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.2382, allocations: 8 kB / 0.9869 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2382, allocations: 4.016 kB / 0.9869 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.2383, allocations: 4 kB / 0.9869 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/0.2388, allocations: 72.02 kB / 0.9869 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.2388, allocations: 7.984 kB / 0.9869 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.2393, allocations: 59.73 kB / 0.987 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.2393, allocations: 8 kB / 0.987 GB, free: 19 MB / 0.6198 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.0001442/0.2395, allocations: 133.7 kB / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.2396, allocations: 27.72 kB / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.241, allocations: 331 kB / 0.9875 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.241, allocations: 4 kB / 0.9875 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.241, allocations: 0 / 0.9875 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.241, allocations: 0 / 0.9875 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.2415, allocations: 305.4 kB / 0.9878 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2415, allocations: 0 / 0.9878 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.242, allocations: 63.89 kB / 0.9878 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.242, allocations: 4.281 kB / 0.9878 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.2421, allocations: 4 kB / 0.9878 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2421, allocations: 8 kB / 0.9878 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2421, allocations: 3.938 kB / 0.9879 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.2434, allocations: 498.1 kB / 0.9883 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.2435, allocations: 96.83 kB / 0.9884 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.2436, allocations: 8 kB / 0.9884 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.244, allocations: 43.95 kB / 0.9885 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/0.2441, allocations: 19.92 kB / 0.9885 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.2442, allocations: 4 kB / 0.9885 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000214/0.2444, allocations: 186 kB / 0.9887 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2444, allocations: 0 / 0.9887 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004977/0.2449, allocations: 63.83 kB / 0.9887 GB, free: 17.14 MB / 0.6198 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.001675/0.2466, allocations: 1.106 MB / 0.9898 GB, free: 16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.248, allocations: 264 kB / 0.9901 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.248, allocations: 0 / 0.9901 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006319/0.2486, allocations: 139.9 kB / 0.9902 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.2494, allocations: 70.55 kB / 0.9903 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.2511, allocations: 1.681 MB / 0.9919 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.2514, allocations: 0.756 MB / 0.9926 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002729/0.2517, allocations: 34.44 kB / 0.9927 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.2519, allocations: 87.39 kB / 0.9928 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of SimCode: time 1.332e-06/0.2519, allocations: 0 / 0.9928 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.2829, allocations: 5.753 MB / 0.9984 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.2833, allocations: 196.7 kB / 0.9986 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/2.933, allocations: 0 / 0.9986 GB, free: 7.094 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)