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.001331/0.001335, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001386/0.001386, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.291/1.291, allocations: 205.1 MB / 222 MB, free: 4.762 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.605/1.605, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001624/0.001625, allocations: 67.36 kB / 0.6709 GB, free: 26.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2003, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003005/0.2033, allocations: 2.213 MB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2048, allocations: 1.061 MB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.2049, allocations: 7.938 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.395e-05/0.205, allocations: 11.86 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.2052, allocations: 75.41 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.2055, allocations: 139.7 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.2058, allocations: 278.8 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2059, allocations: 57 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.206, allocations: 95.58 kB / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.2062, allocations: 139.3 kB / 0.7868 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.2063, allocations: 12 kB / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.2066, allocations: 295.6 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.2067, allocations: 35.78 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.887e-05/0.2068, allocations: 123.2 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.2071, allocations: 314.9 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2071, allocations: 0 / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2071, allocations: 0 / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.2071, allocations: 0 / 0.7875 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009616/0.2081, allocations: 0.631 MB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2081, allocations: 8.031 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.2082, allocations: 50.73 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.2084, allocations: 36.56 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.2087, allocations: 283.5 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2087, allocations: 12.59 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.2088, allocations: 23.92 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.2093, allocations: 228.3 kB / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2093, allocations: 3.938 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2093, allocations: 4 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2093, allocations: 4 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006163/0.2099, allocations: 199.8 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.211, allocations: 0.9383 MB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007128/0.2117, allocations: 241.2 kB / 0.7901 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.212, allocations: 109.6 kB / 0.7902 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.212, allocations: 0 / 0.7902 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.2121, allocations: 38.56 kB / 0.7902 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.2121, allocations: 0 / 0.7902 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001038/0.2131, allocations: 337.3 kB / 0.7906 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.2132, allocations: 85.09 kB / 0.7906 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.2134, allocations: 270.9 kB / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.2134, allocations: 29.7 kB / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2135, allocations: 156.2 kB / 0.7911 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.2136, allocations: 63.17 kB / 0.7911 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.2137, allocations: 37.7 kB / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2138, allocations: 334.8 kB / 0.7915 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.2141, allocations: 91.92 kB / 0.7916 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.2144, allocations: 144.9 kB / 0.7917 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/0.215, allocations: 245.7 kB / 0.7919 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.215, allocations: 0 / 0.7919 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007478/0.2158, allocations: 293.1 kB / 0.7922 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2158, allocations: 4.094 kB / 0.7922 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2158, allocations: 7.938 kB / 0.7922 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2158, allocations: 0 / 0.7922 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.2161, allocations: 59.89 kB / 0.7923 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2161, allocations: 8.109 kB / 0.7923 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.2164, allocations: 43.72 kB / 0.7923 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.2164, allocations: 8 kB / 0.7924 GB, free: 3.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.2165, allocations: 133.7 kB / 0.7925 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.2166, allocations: 23.72 kB / 0.7925 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.2174, allocations: 295.8 kB / 0.7928 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2174, allocations: 4 kB / 0.7928 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2174, allocations: 0 / 0.7928 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2174, allocations: 3.984 kB / 0.7928 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.2177, allocations: 301.3 kB / 0.7931 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2177, allocations: 0 / 0.7931 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.218, allocations: 51.95 kB / 0.7931 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.218, allocations: 0 / 0.7931 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.218, allocations: 8 kB / 0.7931 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.218, allocations: 3.938 kB / 0.7931 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.218, allocations: 0 / 0.7931 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007345/0.2188, allocations: 446.2 kB / 0.7936 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.2188, allocations: 100.8 kB / 0.7937 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.2189, allocations: 8 kB / 0.7937 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.2191, allocations: 31.89 kB / 0.7937 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.2192, allocations: 19.97 kB / 0.7937 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.2192, allocations: 11.98 kB / 0.7937 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001561/0.2194, allocations: 193.9 kB / 0.7939 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2194, allocations: 192 / 0.7939 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003184/0.2197, allocations: 56.23 kB / 0.794 GB, free: 2.008 MB / 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 (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.001051/0.2208, allocations: 0.9989 MB / 0.7949 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000667/0.2214, allocations: 227.9 kB / 0.7952 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2214, allocations: 0 / 0.7952 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.2218, allocations: 111.9 kB / 0.7953 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.2223, allocations: 73.34 kB / 0.7953 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.2259, allocations: 2.784 MB / 0.7981 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.2262, allocations: 0.748 MB / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.2264, allocations: 30.28 kB / 0.7988 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.2265, allocations: 83.41 kB / 0.7989 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2265, allocations: 0 / 0.7989 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.588/1.815, allocations: 5.992 MB / 0.8047 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/1.815, allocations: 217.1 kB / 0.805 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/3.815, allocations: 0 / 0.805 GB, free: 6.723 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/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)